- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey Guys,
I'm upgrading some old CVF code, and in it I use the DialogBox function. I swapped out my use for "use ifwin". For normal 32-bit, everything compiles and links fine.
For 64-bit on the other hand, I get an unresolved external symbol DialogBoxs link error. I don't know where thes at the end of the function name came from, but my annoyedglance would probably be directed towardsone of the use wrappers.
Doing a dumpbinon the object does confirm that for the 64-bit, it has a DialogBoxs symbol.
If anyone's seen this or has any clues to what I might be doing wrong, a little help would be greatly appreciated. Thanks in advance.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For reasons I don't understand, this routine is absent for x64. I'm guessing that this is one of a set of routines that were initially defined for 16-bit Windows, supported for 32-bit but not for 64-bit. But I don't see anything obviously saying so in MSDN (unlike some of the other functions in IFWBASE.) Looking at the definitions now, it seems that you should use DialogBoxParam instead. Add a NULL as the last argument unless you want to use that.
I think it's a bug that we don't provide DialogBoxs on x64 and I'll report that to the developers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Awesome, I just needed to know if a code change was needed or not. There's more than enough ways to create a window.
Thanks for the quick and knowledgeable response, Doctor. You make Fortran programming for a C++ guy bearable :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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