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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only