02-13-2007 09:47 AM
02-14-2007 06:47 AM - edited 02-14-2007 06:47 AM
Message Edited by gvanslyk on 02-14-2007 06:48 AM
02-14-2007
08:36 AM
- last edited on
08-19-2026
02:49 PM
by
Content Cleaner
Hey gvanslyk,
This method is actually included in the CVI Windows SDK functions. I believe the reason you are not seeing it is because this function requires Windows 2000 or greater. By default, if you do not tell CVI what version of Windows you want to use it will define WINVER as 0x0400 which is Windows NT 4.0. If you define _WIN32_WINNT=0x0500 this will force it to compile all the Windows 2000 SDK functions as well. There is a knowledgebase below that explains this a little more. All you should need to do is go to Options>>Build Options and place "/D_WIN32_WINNT=0x0500" in the Compiler Defines. Hope this helps!