Click here to Skip to main content
15,888,239 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
Questionfabs with SSE Pin
9ine5-Apr-11 2:19
9ine5-Apr-11 2:19 
AnswerRe: fabs with SSE Pin
Chris Losinger5-Apr-11 2:33
professionalChris Losinger5-Apr-11 2:33 
AnswerRe: fabs with SSE Pin
Ozer Karaagac5-Apr-11 16:35
professionalOzer Karaagac5-Apr-11 16:35 
QuestionUi Problem in Vista and above Pin
rahul.kulshreshtha5-Apr-11 1:34
rahul.kulshreshtha5-Apr-11 1:34 
AnswerRe: Ui Problem in Vista and above Pin
Hans Dietrich5-Apr-11 2:16
mentorHans Dietrich5-Apr-11 2:16 
GeneralRe: Ui Problem in Vista and above Pin
rahul.kulshreshtha5-Apr-11 5:45
rahul.kulshreshtha5-Apr-11 5:45 
AnswerRe: Ui Problem in Vista and above Pin
Charles Oppermann5-Apr-11 5:04
Charles Oppermann5-Apr-11 5:04 
GeneralRe: Ui Problem in Vista and above Pin
rahul.kulshreshtha5-Apr-11 5:47
rahul.kulshreshtha5-Apr-11 5:47 
QuestionMessage loop Query Pin
pandit845-Apr-11 1:15
pandit845-Apr-11 1:15 
AnswerRe: Message loop Query Pin
«_Superman_»5-Apr-11 1:51
professional«_Superman_»5-Apr-11 1:51 
QuestionString Combination Pin
john56324-Apr-11 23:53
john56324-Apr-11 23:53 
AnswerRe: String Combination Pin
Rajesh R Subramanian4-Apr-11 23:58
professionalRajesh R Subramanian4-Apr-11 23:58 
JokeRe: String Combination Pin
_AnsHUMAN_ 5-Apr-11 0:00
_AnsHUMAN_ 5-Apr-11 0:00 
GeneralRe: String Combination Pin
Rajesh R Subramanian5-Apr-11 5:48
professionalRajesh R Subramanian5-Apr-11 5:48 

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.