Click here to Skip to main content
15,892,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: problem in executing .bat file Pin
Madan Chauhan10-Sep-08 2:52
Madan Chauhan10-Sep-08 2:52 
GeneralRe: problem in executing .bat file Pin
Michael Schubert10-Sep-08 3:15
Michael Schubert10-Sep-08 3:15 
GeneralRe: problem in executing .bat file Pin
Madan Chauhan10-Sep-08 3:24
Madan Chauhan10-Sep-08 3:24 
GeneralRe: problem in executing .bat file Pin
Michael Schubert10-Sep-08 3:49
Michael Schubert10-Sep-08 3:49 
AnswerRe: problem in executing .bat file Pin
Rane10-Sep-08 2:08
Rane10-Sep-08 2:08 
GeneralRe: problem in executing .bat file Pin
Madan Chauhan10-Sep-08 3:00
Madan Chauhan10-Sep-08 3:00 
QuestionRe: problem in executing .bat file Pin
David Crow10-Sep-08 4:04
David Crow10-Sep-08 4:04 
QuestionCant register MFC-DLL when i have a call to CImageList::DeleteImageList Pin
gn0tto9-Sep-08 23:06
gn0tto9-Sep-08 23:06 
Hi there,

i am currently working on a Shell Namespace extension. In order to provide it with different Icons for my different elements, i use some image-lists to store the images. Since for every folder i browse there might be several newly created images necessary, i want to delete the lists and fill them up new. But as soon as i add the call to CImageList::DeleteImageList(), the DLL cant be registered anymore.

I guess i am missing some fundamental knowledge about how to use MFC. If it helps discoverig my fault, i can also state that every time i want to open a contextmenu or pop up a dialog, i have to add the line:

AFX_MANAGE_STATE(AfxGetStaticModuleState( ));

to the calling method because otherwise they dont show.
Due to the fact that i am pretty new to MFC-programming i bet there must be some configuration-stuff that i have to do initially to solve my problems.

can anyone help me out?

thanks in advance,

Gernot
AnswerRe: Cant register MFC-DLL when i have a call to CImageList::DeleteImageList Pin
gn0tto9-Sep-08 23:25
gn0tto9-Sep-08 23:25 
AnswerRe: Cant register MFC-DLL when i have a call to CImageList::DeleteImageList Pin
gn0tto10-Sep-08 1:52
gn0tto10-Sep-08 1:52 
AnswerRe: Cant register MFC-DLL when i have a call to CImageList::DeleteImageList Pin
Michael Dunn10-Sep-08 11:42
sitebuilderMichael Dunn10-Sep-08 11:42 
GeneralRe: Cant register MFC-DLL when i have a call to CImageList::DeleteImageList Pin
gn0tto10-Sep-08 23:05
gn0tto10-Sep-08 23:05 
Questionabout tab control Pin
DSPCottage9-Sep-08 22:22
DSPCottage9-Sep-08 22:22 
AnswerRe: about tab control Pin
Rane9-Sep-08 22:58
Rane9-Sep-08 22:58 
AnswerRe: about tab control Pin
Michael Dunn10-Sep-08 11:43
sitebuilderMichael Dunn10-Sep-08 11:43 
QuestionEnding a Thread Pin
sunny_vc9-Sep-08 21:39
sunny_vc9-Sep-08 21:39 
AnswerRe: Ending a Thread Pin
CPallini9-Sep-08 21:48
mveCPallini9-Sep-08 21:48 
GeneralRe: Ending a Thread Pin
Prasann Mayekar9-Sep-08 21:55
Prasann Mayekar9-Sep-08 21:55 
GeneralRe: Ending a Thread Pin
Rajesh R Subramanian9-Sep-08 23:36
professionalRajesh R Subramanian9-Sep-08 23:36 
JokeRe: Ending a Thread Pin
CPallini9-Sep-08 23:53
mveCPallini9-Sep-08 23:53 
AnswerRe: Ending a Thread Pin
Naveen9-Sep-08 21:58
Naveen9-Sep-08 21:58 
GeneralRe: Ending a Thread Pin
sunny_vc9-Sep-08 22:02
sunny_vc9-Sep-08 22:02 
AnswerRe: Ending a Thread PinPopular
Rajesh R Subramanian9-Sep-08 22:19
professionalRajesh R Subramanian9-Sep-08 22:19 
GeneralOT Pin
CPallini10-Sep-08 0:27
mveCPallini10-Sep-08 0:27 
JokeRe: OT Pin
Rajesh R Subramanian10-Sep-08 1:03
professionalRajesh R Subramanian10-Sep-08 1:03 

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.