Click here to Skip to main content
15,885,979 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DialogBox fuction not executing its procedure Pin
coco24321-Aug-22 7:51
coco24321-Aug-22 7:51 
GeneralRe: DialogBox fuction not executing its procedure Pin
Richard MacCutchan21-Aug-22 9:03
mveRichard MacCutchan21-Aug-22 9:03 
GeneralRe: DialogBox fuction not executing its procedure Pin
coco24321-Aug-22 10:16
coco24321-Aug-22 10:16 
GeneralRe: DialogBox fuction not executing its procedure Pin
coco24322-Aug-22 9:58
coco24322-Aug-22 9:58 
GeneralRe: DialogBox fuction not executing its procedure Pin
Richard MacCutchan22-Aug-22 21:22
mveRichard MacCutchan22-Aug-22 21:22 
GeneralRe: DialogBox fuction not executing its procedure Pin
Richard MacCutchan23-Aug-22 0:23
mveRichard MacCutchan23-Aug-22 0:23 
GeneralRe: DialogBox fuction not executing its procedure Pin
coco24323-Aug-22 6:30
coco24323-Aug-22 6:30 
GeneralRe: DialogBox fuction not executing its procedure Pin
Richard MacCutchan19-Aug-22 23:14
mveRichard MacCutchan19-Aug-22 23:14 
I ran a further test and discovered that the resource compiler did not generate the correct output file. The resulting resource object was missing the dialog, so that was why your code immediately terminated. However, I cannot reproduce your environment as I do not have the old version of Visual Studio. So the corrections I made are to make use of the Visual Studio 2022 environment.

As I keep saying, stop wasting time with this out of date code (and book) and move on to the latest version of Visual Studio, and the associated documentation.
GeneralRe: DialogBox fuction not executing its procedure Pin
Richard MacCutchan19-Aug-22 4:48
mveRichard MacCutchan19-Aug-22 4:48 
Questionmacro function definition Pin
coco24318-Aug-22 1:43
coco24318-Aug-22 1:43 
AnswerRe: macro function definition Pin
Mircea Neacsu18-Aug-22 2:06
Mircea Neacsu18-Aug-22 2:06 
GeneralRe: macro function definition Pin
coco24318-Aug-22 2:08
coco24318-Aug-22 2:08 
AnswerRe: macro function definition Pin
coco24318-Aug-22 2:06
coco24318-Aug-22 2:06 
GeneralRe: macro function definition Pin
Mircea Neacsu18-Aug-22 2:18
Mircea Neacsu18-Aug-22 2:18 
GeneralRe: macro function definition Pin
coco24318-Aug-22 2:43
coco24318-Aug-22 2:43 
GeneralRe: macro function definition Pin
Mircea Neacsu18-Aug-22 2:53
Mircea Neacsu18-Aug-22 2:53 
GeneralRe: macro function definition Pin
coco24318-Aug-22 3:30
coco24318-Aug-22 3:30 
GeneralRe: macro function definition Pin
Richard MacCutchan18-Aug-22 4:28
mveRichard MacCutchan18-Aug-22 4:28 
GeneralRe: macro function definition Pin
coco24318-Aug-22 4:46
coco24318-Aug-22 4:46 
GeneralRe: macro function definition Pin
Richard MacCutchan18-Aug-22 4:50
mveRichard MacCutchan18-Aug-22 4:50 
GeneralRe: macro function definition Pin
coco24318-Aug-22 5:18
coco24318-Aug-22 5:18 
GeneralLearning the Win API Pin
trønderen18-Aug-22 6:58
trønderen18-Aug-22 6:58 
GeneralRe: Learning the Win API Pin
coco24318-Aug-22 8:38
coco24318-Aug-22 8:38 
AnswerRe: macro function definition Pin
coco24318-Aug-22 2:21
coco24318-Aug-22 2:21 
GeneralRe: macro function definition Pin
coco24318-Aug-22 2:37
coco24318-Aug-22 2:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.