LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW and MFC Dll

Hi
I made a DLL out of an MFC project. The Dll use CAsyncSocket class in the code. Now I use the DLL with another programming language (LabVIEW). It's working fine on the computer that has MS Visual C++ installed, but when I'm trying to run that LabVIEW program that calls that DLL on the computer that doesn't have MS Visual C++, it asked for MFC42D.dll, MSVCRTD.dll. So I googled those dlls and downloaded and saved them to c:\windows\system32. Now I'm trying to run the that LabVIEW program again, I got an error said "The ordinal 5077 could not be located in the dynamic link library MFC42D.dll".

Is there a way that I can use the Dll that I wrote without having a Microsoft Visual C++ on the computer I'm running LabVIEW ? Or do I have to write a new dll?

Thanks
0 Kudos
Message 1 of 2
(3,313 Views)
I think when you compile your file in VC++, try to use stastic library link.
0 Kudos
Message 2 of 2
(3,309 Views)