Click here to Skip to main content
15,908,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralProblem with "vector<CString> StringVector" Pin
Anonymous25-Nov-02 23:32
Anonymous25-Nov-02 23:32 
GeneralRe: Problem with "vector<CString> StringVector" Pin
FatBastardDelivery26-Nov-02 0:20
FatBastardDelivery26-Nov-02 0:20 
GeneralRe: Problem with "vector<CString> StringVector" Pin
Joaquín M López Muñoz26-Nov-02 0:28
Joaquín M López Muñoz26-Nov-02 0:28 
GeneralRe: Problem with "vector<CString> StringVector" Pin
Alexandru Savescu26-Nov-02 0:49
Alexandru Savescu26-Nov-02 0:49 
GeneralGUI goes all funny and system hangs Pin
louis25-Nov-02 23:24
louis25-Nov-02 23:24 
GeneralRe: GUI goes all funny and system hangs Pin
KaЯl25-Nov-02 23:42
KaЯl25-Nov-02 23:42 
GeneralRe: GUI goes all funny and system hangs Pin
louis26-Nov-02 20:03
louis26-Nov-02 20:03 
GeneralRe: GUI goes all funny and system hangs Pin
Roger Allen26-Nov-02 1:38
Roger Allen26-Nov-02 1:38 
We had this very same kind of problem in one of our apps. We knew it was caused by a resource leak, but I had spent weeks trying to fix it. All GDI objects I allocated were check/destroyed etc, but it still persisted until quite recently when we found the culprit:

SHGetFileInfo(path, 0, &fileinfo, sizeof(fileinfo), SHGFI_ICON | SHGFI_SMALLICON | SHGFI_SHELLICONSIZE);


It seems that this system procedure allocates an icon that you need to destroy yourself. If your using this call make sure you call the corresponding DestoryIcon() on the member var listed in the MSDN fo a SHFILEINFO object.


Roger Allen
Sonork 100.10016

In case you're worried about what's going to become of the younger generation, it's going to grow up and start worrying about the younger generation. - Roger Allen, but not me!
GeneralRe: GUI goes all funny and system hangs Pin
louis26-Nov-02 20:18
louis26-Nov-02 20:18 
GeneralRe: GUI goes all funny and system hangs Pin
perlmunger26-Nov-02 6:53
perlmunger26-Nov-02 6:53 
GeneralBlock Internet access !! Pin
onkarp25-Nov-02 23:16
onkarp25-Nov-02 23:16 
GeneralRe: Block Internet access !! Pin
perlmunger26-Nov-02 6:39
perlmunger26-Nov-02 6:39 
GeneralRe: Block Internet access !! Pin
Scott H. Settlemier26-Nov-02 7:29
Scott H. Settlemier26-Nov-02 7:29 
GeneralWideCharToMultiByte Pin
candan25-Nov-02 22:43
professionalcandan25-Nov-02 22:43 
GeneralRe: WideCharToMultiByte Pin
Christian Graus25-Nov-02 23:06
protectorChristian Graus25-Nov-02 23:06 
GeneralRe: WideCharToMultiByte Pin
candan26-Nov-02 14:40
professionalcandan26-Nov-02 14:40 
GeneralRe: WideCharToMultiByte Pin
Christian Graus26-Nov-02 15:33
protectorChristian Graus26-Nov-02 15:33 
GeneralConvert to widechar Pin
Member 910463223-Jan-14 4:09
Member 910463223-Jan-14 4:09 
GeneralProblems with Microsoft Forms 2.0 Frame Control Pin
jmgir25-Nov-02 22:31
jmgir25-Nov-02 22:31 
Generalreadind an excel cell from MFC app Pin
sinouhe25-Nov-02 22:19
sinouhe25-Nov-02 22:19 
GeneralRe: readind an excel cell from MFC app Pin
perlmunger26-Nov-02 6:25
perlmunger26-Nov-02 6:25 
GeneralCreate a window in an ATL control Pin
Jerome Conus25-Nov-02 22:02
Jerome Conus25-Nov-02 22:02 
QuestionDynamicly create controls in dialog + scroll bar? Pin
anonimous25-Nov-02 21:53
anonimous25-Nov-02 21:53 
AnswerRe: Dynamicly create controls in dialog + scroll bar? Pin
Anonymous26-Nov-02 11:23
Anonymous26-Nov-02 11:23 
QuestionHow to get NT group name from Windows 9x/ME client? Pin
Ruxo Zheng25-Nov-02 20:15
Ruxo Zheng25-Nov-02 20:15 

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.