Hi,

I am compiling a DLL in Msys-MinGW using g++-4.7.2.  I am loading it using LoadLibrary() and it loads fine. But when I tried to call a function in it (i.e. using GetProcAddr() ). It fails with 'Access Violation' error and shows libstdc++-6.dll as fault module.

I also compiled it in cygwin. It works fine with it.

Any help is appriciated.

Thanks in advance.

Cheers,
Kimesh