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

C / C++ / MFC

 
GeneralRe: SetWindowPos in OnInitDiaolog() Pin
Ravi Bhavnani3-Feb-05 11:47
professionalRavi Bhavnani3-Feb-05 11:47 
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 
Hi.

I'm developing a program with visual C++ that creates multiple threads and each thread creates a new instance of the same DLL (which I have the the code, but I didn't developed it).
The problem I'm having is that when I create the first thread, the DLL is instantiated correctly but when I create the second thread and try to create a new instance of the dll, I didn't actually create a new instance, but just makes an instance of the DLL already instantiated, and so I overwrite some variables and stuffs like that.

If, instead create two threads I execute the program twice, running at the same time, I can make new instances of the DLL. Why in this way I can make a new instance of the DLL and using threads I can't?

How do I know if the DLL was created as a multithreaded DLL?
And another question is if the DLL wasn't created a multithreade DLL, how can I change this?



Dennis
GeneralRe: Multithread problem with DLL Pin
geo_m3-Feb-05 9:51
geo_m3-Feb-05 9:51 
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 

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.