Click to See Complete Forum and Search --> : CoInitializeEx


austin
October 28th, 1999, 04:37 PM
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.

claw
October 29th, 1999, 12:57 AM
Just a thought: no DCOM installed on Win95?

chrislaw

Londo Molari
October 29th, 1999, 02:42 AM
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.

austin
October 29th, 1999, 08:37 AM
Thank you all for the help!

God blesses you all!