int main()
{
Wrapper wrapper;
}
//-----------------------------
I linked .lib file and register .dll in system, but then I debugging this app exeption arises in file crtexe.c on the string "mainret = main(argc, argv, envp);"
Exeption is:
"Unhandled exception at 0x0015d186 in CPP_SingleShotSample.exe: 0xC0000005: Access violation reading location 0x00000000."
Before this case I never work with Java DLL... so I don't have any versions how to solve this problem .
Thanks in advance
I don't think it does matter what language was used to write a dll as long as you comply with the calling conventions. The only problem is the difference between managed and unmanaged dlls.
The error you received tipically occurs if you try to access something using a NULL pointer.
Last edited by srelu; March 29th, 2009 at 08:21 PM.
Bookmarks