LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using WRAPI functions with LabVIEW

I'm trying to use LabVIEW to get visible SSID and corresponding RSSI readings from a wireless adapter. I've tried to call .NET functions using WMI, but from what I've read on other forum topics, WMI has a bug that only returns meaningful data for the first access point, and gibberish for the rest, which is corroborated by the results my own code obtained.

Now I'm trying to use the WRAPI developed by UC San Diego, but I can't get labview to properly call the library functions.  When I try to use a "Call Library Function Node", after I define the function prototype that I want to use, LabVIEW gives me an error that says: "This application has failed to start because MFC42D.DLL was not found. Re-installing the application may fix this problem." I have repaired the LabVIEW installation, but that did not work. I'm unclear as to what "MFC42D.dll" is, or whether I am importing the library functions correctly. Also, is there a better way to go about solving my problem?

 

For reference, the WRAPI files and documentation can be found here

 

Thanks

 

0 Kudos
Message 1 of 4
(3,075 Views)

MFC42D.dll is the debug version of the main Microsoft Foundation Class library from Visual C/C++ 6. It is used in debug versions of apps and DLLs. Debug versions of apps and DLLs are not supposed to be redistributable, according to Microsoft. When distributing apps and DLLs you're supposed to distribute the "release" version. So, it seems those folks are doing something they're not supposed to be doing.

 

That page also lists the Windows XP DDK as a requirement. It's possible the DLL may be in there, but I don't know because I don't have that. Did you install that package?

0 Kudos
Message 2 of 4
(3,067 Views)
Yes, I have the DDK, and the .dll is not in it
0 Kudos
Message 3 of 4
(3,055 Views)
Then unless they have a release version that doesn't require that DLL, you will have to hunt it down. My suggestion: Google for it.
0 Kudos
Message 4 of 4
(3,051 Views)