LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

cannot start file dll

Hi all
I wrote a small program for call function from a old dll

I have created import lib file from Option>Generate import file in
Labwindows/cvi 7.0 in windows me

When I run the program, the windows error message
"cannot start file dll.dll. Check the file dll.dll and continue"
stop the program

The old dll was compiled with borland tasm

Anyone know the problem
0 Kudos
Message 1 of 3
(3,184 Views)

Why don't you post your example and the DLL over here and we can take a look at it.

AlessioD

0 Kudos
Message 2 of 3
(3,174 Views)
Hi alessioD
thank for your answer,

I'm searching for the error and I found that there isn't
compatibility between the program I creted in C and
the function call present in the dll.

I changed the compatibility in develop enviroment labWindows
from __cdecl to __stdcall and now the program run normally

I hope that the result help somone becouse from windows error
message I have not trick

0 Kudos
Message 3 of 3
(3,165 Views)