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

C / C++ / MFC

 
QuestionRe: reinterpret_cast to fill listview Pin
prasad_som30-Aug-06 19:09
prasad_som30-Aug-06 19:09 
AnswerRe: reinterpret_cast to fill listview Pin
Jumpin' Jeff31-Aug-06 1:33
Jumpin' Jeff31-Aug-06 1:33 
GeneralRe: reinterpret_cast to fill listview Pin
prasad_som31-Aug-06 2:07
prasad_som31-Aug-06 2:07 
GeneralRe: reinterpret_cast to fill listview Pin
Jumpin' Jeff31-Aug-06 9:33
Jumpin' Jeff31-Aug-06 9:33 
GeneralRe: reinterpret_cast to fill listview Pin
prasad_som31-Aug-06 19:10
prasad_som31-Aug-06 19:10 
GeneralRe: reinterpret_cast to fill listview Pin
Jumpin' Jeff1-Sep-06 1:24
Jumpin' Jeff1-Sep-06 1:24 
GeneralRe: reinterpret_cast to fill listview Pin
prasad_som1-Sep-06 1:37
prasad_som1-Sep-06 1:37 
QuestionDLLMain and its usage. [modified] Pin
Jeremy Falcon30-Aug-06 12:05
professionalJeremy Falcon30-Aug-06 12:05 
Ok gurus and guruettes. Wink | ;) I gotta one of them-there questions.

It was recently brought to my attention that one should not do much processing (or any at all for that matter) in DLLMain() (for DLLs of course) and I would like to know why, as I've been doing this for years without a problem.

So, to get things rolling, I'd like to start by quoting some of Mike Dimmick's words on the matter:

Mike Dimmick wrote:
The problem is that the loader takes a process-wide lock just before entering DllMain. It also doesn't guarantee an order for calling different DLL's DllMain functions. That reduces the set of reliably callable functions to those that the loader will definitely have processed before calling your DllMain


I don't see how this could be an issue when each DLL in fact will link to any required libs they also need for each call.

[edit] Nevermind, this whitepaper[^] helped clear things up a lot. [/edit]


QuestionProgram exception Pin
mdexch30-Aug-06 11:56
mdexch30-Aug-06 11:56 
AnswerRe: Program exception Pin
Stephen Hewitt30-Aug-06 15:05
Stephen Hewitt30-Aug-06 15:05 
GeneralRe: Program exception Pin
mdexch31-Aug-06 4:53
mdexch31-Aug-06 4:53 
QuestionDifferent html with wininet than I.E. Pin
EpicYeti30-Aug-06 9:24
EpicYeti30-Aug-06 9:24 
AnswerRe: Different html with wininet than I.E. Pin
Waldermort30-Aug-06 9:31
Waldermort30-Aug-06 9:31 
GeneralRe: Different html with wininet than I.E. Pin
EpicYeti30-Aug-06 9:51
EpicYeti30-Aug-06 9:51 
AnswerRe: Different html with wininet than I.E. Pin
Rama Krishna Vavilala30-Aug-06 9:33
Rama Krishna Vavilala30-Aug-06 9:33 
GeneralRe: Different html with wininet than I.E. Pin
EpicYeti30-Aug-06 9:59
EpicYeti30-Aug-06 9:59 
QuestionHow to set menu bar background? Pin
kiluar30-Aug-06 9:11
kiluar30-Aug-06 9:11 
AnswerRe: How to set menu bar background? Pin
Waldermort30-Aug-06 9:35
Waldermort30-Aug-06 9:35 
GeneralRe: How to set menu bar background? Pin
kiluar30-Aug-06 15:18
kiluar30-Aug-06 15:18 
AnswerRe: How to set menu bar background? Pin
Hamid_RT30-Aug-06 22:09
Hamid_RT30-Aug-06 22:09 
QuestionSMTP commands Pin
Waldermort30-Aug-06 8:32
Waldermort30-Aug-06 8:32 
AnswerRe: SMTP commands Pin
Waldermort30-Aug-06 9:14
Waldermort30-Aug-06 9:14 
QuestionMFC CEdit in ToolBar Pin
ninolaroca30-Aug-06 5:52
ninolaroca30-Aug-06 5:52 
AnswerRe: MFC CEdit in ToolBar Pin
kiluar30-Aug-06 9:17
kiluar30-Aug-06 9:17 
AnswerRe: MFC CEdit in ToolBar Pin
Waldermort30-Aug-06 9:38
Waldermort30-Aug-06 9:38 

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.