unable to find entry point when using p/invoke

  • Thread starter Thread starter lfvoydfv
  • Start date Start date
L

lfvoydfv

Guest
I have a c++ application that uses a National Instruments DLL. I converted it to c# using P/Invoke to call the c functions in the DLL. However, when I hit the very first call, I get an error saying "unable to find an entry point named 'xxx' in DLL 'yyy'". I ran dumpbin on the NI DLL 'yyy' to see what functions are exported and none were shown. I ran dumpbin on another c DLL that I use with P/Invoke and all the exported functions were displayed. Does anyone have any idea why the National Instruments DLL doesn't show any functions exported when running dumpbin, which I'm assuming is the reason why my c# program isn't finding an entry point for the functions purportedly exported by the DLL? If my c++ program can call those functions, then they must be exported by the DLL, right?

Continue reading...
 
Back
Top