Error executing (SpaceProxyPtr spaceProxy ( spaceFinder.find(spaceUrl) )
Hi,
I am doing the following and getting the following errors.
1) Create one DLL and the functions in the DLL calls the getters and setters of Gigaspaces (like WriteMultiple etc). 2) I am executing the functions of DLL through an exe. 3) While calling "(SpaceProxyPtr spaceProxy ( spaceFinder.find(spaceUrl) );" I am getting the following errors.
'TestInterface.exe': Loaded 'C:\Home\gigaspaces-xap-standard\gigaspaces-xap-premium-6.6.4-ga\cpp\examples\TestInterface\TestInterface\Debug\TestInterface.exe', Symbols loaded. 'TestInterface.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded. 'TestInterface.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded. 'TestInterface.exe': Loaded 'C:\Home\gigaspaces-xap-standard\gigaspaces-xap-premium-6.6.4-ga\cpp\examples\TestInterface\TestInterface\Interface.dll', Symbols loaded. 'TestInterface.exe': Loaded 'C:\Home\gigaspaces-xap-standard\gigaspaces-xap-premium-6.6.4-ga\cpp\lib\win32\vs8.0\gscpplib.dll', No symbols loaded. 'TestInterface.exe': Loaded 'C:\jdk1.5.0_15\jre\bin\client\jvm.dll', No symbols loaded. 'TestInterface.exe': Loaded 'C:\WINDOWS\system32\user32.dll', No symbols loaded. 'TestInterface.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', No symbols loaded. 'TestInterface.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded. 'TestInterface.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded. 'TestInterface.exe': Loaded 'C:\WINDOWS\system32\winmm.dll', No symbols loaded. 'TestInterface.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded. 'TestInterface.exe': Loaded 'C:\WINDOWS\system32\wsock32.dll', No symbols loaded. 'TestInterface.exe': Loaded 'C:\WINDOWS\system32\ws2_32.dll', No symbols loaded. 'TestInterface.exe': Loaded 'C:\WINDOWS\system32\ws2help.dll', No symbols loaded. 'TestInterface.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.1433_x-ww_5cf844d2\msvcp80.dll', No symbols loaded. 'TestInterface.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.1433_x-ww_5cf844d2\msvcr80.dll', No symbols loaded. 'TestInterface.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_5490cd9f\msvcp80d.dll', Symbols loaded. 'TestInterface.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_5490cd9f\msvcr80d.dll', Symbols loaded. 'TestInterface.exe': Loaded 'C:\WINDOWS\system32\rdpsnd.dll', No symbols loaded. 'TestInterface.exe': Loaded 'C:\WINDOWS\system32\winsta.dll', No symbols loaded. 'TestInterface.exe': Loaded 'C:\WINDOWS\system32\netapi32.dll', No symbols loaded. 'TestInterface.exe': Loaded 'C:\WINDOWS\system32\psapi.dll', No symbols loaded. 07/07/2009 19:28:38 C++ calling JNI_CreateJavaVM
'TestInterface.exe': Loaded 'C:\jdk1.5.0_15\jre\bin\hpi.dll', No symbols loaded. 'TestInterface.exe': Loaded 'C:\jdk1.5.0_15\jre\bin\verify.dll', No symbols loaded. 'TestInterface.exe': Loaded 'C:\jdk1.5.0_15\jre\bin\java.dll', No symbols loaded. 'TestInterface.exe': Loaded 'C:\jdk1.5.0_15\jre\bin\zip.dll', No symbols loaded. 07/07/2009 19:28:38 C++ ---=== Created JVM OK ===--- 'TestInterface.exe': Loaded 'C:\Home\gigaspaces-xap-standard\gigaspaces-xap-premium-6.6.4-ga\cpp\lib\win32\vs8.0\cppintegrator.dll', No symbols loaded. HEAP[http://TestInterface.exe|http://testinterface.exe/]: Invalid allocation size - CCCCCCD0 (exceeded 7ffdefff) First-chance exception at 0x7c81eb33 in TestInterface.exe: Microsoft C++ exception: std::bad_alloc at memory location 0x0012f8c4.. HEAP[http://TestInterface.exe|http://testinterface.exe/]: Invalid allocation size - CCCCCCCD (exceeded 7ffdefff) First-chance exception at 0x7c81eb33 in TestInterface.exe: Microsoft C++ exception: std::bad_alloc at memory location 0x0012f270.. First-chance exception at 0x7c81eb33 in TestInterface.exe: Microsoft C++ exception: [rethrow|http://www.openspaces.org/forum/] at memory location 0x00000000..
Please give some suggestions. Thanks ..
Jitendra h4. Attachments
[test.cpp|/upfiles/1375970844799387.txt]
[APIUsageExampleClasses.gs.xml|/upfiles/1375970844802487.xml]
[summit_dc_gigaspace.cpp|/upfiles/13759708444333787.txt]
{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=3169]{quote}