Click here to Skip to main content
15,912,204 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to create setup file of an EXE in Visual Studio 6.0 ? Pin
Hans Dietrich6-Apr-11 18:04
mentorHans Dietrich6-Apr-11 18:04 
GeneralRe: How to create setup file of an EXE in Visual Studio 6.0 ? Pin
Albert Holguin6-Apr-11 18:07
professionalAlbert Holguin6-Apr-11 18:07 
GeneralRe: How to create setup file of an EXE in Visual Studio 6.0 ? Pin
Albert Holguin6-Apr-11 18:09
professionalAlbert Holguin6-Apr-11 18:09 
GeneralRe: How to create setup file of an EXE in Visual Studio 6.0 ? Pin
Hans Dietrich6-Apr-11 18:17
mentorHans Dietrich6-Apr-11 18:17 
GeneralRe: How to create setup file of an EXE in Visual Studio 6.0 ? Pin
Albert Holguin6-Apr-11 18:20
professionalAlbert Holguin6-Apr-11 18:20 
QuestionFormView on close Pin
Sakhalean6-Apr-11 3:23
Sakhalean6-Apr-11 3:23 
AnswerRe: FormView on close Pin
Hans Dietrich6-Apr-11 4:00
mentorHans Dietrich6-Apr-11 4:00 
GeneralRe: FormView on close Pin
Sakhalean6-Apr-11 4:09
Sakhalean6-Apr-11 4:09 
Questionhow to use visual leak detector Pin
shashankacharya6-Apr-11 1:10
shashankacharya6-Apr-11 1:10 
AnswerRe: how to use visual leak detector Pin
Hans Dietrich6-Apr-11 1:18
mentorHans Dietrich6-Apr-11 1:18 
GeneralRe: how to use visual leak detector Pin
shashankacharya6-Apr-11 1:30
shashankacharya6-Apr-11 1:30 
AnswerRe: how to use visual leak detector Pin
Pravin Patil, Mumbai6-Apr-11 1:18
Pravin Patil, Mumbai6-Apr-11 1:18 
GeneralRe: how to use visual leak detector Pin
shashankacharya6-Apr-11 17:07
shashankacharya6-Apr-11 17:07 
QuestionMemory leak during termination of thread Pin
shashankacharya5-Apr-11 23:51
shashankacharya5-Apr-11 23:51 
AnswerRe: Memory leak during termination of thread Pin
Cedric Moonen6-Apr-11 0:07
Cedric Moonen6-Apr-11 0:07 
GeneralRe: Memory leak during termination of thread Pin
shashankacharya6-Apr-11 0:19
shashankacharya6-Apr-11 0:19 
AnswerRe: Memory leak during termination of thread Pin
heliboy6-Apr-11 0:16
heliboy6-Apr-11 0:16 
GeneralRe: Memory leak during termination of thread Pin
shashankacharya6-Apr-11 0:24
shashankacharya6-Apr-11 0:24 
GeneralRe: Memory leak during termination of thread Pin
Albert Holguin6-Apr-11 17:19
professionalAlbert Holguin6-Apr-11 17:19 
GeneralRe: Memory leak during termination of thread Pin
shashankacharya6-Apr-11 22:16
shashankacharya6-Apr-11 22:16 
QuestionConflicting Resource IDs Pin
softwaremonkey5-Apr-11 20:32
softwaremonkey5-Apr-11 20:32 
AnswerRe: Conflicting Resource IDs Pin
Hans Dietrich5-Apr-11 22:24
mentorHans Dietrich5-Apr-11 22:24 
The only IDs that must be unique are dialog IDDs, string IDSs, and menu IDs. The IDCs can be reused (between dialogs) and it won't matter.

To ensure that the dialog IDDs don't collide, you could switch to string resource names, instead of numeric resource IDs. To do this, simply comment out the IDD define in resource.h, and change the ctor of the dialog to use the string form. Also comment out the enum in the dialog header file.

Ideally, the resource.h file should be organized by dialog, so that each IDC is unique; sometimes this can get away from you. You might want to check into the excellent Resource ID Organiser Add-In for Visual C++ 5.0/6.0/.NET[^] as a way of restoring order to resource.h.
Best wishes,
Hans


[Hans Dietrich Software]

GeneralRe: Conflicting Resource IDs Pin
softwaremonkey6-Apr-11 0:33
softwaremonkey6-Apr-11 0:33 
GeneralRe: Conflicting Resource IDs Pin
softwaremonkey6-Apr-11 10:17
softwaremonkey6-Apr-11 10:17 
AnswerRe: Conflicting Resource IDs Pin
Hans Dietrich6-Apr-11 16:13
mentorHans Dietrich6-Apr-11 16:13 

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.