02-08-2022 10:45 AM
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?
02-08-2022 04:35 PM
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.