Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PGP encryption and FTP
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01210392
Message ID:
01218961
Vues:
22
>>..., ;
>>'"'+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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform