Hi Alan-
I am a little confused about your "statically loaded dll" - how are you doing this in Visual C++? I thought all dlls are loaded dynamically, hence the "dynamically loaded library". For static loads, we usually create static libraries that are compiles into the exe at compile time vs runtim with the dll. The *.lib file LabVIEW 6 creates with its dll creation is an import library, it does not contain the guts of the module just the hooks to the dll (I think....).
Please correct me if I am wrong. I have attached a sample program that statically links MFC and dynamically links a dll created by LabVIEW and runs this in VC++. It does not call any MFC functions. The sample itself does nothing much, just a sample about how to pass numeric data types betwe
en LabVIEW and VC++.
Add information about how you are linking your static dll and I would love to look at it and help you solve this issue. Just a note - you might have to manually add the MFC to the VC++ project again under Project -> Settings.
good luck
ben schulte
national instruments