So, I wrote a COM based app with managed extensions in Visual Studio .NET 2003.
It worked, all was good in the world.
I decided I don't want to install the .NET framework with my program.
I made a new project (Win32 Console), turned of the managed extensions, added some header files, commented out a few, got rid of this, added that... all sorts of little tweaking to get it to compile.
Leaves me with two errors left...
CoInitializeSecurity : identifier not found, even with argument-dependent lookup.
CoInitializeEx : identifier not found, even with...
Now, I was able to replace CoInitializeEx with CoInitialize, and then just comment out the CoInitializeSecurity section... and it compiled, and it runs. But my call to WaitForSingleObject(waitEvent, INFINITE); clause now waits forever. My guess is that since I'm not running CoInitializeSecurity my event handler doesn't have permission to signal the event.
Now I'm confused as to what may be happening, CoInitializeSecurity should be found, and even the IDE pops up all its helpful hints for me when I enter it.
Any ideas?
-Rob
It worked, all was good in the world.
I decided I don't want to install the .NET framework with my program.
I made a new project (Win32 Console), turned of the managed extensions, added some header files, commented out a few, got rid of this, added that... all sorts of little tweaking to get it to compile.
Leaves me with two errors left...
CoInitializeSecurity : identifier not found, even with argument-dependent lookup.
CoInitializeEx : identifier not found, even with...
Now, I was able to replace CoInitializeEx with CoInitialize, and then just comment out the CoInitializeSecurity section... and it compiled, and it runs. But my call to WaitForSingleObject(waitEvent, INFINITE); clause now waits forever. My guess is that since I'm not running CoInitializeSecurity my event handler doesn't have permission to signal the event.
Now I'm confused as to what may be happening, CoInitializeSecurity should be found, and even the IDE pops up all its helpful hints for me when I enter it.
Any ideas?
-Rob