CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: CoInitializeEx

  1. #1
    Join Date
    Oct 1999
    Posts
    3

    CoInitializeEx

    When I used CoInitializeEx in the application, I got "undeclared identifier" error. I did not get any error if I changed it to CoInitialize. Could any body tell me why?

    Thanks in advance.


  2. #2
    Join Date
    Oct 1999
    Location
    switzerland
    Posts
    23

    Re: CoInitializeEx

    Just a thought: no DCOM installed on Win95?

    chrislaw

  3. #3
    Join Date
    Aug 1999
    Location
    Somerset, England
    Posts
    20

    Re: CoInitializeEx

    Try using the /D _WIN32_DCOM in your projects settings. CoInitalizeEx is only available with NT 4 by defining the above. Try Goto definition of CoInitalize then searching for OcInitalizeEx within the file, above the definition you will see #if (_WIN32 >= 0x0040) | _WIN32_DCOM (or something to that effect.

    Regards,

    James.


  4. #4
    Join Date
    Oct 1999
    Posts
    3

    Re: CoInitializeEx

    Thank you all for the help!

    God blesses you all!


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

Featured