Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5340

cdecl & stdcall calls mixed in one project

$
0
0

Hi,

I have a dll project that its call convention set to stdcall.

It calls other dlls (3rd party), some of them using stdcall call convention and some are using cdecl.

It seems that I can't have both!, if I switch my project call convention to stdcall Im getting linking error (undefined symbole...) on the cdecl functions and vice versa.

I've checked, searched, googled and didn't find any practical solutions.

The only thing that I've found close to a solution is to wrap the dlls that are different from my project call conention. is this the only way?

 

Any help will be greatly appreciated :smileyhappy:

Best Regards,

Uriya

 

 


Viewing all articles
Browse latest Browse all 5340

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>