|
-
May 31st, 2010, 12:18 PM
#1
Application crash and use of mixed calling conventions ...
Hi Everyone,
I have a DLL in my application that exports 5 functions. This DLL internally uses a few C++ classes and finally provide the functionality to DLL client applications by means of those exposed 5 functions.
The application has started crashing when the DLL started using C++ classes to implement functionality. The code inside C++ classes, when added a simple C code, then the crash doesn't happen.
I am aware of calling conventions, like- __stdcall and __cdecl etc. But not aware, how to use use both __cdecl and __stdcall in the same DLL.
Any suggestion from anyone ?
Any help is greatly appreciated.
(*Vipul)() ; 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|