Hi All!

I have problem with using Java DLL.
In my programm I try to hook up implicit Java DLL, but it takes error on the first string:

//-----------------------------
#include "Wrapper.h"

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