Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PGP encryption and FTP
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01210392
Message ID:
01218961
Views:
23
>>..., ;
>>'"'+m.lcPathToGPG+'"', ;
>>1 )
>>
>>or:
>>lcPathToGPG = '"'+m.lcPathToGPG+'"'
>
>This doesn't work. Note that I mentioned that I've tried surrounding the path with quotes within the variable. Nevertheless, I tried doing it exactly as you suggested. Neither of your suggestions work.
>
>Looking at this link
>
>http://www.news2news.com/vfp/?function=138
>
>it indicates the directory parameter should be "Address of a null-terminated string that specifies the default directory." So, it appears when you hard code a path, you get the proper address and the string is null terminated, but when you use a variable you don't? Does this give a clue?

If your guess is correct then adding CHR(0) shoulld fix the problem.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform