Click here to Skip to main content
16,018,264 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: AFX_MANAGE_STATE in CMyThread::InitInstance()? Pin
David Crow24-Jan-08 9:22
David Crow24-Jan-08 9:22 
GeneralRe: AFX_MANAGE_STATE in CMyThread::InitInstance()? Pin
Wes Jones24-Jan-08 9:41
Wes Jones24-Jan-08 9:41 
GeneralRe: AFX_MANAGE_STATE in CMyThread::InitInstance()? Pin
David Crow24-Jan-08 9:45
David Crow24-Jan-08 9:45 
GeneralRe: AFX_MANAGE_STATE in CMyThread::InitInstance()? Pin
Wes Jones24-Jan-08 11:05
Wes Jones24-Jan-08 11:05 
AnswerRe: AFX_MANAGE_STATE in CMyThread::InitInstance()? Pin
Mark Salsbery24-Jan-08 9:52
Mark Salsbery24-Jan-08 9:52 
GeneralRe: AFX_MANAGE_STATE in CMyThread::InitInstance()? Pin
led mike24-Jan-08 10:19
led mike24-Jan-08 10:19 
GeneralRe: AFX_MANAGE_STATE in CMyThread::InitInstance()? Pin
Mark Salsbery24-Jan-08 10:26
Mark Salsbery24-Jan-08 10:26 
GeneralRe: AFX_MANAGE_STATE in CMyThread::InitInstance()? Pin
led mike24-Jan-08 10:52
led mike24-Jan-08 10:52 
in-process servers, hmm, I would like to see more of that. Do you have a link? I was not thinking about COM servers but just DLL's as it has been many years since I have developed any COM servers. I guess my recent experience has limited my thinking *that's weak*. In the recent past my DLL models have been for libraries that use COM servers rather than implementing them. I have never had a problem even though multiple init's are surely happening within the process.
Mark Salsbery wrote:
What thread is DllMain called on?

The current process is creating a new thread. When this occurs, the system calls the entry-point function of all DLLs currently attached to the process. The call is made in the context of the new thread.

link[^]


led mike

GeneralRe: AFX_MANAGE_STATE in CMyThread::InitInstance()? Pin
Mark Salsbery24-Jan-08 11:01
Mark Salsbery24-Jan-08 11:01 
GeneralRe: AFX_MANAGE_STATE in CMyThread::InitInstance()? Pin
Wes Jones24-Jan-08 10:40
Wes Jones24-Jan-08 10:40 
GeneralRe: AFX_MANAGE_STATE in CMyThread::InitInstance()? Pin
Mark Salsbery24-Jan-08 10:43
Mark Salsbery24-Jan-08 10:43 
General16-24 Bit image issue for MFC Pin
sunny.rana24-Jan-08 7:05
sunny.rana24-Jan-08 7:05 
GeneralRe: 16-24 Bit image issue for MFC Pin
Mark Salsbery24-Jan-08 7:28
Mark Salsbery24-Jan-08 7:28 
GeneralRe: 16-24 Bit image issue for MFC Pin
sunny.rana25-Jan-08 9:39
sunny.rana25-Jan-08 9:39 
GeneralRe: 16-24 Bit image issue for MFC Pin
Mark Salsbery27-Jan-08 7:06
Mark Salsbery27-Jan-08 7:06 
GeneralDialog Displays Differently Pin
Reagan Conservative24-Jan-08 6:47
Reagan Conservative24-Jan-08 6:47 
QuestionRe: Dialog Displays Differently Pin
David Crow24-Jan-08 7:31
David Crow24-Jan-08 7:31 
GeneralRe: Dialog Displays Differently Pin
Reagan Conservative24-Jan-08 8:17
Reagan Conservative24-Jan-08 8:17 
QuestionRe: Dialog Displays Differently Pin
David Crow24-Jan-08 9:17
David Crow24-Jan-08 9:17 
GeneralRe: Dialog Displays Differently Pin
Reagan Conservative24-Jan-08 9:19
Reagan Conservative24-Jan-08 9:19 
QuestionRe: Dialog Displays Differently Pin
David Crow24-Jan-08 9:23
David Crow24-Jan-08 9:23 
GeneralRe: Dialog Displays Differently Pin
Reagan Conservative24-Jan-08 9:47
Reagan Conservative24-Jan-08 9:47 
QuestionRe: Dialog Displays Differently Pin
David Crow24-Jan-08 9:52
David Crow24-Jan-08 9:52 
GeneralRe: Dialog Displays Differently Pin
Reagan Conservative24-Jan-08 10:14
Reagan Conservative24-Jan-08 10:14 
QuestionRe: Dialog Displays Differently Pin
David Crow24-Jan-08 10:18
David Crow24-Jan-08 10:18 

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.