Invalid access to memory
please help me how to solve this,
i have some gui design for viewer in java, and i have some actual functionalities to be performed for that editor in c++ , for that i am JNI which provide a interface between the two,
here using JNI i am first calling the gui to be designed and after that i am loading the DLL i think it successfull but when i create a object of any class from that DLL it gives me
Invalid access to memory location
can you please tell me what is the reason,
thanks in advance.
It means that the code does something it should not. That the code is broken, that there is a bug in it.
Specifically, it means it tries to access memory it has no business using. This can be, but is not limited to, buffer overruns or using freed memory.