Application crashes please help.
-
I am developing application which has to use third party dll,(for scanning)who only has described exported functions with function definition. After I developed a application,which gives proper result but it gives assertion in debug mode at each and every call of function imported from dll. Following is assertion. "The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention." And after completion of process (scanning) application terminates. I read articles from google,msdn and included __stdcall ,WINAPI ,combination but error comes as it is. In release mode assertion does not come.but application crashes everytime. I cannot debug it as application is terminating after passing end of function call. Only all it shows in debug is access violation and all binary code.
|| ART OF LIVING ||