Re: [GD-Windows] Mind numbing GetOpenFileName Problem
Brought to you by:
vexxed72
From: Paul C. <pa...@pa...> - 2002-02-18 19:18:27
|
Brian: Cheers that seems to have helped, e.g. it stopped crashing and then I also noticed (eventually) I hadn't set ofn.hInstance which seemed to finally fixed things. Tom: Very wierd, mine took an extra 20 minutes here. Go figure. Perhaps I should have set the priority button in outlook :D ----- Original Message ----- From: "Brian Sharon" <bs...@mi...> To: "Paul Crowder" <pa...@pa...>; <gam...@li...> Sent: Monday, February 18, 2002 4:58 PM Subject: RE: [GD-Windows] Mind numbing GetOpenFileName Problem Have you tried inserting: > OPENFILENAME ofn; ZeroMemory(&ofn, sizeof(ofn)); > ofn.lStructSize = sizeof( OPENFILENAME_SIZE_VERSION_400 ); // = unless you're sure you're setting every field, you should probably get in the habit of doing that... --brian _______________________________________________ Gamedevlists-windows mailing list Gam...@li... https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_idU5 |