From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
I have a DLL written in eMbedded VC++ 4.0 and it works well on my iPAQ when I called it from MS .NET Compact Framework.
Now I try to call it using LabVIEW PDA 7.1 module. But when I try to config the "Call Library Function Node". I got "Bad image. The application or dll is not a valid windows image. please check this against your installation diskette.".
I attached the dll and the VI. The function I called is defined as: long TDR3125_Open(void);
I think this information should help you out. If it doesn't, please attach a copy of the DLL you are trying to use (only the vi was attached to your last post).
Thanks, E.Lee Applications Engineer National Instruments
> I have a DLL written in eMbedded VC++ 4.0 and it works well on my
> iPAQ when I called it from MS .NET Compact Framework.
> Now I try to call it using LabVIEW PDA 7.1 module. But when I try
> to config the "Call Library Function Node". I got "Bad image. The
> application or dll is not a valid windows image. please check this
> against your installation diskette.".\
Could it be that your DLL is really a .Net assembly instead?