PDA

Click to See Complete Forum and Search --> : Can't get Coffee2 example to work


jhermer
Jul 19th, 2001, 06:29 AM
Hi all,

I tried to run the call-back part of the Coffee2 example from Microsoft but I got the following
error

Run-time error '98':
A property or method call cannot include a reference to a private
object, either as an argument or as a return value

In the file cwform1.frm when the following line tries to execute:
Call mcm2CallBacks.TellMeReady(mNotifyMe)

Any idea on how to solve this problem. Any help would be appreciated.

P.S I could not download the sample from microsofts site and so had to
create the project myself, therefore it is possible that some of my project
settings are inccorect, although I tried a few variations.

Many thanks,
Jarrod

jhermer
Jul 23rd, 2001, 02:59 AM
I solved my problem by making my client application a ActiveX EXE instead of a Standard EXE. I however don't really understand what is going on. All I can gather is that a Standard exe project type can't call internall classes. Does that make sense?