Hi! 
 
I'm trying to run the following code in CVI.  I have SDK package installed with my CVI, too.
Two header files, windows.h and Shellapi.h, are incleuded in my program already.
 
-----------------------------------------------------------------------------
   SHELLEXECUTEINFO ShExecInfo = {0};
   ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);
   ShExecInfo.fMask = SEE_MASK_NOCLOSEPROCESS;
   ShExecInfo.hwnd = NULL;
   ShExecInfo.lpVerb = "open";
   ShExecInfo.lpFile = "c:\\test.txt";      
   ShExecInfo.lpParameters = ""; 
   ShExecInfo.lpDirectory = NULL;
   ShExecInfo.nShow = SW_SHOW;
   ShExecInfo.hInstApp = NULL;   
   
   ShellExecuteEx(&ShExecInfo);
   WaitForSingleObject(ShExecInfo.hProcess,INFINITE);
---------------------------------------------------------------------------------
 
 
No problem for compiling, but it keeps giving me the link error at run time:
 
 
Could anyone give me an advise?