LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

DirSelectPopup usability

This code uses functions from shell32.dll. How do I create a .lib file from this DLL that I can use in LabWindows? I tried opening Shlobj.h and using it to run "Generate DLL Import Library", but I get error messages about missing functions. Or is there a .lib file already created somewhere?

0 Kudos
Message 11 of 12
(285 Views)

You need to install the Windows SDK support for your LabWindows CVI version. That won't be the newest and greatest SDK but an older one. You have to check in your documentation. But it doesn't matter how old the SDK is, this API is available since Windows 2000/XP so any SDK that will work with your CVI version will work.

 

After that you simply will have to add shell32.lib as import library to your project that's it.

Rolf Kalbermatter
My Blog
0 Kudos
Message 12 of 12
(276 Views)