I am using Visual C++ 2010 Express and I am trying to run some of the included C++ demos in the Ice 3.4.1 install. I was able to compile using nmake as instructed in the readme. But when I try to run them, I get a dialog prompt with an error saying,
So for debugging I tried to manually create my own VC++ 2010 project with the "latency" demo code. It includes the Ice directories, iceutild.lib and iced.lib. It compiles fine. But when I debug the executable, I get the same dialog prompt as above, with this output in the console:The application failed to initialize properly (0xc0150002). Click on OK to terminate the application.
icetest.exe': Loaded 'C:\tszumows\workspace\icetest\icetest\Debug\icete st.exe', Symbols loaded.
'icetest.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', Cannot find or open the PDB file
'icetest.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', Cannot find or open the PDB file
'icetest.exe': Loaded 'C:\Program Files\ZeroC\Ice-3.4.1\bin\iceutil34d.dll', Symbols loaded.
LDR: LdrpWalkImportDescriptor() failed to probe C:\Program Files\ZeroC\Ice-3.4.1\bin\iceutil34d.dll for its manifest, ntstatus 0xc0150002
Debugger:: An unhandled non-continuable exception was thrown during process load
The program '[3496] icetest.exe: Native' has exited with code -1072365566 (0xc0150002).
Just for completeness, I tried the same in Release mode (using iceutil.lib and ice.lib), and I get the same error, but a different debug console output (if I attempt to debug which it isn't built for)
Any ideas why this may be happening? It's my first time trying to run Ice in C++. I've been successful with Java in the past.First-chance exception at 0x7c812afb in icetest.exe: Microsoft C++ exception: Ice::PluginInitializationException at memory location 0x0012f248..
First-chance exception at 0x7c812afb in icetest.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000..
First-chance exception at 0x7c812afb in icetest.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000..
First-chance exception at 0x7c812afb in icetest.exe: Microsoft C++ exception: `anonymous namespace'::ThreadPoolDestroyedException at memory location 0x00e7fa14..
The thread 'Win32 Thread' (0x1a04) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x1748) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x11fc) has exited with code 0 (0x0).
First-chance exception at 0x7c812afb in icetest.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000..
The program '[1408] icetest.exe: Native' has exited with code 1 (0x1).

Reply With Quote
