Archived
This forum has been archived. Please start a new discussion on GitHub.
DLL access violation
Hi all:
class HelloClient : public Ice::Application
...
HelloClient app;
app.main(argc, argv, "config.client");
The app.main(*) work fine in a isolated program. But when I try it in a Dll, it turn wrong with msg "Unhandled Exception in test.exe(ICE31D.DLL): 0xC0000005: Access Violation"
anyone can help? Thanks!
class HelloClient : public Ice::Application
...
HelloClient app;
app.main(argc, argv, "config.client");
The app.main(*) work fine in a isolated program. But when I try it in a Dll, it turn wrong with msg "Unhandled Exception in test.exe(ICE31D.DLL): 0xC0000005: Access Violation"
anyone can help? Thanks!
0
Comments
-
Before we can offer assistance you must fill in your signature information as described in the link in my signature. Please also let us know the version of Ice you are using, the operating system version, and compiler.0
-
Signature addtion...
The problem have been soluted myself, just a configuration issue.
I build the Ice server using Ice-3.0.1 on Linux, and try to make a client in a dll, so it can be used by other exe or COM on windows.
Maybe someone can give me some suggestion ?0