I`m using this function to create a shortcut to my application in the destop, but my application not run, because I need to specify the "Start in" from the shortcut, have this function an argument that permit this definition.
The code I`using:
gcdirectoria=sys(5)+sys(2003)
gcdirectoria=trim(gcdirectoria)
DECLARE INTEGER fCreateShellLink in STKIT432.DLL ;
STRING lpstrFolderName, STRING lpstrLinkName, STRING lpstrLinkPath , ;
STRING lpstrLinkArgs
? FCreateShellLink("..\..\Desktop","Winteste98",gcdirectoria,gctarget)
Thanks
Carla
Carla Silva