Java to Intermediate dll communication and Intermediate dll to sscDbutil.dll communication.Here my java application talk to intermediate dll and that Intermediate will talk to my proj L2CP required sscDBUtil.dll.

Here I am java & jni,c++, netbeans 6.1 Ide.
At this moment I am accessing the intermediate dll but as per my project L2CP I need to access the sscDbUtil.dll.



Error:-- Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call.This is usually result of calling a function declared with one calling convention with function pointer declared
with a different calling convention.