Home Help Center

DLL access violation

youkindyoukind Member SanOrganization: Sh.StormProject: PtCert
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!


  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    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.
  • youkindyoukind Member SanOrganization: Sh.StormProject: PtCert
    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 ?
Sign In or Register to comment.