What am I missing in this program, to make GetOpenFileName
work properly:confused:

I have looked at Iczelion's tut no. 11-3, but it didn't help....

Is it me, or.......all right don't say it.....:confused:
Posted on 2003-06-10 02:36:46 by The SharK
You need to fill the ofn struct up first.

Like:
ofn OPENFILENAME <sizeof OPENFILENAME,0,400000h,OFFSET FileFilter,0,0,0,OFFSET FileName,\

256,0,0,0,0,\
OFN_FILEMUSTEXIST or OFN_PATHMUSTEXIST or OFN_LONGNAMES or OFN_EXPLORER or OFN_HIDEREADONLY,\
0,0,0,0,0,0>
Posted on 2003-06-10 04:31:17 by roticv
You need to fill the ofn struct up first.


Thanks roticv that worked :alright:
Posted on 2003-06-10 09:57:35 by The SharK