Click here to Skip to main content
16,020,567 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: TCP/IP question Pin
G_S28-Aug-06 6:21
G_S28-Aug-06 6:21 
GeneralRe: TCP/IP question Pin
Zac Howland28-Aug-06 6:39
Zac Howland28-Aug-06 6:39 
QuestionCross process subclassing by hooking Pin
AlexBecker28-Aug-06 5:23
AlexBecker28-Aug-06 5:23 
AnswerRe: Cross process subclassing by hooking Pin
JWood28-Aug-06 7:50
JWood28-Aug-06 7:50 
GeneralRe: Cross process subclassing by hooking Pin
AlexBecker28-Aug-06 16:44
AlexBecker28-Aug-06 16:44 
AnswerRe: Cross process subclassing by hooking Pin
Stephen Hewitt28-Aug-06 14:41
Stephen Hewitt28-Aug-06 14:41 
GeneralRe: Cross process subclassing by hooking Pin
AlexBecker28-Aug-06 16:43
AlexBecker28-Aug-06 16:43 
GeneralRe: Cross process subclassing by hooking Pin
Stephen Hewitt28-Aug-06 17:24
Stephen Hewitt28-Aug-06 17:24 
The advice given in the links is clear: don't all LoadLibrary from DllMain. I seen it work before and I've also seen it fail, it would be best to simply follow the rules and not attempt to find conditions when it is safe to break them as such practices are bound to produce a fragile application.

AlexBecker wrote:
Besides, I think that's assuming you are loading another library, not just incrementing the same lib's ref counter.

  This assumption is not supported by the fact that you shouldn't call GetModuleFileName from DllMain even though it clearly doesn't load anything.

Steve

QuestionEnable Scrolling in MDI Pin
Nyarlatotep28-Aug-06 5:16
Nyarlatotep28-Aug-06 5:16 
QuestionPersonalized menu items question : What Setting is this ? Pin
Maximilien28-Aug-06 5:14
Maximilien28-Aug-06 5:14 
Questioncalling a function two ways Pin
Jay0328-Aug-06 5:13
Jay0328-Aug-06 5:13 
AnswerRe: calling a function two ways Pin
Maximilien28-Aug-06 5:28
Maximilien28-Aug-06 5:28 
GeneralRe: calling a function two ways Pin
Jay0328-Aug-06 5:46
Jay0328-Aug-06 5:46 
AnswerRe: calling a function two ways Pin
Zac Howland28-Aug-06 5:34
Zac Howland28-Aug-06 5:34 
GeneralRe: calling a function two ways Pin
Jay0328-Aug-06 5:43
Jay0328-Aug-06 5:43 
GeneralRe: calling a function two ways Pin
Jay0328-Aug-06 5:47
Jay0328-Aug-06 5:47 
GeneralRe: calling a function two ways Pin
Zac Howland28-Aug-06 5:53
Zac Howland28-Aug-06 5:53 
GeneralRe: calling a function two ways Pin
Jay0328-Aug-06 5:56
Jay0328-Aug-06 5:56 
GeneralRe: calling a function two ways Pin
David Crow28-Aug-06 6:08
David Crow28-Aug-06 6:08 
GeneralRe: calling a function two ways Pin
Jay0328-Aug-06 6:38
Jay0328-Aug-06 6:38 
GeneralRe: calling a function two ways Pin
toxcct28-Aug-06 7:06
toxcct28-Aug-06 7:06 
GeneralRe: calling a function two ways Pin
Jay0328-Aug-06 6:40
Jay0328-Aug-06 6:40 
GeneralRe: calling a function two ways Pin
Zac Howland28-Aug-06 6:08
Zac Howland28-Aug-06 6:08 
QuestionHandling mouseover events on toolbar with popup Pin
WebMaster28-Aug-06 5:01
WebMaster28-Aug-06 5:01 
QuestionTitleBar Pin
HakunaMatada28-Aug-06 3:48
HakunaMatada28-Aug-06 3: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.