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

Calling DLL in CVI2013

$
0
0

Sorry for this basic question but I am not very familiar with external DLL's...

 

I have some older code where I used

 

typedef void ( __stdcall *fp_SPNDLdllTYPE )( double *, double *, double *, double *, long *, char *, long );

I need this to assign the address of a function in the DLL using LoadLibrary and GetProcAddress.

 

Everything was fine until I recompiled this code with CVI2013,.the address obtained now is zero... ?

 

Since the compiler has changed I tried both default calling conventions in the Build options, but it did not help...

 

What do I need to change? Thanks!


Viewing all articles
Browse latest Browse all 5353

Trending Articles



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