Home > Software engineering >  Want to how to the dllmain call MFC window, please?
Want to how to the dllmain call MFC window, please?

Time:09-18

At present there is a demand

Going inside the dllmain call MFC window to display

Excuse me, does this how to do?

CodePudding user response:

The demand of people haven't written a DLL yourself?

Dllmain call MFC window would deadlock, the solution is not to do that,

CodePudding user response:

The landlord would like to ask is: dynamic library used in the dialog box resource?
https://blog.csdn.net/rankun1/article/details/50611622

CodePudding user response:

reference 1st floor Jiang Sheng response:
the demand of people he hasn't written a DLL?

Dllmain call MFC window would deadlock, the solution is not to do that,


In dllmain before I go to call the CLR winform window

Execution is no problem, I do this will be a deadlock?

CodePudding user response:

Can, in the dllmain reopen one thread to create dialog box

CodePudding user response:

Open thread also have risks, oneself go to see the DLLMain document,

DLLMain inside can't call the Windows API has a long list,

CodePudding user response:

Use the wizard to create the MFC DLL, operating in the InitInstance


  • Related