Hello George,
I have been able to create a short cut on my desktop but I can't
set the default working directory for the executable.
I have tried several strings for the LCPATH variable and all I get
back is the value of false for the LLRESULT variable.
The questions are:
1. What am I missing that I can't get a value for the llRESULT
variable?
2. Since I will be installing using the setup wizard that comes with
VFP 5.0, how do you handle the situation when the user changes the
executable installation directory?
Do you have a sample code?
Thank you again and here is the code I have to get the working dir
for my exe.
******************************************************************
DECLARE INTEGER SetLinkWorkDir IN LNKFILES.DLL;
INTEGER hWnd, STRING @lpszLinkName, STRING @lpszPath
lclinkfile = 'C:\WINDOWS\DESKTOP\My Executable Link.LNK'
lcpath = 'C:\PROJECTS\MSCONLINE5\'
llresult = (SetLinkWorkDir(0, @lclinkfile, @lcpath) = 0)
******************************************************************
>>Thank you George, I'll be playing with your DLL today.
>>
>Hi Morys,
>
>Please feel free to ask any questions, or give me any other feedback.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement