Skip navigation

Monthly Archives: May 2012

I didn’t initialize the filename member:

GetOpenFileName fails if you do _not_ write a blank string to ofn.lpstrFile

Be sure to

 

sprintf( ofn.lpstrFile, “” ) ;

 

before calling OpenFileName

Advertisements