Click here to Skip to main content
15,929,430 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC DLL Pin
bhanu_850923-Jun-08 23:13
bhanu_850923-Jun-08 23:13 
AnswerRe: MFC DLL Pin
Hamid_RT23-Jun-08 21:24
Hamid_RT23-Jun-08 21:24 
GeneralRe: MFC DLL Pin
theCPkid23-Jun-08 22:26
theCPkid23-Jun-08 22:26 
GeneralRe: MFC DLL [modified] Pin
bhanu_850923-Jun-08 23:12
bhanu_850923-Jun-08 23:12 
GeneralRe: MFC DLL Pin
bhanu_850924-Jun-08 1:54
bhanu_850924-Jun-08 1:54 
GeneralRe: MFC DLL Pin
theCPkid24-Jun-08 2:19
theCPkid24-Jun-08 2:19 
GeneralRe: MFC DLL Pin
bhanu_850925-Jun-08 1:53
bhanu_850925-Jun-08 1:53 
GeneralRe: MFC DLL Pin
theCPkid27-Jun-08 22:11
theCPkid27-Jun-08 22:11 
oh! I am sorry for the very late reply.

"Is it possible to migrate the VC++ MFC code into Windows application form"
> No. AFAIK, you cannot directly copy MFC code into C#. You will need to make significant changes as the two languages are different.

But you have no trouble. Just create a dll. For that, create an empty MFC dll using wizard, and then copy your mainframe, view and doc class (assuming you are using doc/view architecture in MFC application) directly into dll and write the functions you want to export in the one cpp file of dll created by wizard.

You wont need to do any changes in code to create dll. and then you can use this dll in your C# application.

Hope that helps.

the fruits of your success will be in direct ratio to the honesty and sincerity of your own efforts in keeping your own records, doing your own thinking and, reaching your own conclusions.
..surviving in autumn..in love with spring..

QuestionSetting the wallpaper Pin
theCPkid23-Jun-08 21:10
theCPkid23-Jun-08 21:10 
AnswerRe: Setting the wallpaper Pin
Hamid_RT23-Jun-08 21:23
Hamid_RT23-Jun-08 21:23 
AnswerRe: Setting the wallpaper Pin
theCPkid23-Jun-08 22:33
theCPkid23-Jun-08 22:33 
GeneralRe: Setting the wallpaper Pin
Hamid_RT24-Jun-08 0:23
Hamid_RT24-Jun-08 0:23 
AnswerRe: Setting the wallpaper Pin
Jijo.Raj24-Jun-08 0:30
Jijo.Raj24-Jun-08 0:30 
GeneralRe: Setting the wallpaper Pin
theCPkid24-Jun-08 2:38
theCPkid24-Jun-08 2:38 
GeneralRe: Setting the wallpaper Pin
Jijo.Raj24-Jun-08 3:41
Jijo.Raj24-Jun-08 3:41 
QuestionWM_KILLFOCUS problem Pin
danginkgo23-Jun-08 20:59
danginkgo23-Jun-08 20:59 
AnswerRe: WM_KILLFOCUS problem Pin
SandipG 23-Jun-08 21:20
SandipG 23-Jun-08 21:20 
GeneralRe: WM_KILLFOCUS problem Pin
danginkgo23-Jun-08 21:45
danginkgo23-Jun-08 21:45 
GeneralRe: WM_KILLFOCUS problem Pin
SandipG 23-Jun-08 21:49
SandipG 23-Jun-08 21:49 
GeneralRe: WM_KILLFOCUS problem Pin
danginkgo23-Jun-08 21:54
danginkgo23-Jun-08 21:54 
GeneralRe: WM_KILLFOCUS problem Pin
danginkgo23-Jun-08 22:04
danginkgo23-Jun-08 22:04 
GeneralRe: WM_KILLFOCUS problem [modified] Pin
SandipG 23-Jun-08 22:26
SandipG 23-Jun-08 22:26 
GeneralRe: WM_KILLFOCUS problem Pin
danginkgo24-Jun-08 0:34
danginkgo24-Jun-08 0:34 
GeneralRe: WM_KILLFOCUS problem Pin
SandipG 24-Jun-08 0:43
SandipG 24-Jun-08 0:43 
GeneralRe: WM_KILLFOCUS problem Pin
danginkgo24-Jun-08 0:50
danginkgo24-Jun-08 0:50 

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.