Results 1 to 2 of 2

Thread: Can't get Coffee2 example to work

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2001
    Posts
    7

    Exclamation Can't get Coffee2 example to work

    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

  2. #2

    Thread Starter
    New Member
    Join Date
    Jul 2001
    Posts
    7
    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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width