Home > Software engineering >  How to add in the MFC DLL program has written a good MFC dialog application
How to add in the MFC DLL program has written a good MFC dialog application

Time:10-07

As title, I now have a winform interface but you need to call a MFC program so hopes to the MFC dialog application to generate a DLL file to winform calls it,, so I set up an MFC DLL and then want to write this has good dialog program directly imported into the DLL excuse me is there any way?? MFC novice hope I can answer detail if you have a tutorial that is the best thank you very much

CodePudding user response:

You might as well directly run the MFC exe whole into the DLL does not have to preach and call

CodePudding user response:

reference 1st floor GLDCPP response:
you might as well directly run the MFC exe whole into the DLL does not have to preach and call it


No I need to pass some data in winform

CodePudding user response:

How from the DLL project has written dialog add?????

CodePudding user response:

MFC programs written entry function as the entrance of the DLL function, and where you need to call to perform this function

CodePudding user response:

Your dialog is a separate exe executable program? If it is, I feel a bit strange, winform interface, to call a DLL in the dialog box, if I were to write, just do the dialog box procedure in a DLL, the export function, just call DLL in winform, dialog related code in the DLL are handled, individual humble opinion! A drill guide jade!

CodePudding user response:

Many process more simple?
  • Related