Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ListView - header's icon alignment
Message
De
01/09/2005 10:49:10
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01045162
Message ID:
01045826
Vues:
37
>>Do you mean OFN_ALLOWMULTISELECT ? If that's what you mean, it's a flag to allow you to select more than one file. However my function is returning a STRING. So to get this to work you have to change it to return as LONG (pointer).
>>
>
>Yes, that's what I mean. Can you please add a sample to the dialog form?
>

Yes I can. But before I add this, are there anymore request/problems ? So I can upload it once <vbg>


>>But be very carefull! It's max buffer is only 255 chars. Each file is separated with one null char and End buffer is 2 (two) null char. I don't use any error checking for returning the pointer. This means that it can be attacked by a malicious programs.
>>
>
>Not sure, what exactly do you mean here.

It's kind of buffer overflow. Well, I can workaround this a little so you don't have to worry

>
>>You don't have to use OFN_NOCHANGEDIR, it has been used as the default.
>
>Does it mean, I can pass 0 instead of that flag? Or what exactly should be my call?

Yes just pass 0, the function is already include OFN_NOCHANGEDIR.
Herman
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform