>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?
>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.
>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?
If it's not broken, fix it until it is.
My Blog