Unfortunally it didn't help me... :(
But thanks for the link :)
Quote:
Originally Posted by immortal ...However it now returns a value which contains only question marks followed by an I. eg. ????????????i... |
If the file extension terminates with "g" (for example file_name.mpg) the name returned is something like ????????????g, and if the file name is looong the name returned is composed only by "?".
@immortal
Thank you for providing the OpenFile code, my fault was that I used VarPtr instead of lstrcpy... :P
Thank you.
I hope someone will solve the retrive filename issue