I need to call the API function because LabVIEW's file dialog does some funny things that can be avoided by setting the flags from the API call. However, I have not been successful in writing a wrapper for the .dll in MSVC. Even worse, I have not been successful using the API function directly from MSVC either. Has anyone done this or has some sample code?