Click here to Skip to main content
15,910,083 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionPanel in C++?? Pin
Farah Mansor20-Jun-01 16:45
Farah Mansor20-Jun-01 16:45 
AnswerRe: Panel in C++?? Pin
20-Jun-01 17:01
suss20-Jun-01 17:01 
GeneralSimple CMainFrame App problem Pin
John Treubig20-Jun-01 16:42
John Treubig20-Jun-01 16:42 
GeneralWindows explorer command line Pin
Avneesh Bhatnagar20-Jun-01 16:18
Avneesh Bhatnagar20-Jun-01 16:18 
GeneralRe: Windows explorer command line Pin
20-Jun-01 16:54
suss20-Jun-01 16:54 
GeneralRe: Windows explorer command line Pin
Avneesh Bhatnagar20-Jun-01 17:25
Avneesh Bhatnagar20-Jun-01 17:25 
GeneralThreads and DLLs (Advanced Issues) Pin
Joe Hastings20-Jun-01 15:32
Joe Hastings20-Jun-01 15:32 
GeneralRe: Threads and DLLs (Advanced Issues) Pin
20-Jun-01 15:52
suss20-Jun-01 15:52 
You can call AfxLoadLibrary from any thread to load a DLL. No problem with that!!

One thing with Dynamically loaded dlls is that you shouldn't use _declspec(thread) in your DLL!
If you want to use data per thread, then you should use tlsAlloc for thread local storage!

The only place that were you might hang is at startup... look at article Q142243 in MSDN

Regarding the memory leak, look at article Q105286. Note that the term USRDLL in the article is no longer valid, the article actually applies to all DLLs that use MFC

Mh2!
GeneralRe: Threads and DLLs (Advanced Issues) Pin
Stephen Kellett21-Jun-01 5:07
Stephen Kellett21-Jun-01 5:07 
GeneralRe: Threads and DLLs (Advanced Issues) Pin
Joe Hastings22-Jun-01 3:15
Joe Hastings22-Jun-01 3:15 
Generalstandard search algorithm Pin
Nick Blumhardt20-Jun-01 15:12
Nick Blumhardt20-Jun-01 15:12 
GeneralRe: standard search algorithm Pin
20-Jun-01 15:17
suss20-Jun-01 15:17 
GeneralRe: standard search algorithm Pin
markkuk20-Jun-01 19:42
markkuk20-Jun-01 19:42 
GeneralRe: standard search algorithm Pin
Nick Blumhardt20-Jun-01 21:57
Nick Blumhardt20-Jun-01 21:57 
Generalsendinput & message queue saturation Pin
Amit Jain20-Jun-01 14:49
Amit Jain20-Jun-01 14:49 
GeneralRe: sendinput & message queue saturation Pin
20-Jun-01 15:20
suss20-Jun-01 15:20 
GeneralRe: sendinput & message queue saturation Pin
Amit Jain21-Jun-01 4:37
Amit Jain21-Jun-01 4:37 
GeneralUSB Keyboard Pin
DrunkerII20-Jun-01 13:58
DrunkerII20-Jun-01 13:58 
GeneralRe: USB Keyboard Pin
20-Jun-01 15:21
suss20-Jun-01 15:21 
QuestionHow to detect an application launch ? Pin
20-Jun-01 10:01
suss20-Jun-01 10:01 
AnswerRe: How to detect an application launch ? Pin
20-Jun-01 10:03
suss20-Jun-01 10:03 
GeneralRe: How to detect an application launch ? Where to start searching for shell extension ? Pin
20-Jun-01 10:40
suss20-Jun-01 10:40 
GeneralRe: How to detect an application launch ? Where to start searching for shell extension ? Pin
Michael Dunn20-Jun-01 20:58
sitebuilderMichael Dunn20-Jun-01 20:58 
Generalanother Important Question Pin
Fady Elias20-Jun-01 9:50
Fady Elias20-Jun-01 9:50 
GeneralRe: another Important Question Pin
Ben Burnett20-Jun-01 10:14
Ben Burnett20-Jun-01 10:14 

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.