Click here to Skip to main content
15,919,434 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: PROCESS_INFORMATION Pin
David Crow28-Aug-06 10:37
David Crow28-Aug-06 10:37 
AnswerRe: PROCESS_INFORMATION Pin
Sam 200628-Aug-06 11:04
Sam 200628-Aug-06 11:04 
QuestionRe: PROCESS_INFORMATION Pin
David Crow29-Aug-06 2:40
David Crow29-Aug-06 2:40 
Questionedit control Pin
kumar_mk28-Aug-06 8:15
kumar_mk28-Aug-06 8:15 
AnswerRe: edit control Pin
led mike28-Aug-06 8:29
led mike28-Aug-06 8:29 
GeneralRe: edit control Pin
kumar_mk28-Aug-06 9:09
kumar_mk28-Aug-06 9:09 
GeneralRe: edit control Pin
led mike28-Aug-06 10:34
led mike28-Aug-06 10:34 
AnswerRe: edit control Pin
David Crow28-Aug-06 10:36
David Crow28-Aug-06 10:36 
QuestionDrawing on a CRichEditCtrl Pin
BlitzPackage28-Aug-06 6:03
BlitzPackage28-Aug-06 6:03 
QuestionRe: Drawing on a CRichEditCtrl Pin
David Crow28-Aug-06 6:10
David Crow28-Aug-06 6:10 
AnswerRe: Drawing on a CRichEditCtrl Pin
BlitzPackage28-Aug-06 7:35
BlitzPackage28-Aug-06 7:35 
GeneralRe: Drawing on a CRichEditCtrl Pin
David Crow28-Aug-06 8:08
David Crow28-Aug-06 8:08 
GeneralRe: Drawing on a CRichEditCtrl Pin
Waldermort28-Aug-06 12:17
Waldermort28-Aug-06 12:17 
AnswerRe: Drawing on a CRichEditCtrl Pin
Hamid_RT29-Aug-06 7:37
Hamid_RT29-Aug-06 7:37 
QuestionTCP/IP question Pin
G_S28-Aug-06 5:30
G_S28-Aug-06 5:30 
AnswerRe: TCP/IP question Pin
Dave Calkins28-Aug-06 5:46
Dave Calkins28-Aug-06 5:46 
GeneralRe: TCP/IP question Pin
G_S28-Aug-06 6:22
G_S28-Aug-06 6:22 
AnswerRe: TCP/IP question Pin
Zac Howland28-Aug-06 5:50
Zac Howland28-Aug-06 5:50 
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 
Well, I dropped the LoadLibrary inside DLLMain and instead of calling FreeLibrary on WM_NCDESTROY I'm now calling UnhookWindowsHookEx that solved the problem.
But from what I read in the links you kindly pointed me to, calling LoadLibrary inside DLLMain can only cause deadlocks. The process should freeze, right? but DLLMain completes execution successfully. Besides, I think that's assuming you are loading another library, not just incrementing the same lib's ref counter.

Anyways, that really solved my problem.
Thank you very much, Steve!

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.