Click here to Skip to main content
15,887,875 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionVS 2008 Configuration For Libraries Pin
Mike Certini6-Mar-11 17:53
Mike Certini6-Mar-11 17:53 
AnswerRe: VS 2008 Configuration For Libraries Pin
Michael Dunn6-Mar-11 18:12
sitebuilderMichael Dunn6-Mar-11 18:12 
GeneralRe: VS 2008 Configuration For Libraries Pin
Mike Certini6-Mar-11 18:31
Mike Certini6-Mar-11 18:31 
GeneralRe: VS 2008 Configuration For Libraries Pin
tagopi6-Mar-11 19:53
tagopi6-Mar-11 19:53 
GeneralRe: VS 2008 Configuration For Libraries Pin
Mike Certini8-Mar-11 5:43
Mike Certini8-Mar-11 5:43 
QuestionSomething really crazy Pin
csrss6-Mar-11 15:03
csrss6-Mar-11 15:03 
AnswerRe: Something really crazy Pin
Hans Dietrich6-Mar-11 15:51
mentorHans Dietrich6-Mar-11 15:51 
AnswerRe: Something really crazy Pin
Emilio Garavaglia6-Mar-11 21:23
Emilio Garavaglia6-Mar-11 21:23 
Although Hans is mosssst likely right (this sort of things happens when you copy some files around and the timestamps of the object in the project are anymore coherent, so you rebuild only partially something that should be rebuilt all)consider if your design needs a review.

An array of 1000 HWND is 4 or KBytes long, and fits all into the object storage that may be used in the stack as a local variable. The space on the stack is not "as wide as the computer is", so think to dynamic allocation for this kind of bulks (for example: std::vector<hwnd> don't have this problem).

Also: a window with 1000 active children is kick in the ass for the operating system: do you really need all of them? Can't you create only the ones that are really visible?

2 bugs found.
> recompile ...
65534 bugs found.
D'Oh! | :doh:


QuestionRe: Something really crazy Pin
CPallini6-Mar-11 21:44
mveCPallini6-Mar-11 21:44 
AnswerRe: Something really crazy Pin
Emilio Garavaglia7-Mar-11 4:10
Emilio Garavaglia7-Mar-11 4:10 
GeneralRe: Something really crazy Pin
csrss7-Mar-11 0:47
csrss7-Mar-11 0:47 
AnswerRe: Something really crazy Pin
Richard MacCutchan6-Mar-11 22:29
mveRichard MacCutchan6-Mar-11 22:29 
GeneralRe: Something really crazy Pin
csrss7-Mar-11 0:38
csrss7-Mar-11 0:38 
GeneralRe: Something really crazy Pin
Richard MacCutchan7-Mar-11 6:03
mveRichard MacCutchan7-Mar-11 6:03 
GeneralRe: Something really crazy Pin
csrss7-Mar-11 6:37
csrss7-Mar-11 6:37 
QuestionWM_DEVICECHANGE Problem [SOLVED] Pin
goldenrose96-Mar-11 6:19
goldenrose96-Mar-11 6:19 
AnswerRe: WM_DEVICECHANGE Problem Pin
Ozer Karaagac6-Mar-11 8:39
professionalOzer Karaagac6-Mar-11 8:39 
GeneralRe: WM_DEVICECHANGE Problem Pin
goldenrose96-Mar-11 16:53
goldenrose96-Mar-11 16:53 
GeneralRe: WM_DEVICECHANGE Problem Pin
Ozer Karaagac6-Mar-11 21:48
professionalOzer Karaagac6-Mar-11 21:48 
GeneralRe: WM_DEVICECHANGE Problem Pin
goldenrose96-Mar-11 21:54
goldenrose96-Mar-11 21:54 
GeneralRe: WM_DEVICECHANGE Problem Pin
Ozer Karaagac6-Mar-11 22:09
professionalOzer Karaagac6-Mar-11 22:09 
GeneralRe: WM_DEVICECHANGE Problem Pin
goldenrose96-Mar-11 22:23
goldenrose96-Mar-11 22:23 
GeneralRe: WM_DEVICECHANGE Problem Pin
Ozer Karaagac6-Mar-11 22:43
professionalOzer Karaagac6-Mar-11 22:43 
GeneralRe: WM_DEVICECHANGE Problem Pin
goldenrose96-Mar-11 23:43
goldenrose96-Mar-11 23:43 
QuestionSockets and Port number Pin
sawerr5-Mar-11 23:09
sawerr5-Mar-11 23:09 

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.