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

C / C++ / MFC

 
GeneralRe: SetWindowPos in OnInitDiaolog() Pin
RsK_frmrf4-Feb-05 11:07
RsK_frmrf4-Feb-05 11:07 
QuestionHow to get the current system name Pin
ganapathykumar3-Feb-05 9:11
ganapathykumar3-Feb-05 9:11 
AnswerRe: How to get the current system name Pin
David Crow3-Feb-05 9:26
David Crow3-Feb-05 9:26 
GeneralRe: How to get the current system name Pin
ganapathykumar3-Feb-05 9:44
ganapathykumar3-Feb-05 9:44 
GeneralRe: How to get the current system name Pin
David Crow3-Feb-05 10:09
David Crow3-Feb-05 10:09 
AnswerRe: How to get the current system name Pin
Michael Dunn3-Feb-05 12:20
sitebuilderMichael Dunn3-Feb-05 12:20 
GeneralMultithread problem with DLL Pin
djavanci3-Feb-05 9:09
djavanci3-Feb-05 9:09 
GeneralRe: Multithread problem with DLL Pin
geo_m3-Feb-05 9:51
geo_m3-Feb-05 9:51 
This is not about multithreaded dll - this is how the windows handles the dll libraries - it is loaded only once in the memory for saving resources. When you call subsequent LoadLibrary it simply increments the usage counter.

If you LoadLibrary from other process, it is a different story. There are some nifty stuff inside the windows, but for you it's like the dll is loaded again --> you can load your library only once into process memory.

Difference between library compiled as multithreaded or singlethreaded is AFAIK only difference with c runtime support libraries used. If you will not use functions like printf etc, there is no difference between dll compiled as multithreaded or singlethreaded.

There's no way, how to determine, if the dll was compiled as multithreaded, neither way how to change it (without having sources and recompile).

But for your problem as you described, it makes no difference I guess.
GeneralRe: Multithread problem with DLL Pin
Rick York3-Feb-05 11:51
mveRick York3-Feb-05 11:51 
GeneralRe: Multithread problem with DLL Pin
geo_m3-Feb-05 19:21
geo_m3-Feb-05 19:21 
GeneralRe: Multithread problem with DLL Pin
djavanci4-Feb-05 0:25
djavanci4-Feb-05 0:25 
GeneralRe: Multithread problem with DLL Pin
geo_m4-Feb-05 4:13
geo_m4-Feb-05 4:13 
GeneralRe: Multithread problem with DLL Pin
Christopher Lloyd3-Feb-05 12:10
Christopher Lloyd3-Feb-05 12:10 
GeneralRe: Multithread problem with DLL Pin
djavanci4-Feb-05 1:02
djavanci4-Feb-05 1:02 
GeneralRe: Multithread problem with DLL Pin
Christopher Lloyd4-Feb-05 2:51
Christopher Lloyd4-Feb-05 2:51 
Generalcreating dynamic menus in dialog based apllications Pin
ganapathykumar3-Feb-05 9:07
ganapathykumar3-Feb-05 9:07 
GeneralRe: creating dynamic menus in dialog based apllications Pin
Ravi Bhavnani3-Feb-05 9:16
professionalRavi Bhavnani3-Feb-05 9:16 
GeneralRe: creating dynamic menus in dialog based apllications Pin
ganapathykumar3-Feb-05 9:23
ganapathykumar3-Feb-05 9:23 
GeneralRe: creating dynamic menus in dialog based apllications Pin
Ravi Bhavnani3-Feb-05 9:28
professionalRavi Bhavnani3-Feb-05 9:28 
GeneralRe: creating dynamic menus in dialog based apllications Pin
uday__m3-Feb-05 17:23
uday__m3-Feb-05 17:23 
QuestionHow to access the Methods from a DLL Pin
ganapathykumar3-Feb-05 9:01
ganapathykumar3-Feb-05 9:01 
AnswerRe: How to access the Methods from a DLL Pin
geo_m3-Feb-05 9:53
geo_m3-Feb-05 9:53 
GeneralRe: How to access the Methods from a DLL Pin
ganapathykumar3-Feb-05 9:59
ganapathykumar3-Feb-05 9:59 
GeneralRe: How to access the Methods from a DLL Pin
geo_m3-Feb-05 19:15
geo_m3-Feb-05 19:15 
GeneralRe: How to access the Methods from a DLL Pin
RChin3-Feb-05 23:39
RChin3-Feb-05 23:39 

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.