01-01-2010 06:58 PM
Solved! Go to Solution.
01-01-2010 09:02 PM
To get the desktop location use the Windows API SHGetKnownFolderPath or SHGetFolderPath as described in this thread. The names of the paths you can retrieve (like Desktop, AppData, My Documents etc are listed here.)
--Ian
01-02-2010 09:35 AM - edited 01-02-2010 09:36 AM
so i dit try the suggested sollution but is producing an error..
#include <shlobj.h>
...
SHGetFolderPath (0, CSIDL_DESKTOP, NULL, SHGFP_TYPE_CURRENT, path);
link Error: Undefined symbol '_SHGetFolderPathA@20' referenced in "launchexe.c".
i used it inside launche.exe example
win XP cvi 8.5
01-02-2010 02:41 PM
01-03-2010 05:24 AM
I added the lib from an older project of mine, i changed it with the one from cvi sdk and everything works now!
Thanks!!