- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I have tried to place a button in the Progress Sample Program to get the name of a file to open. I took the GETOPENFILE example from the Win32 samples and set it uas a subroutine called when the button is pushed. If I pass the hwnd as an argument to the subroutine, on pushing the button the application crashes reporting: " The exception unknown software exception (0xc000001e) occurred in the application at location 0x0012fcb4". If I do not pass the hwnd parameter, the GETOPEN FILE dialog opens and I can select a file. However the application crashes with the same report when I accept or cancel the GETOPENFILE dialog. How can one call the GETFILEOPEN dialog in this case?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You sent this also to vf-support, and our dialog expert is looking at it. In the sample code you sent, you were passing an uninitialized hwndOwner field to GetOpenFileName, but there's more to it than this.. You should receive an answer soon.
Steve
Steve

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page