Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OPENFILENAME ofn = { sizeof ofn };
- char file[1024];
- ofn.hwndOwner = NULL;
- ofn.lpstrFile = file;
- ofn.nMaxFile = sizeof(file);
- ofn.lpstrFile[0] = '