How would I convert an OPENFILENAME to a const CHAR* ?
I need to for the ShellExecute command...
I've tried casting, but it can't convert it...
This is a discussion on Variable conversion... within the Windows Programming forums, part of the Platform Specific Boards category; How would I convert an OPENFILENAME to a const CHAR* ? I need to for the ShellExecute command... I've tried ...
How would I convert an OPENFILENAME to a const CHAR* ?
I need to for the ShellExecute command...
I've tried casting, but it can't convert it...
OPENFILENAME is a struture. You can pass the lpstrFile member to the shellexecute function.
silk.odyssey
Perhaps you want the lpstrFile of the OPENFILENAME structure.
gg
Yeah. I was being stupid. :P