[SDL] Using Windows GetOpenFileName with SDL

Mikkel Gjøl s971661 at student.dtu.dk
Sun Jan 23 06:16:15 PST 2005


Hi

I'm currently developing a windows application, that uses the build-in 
functions GetOpenFileName(..) and GetSaveFileName(..). I'm experiencing 
quite odd behaviour - with the newly opened windows getting closed 
immediately.

I've done a hack that reopens the windows if the recieved path is of 
zero-length, but I wonder what causes this, and if there is a cleaner 
solution?

My sourcecode can be found at:
  http://extraball.sunsite.dk/notepad.php?ID=6542


Kind regards,
\\Mikkel Gjoel




More information about the SDL mailing list