08-21-2009 01:36 PM
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
08-21-2009 02:21 PM
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?
08-21-2009 05:18 PM
08-21-2009 05:37 PM