Writing C# GUI over a C++ dll or C++ exe
Posted
by
user97642
on Stack Overflow
See other posts from Stack Overflow
or by user97642
Published on 2011-01-14T04:10:25Z
Indexed on
2011/01/14
4:53 UTC
Read the original article
Hit count: 205
Hi
I have a C++ console Exe which does some progamming. Now i wanted to write a C# GUI which does some of the programming that the C++ exe does. I was thinking of few approaches,
- Write the C# GUI with all programming in C++ done from scratch.(I do not want to do this for the amount of rework it entails)
- Build a C++ dll which does the programming and have it imported in GUI app.(Now here i have a concern. How do i capture the output of the routines in c++ dll and display it in GUI? Should i return the output as string for every routine that the app calls.? Since i dont know managed c++ iam going to build an unmanaged C++ dll. )
© Stack Overflow or respective owner