Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# GUI Frontend

Tags:

c

c#

Is is possible to make a GUI in C# but make the actually program in C or C++.

Like say I want to make a chat application. I want the interface to be in C#. But I want to make all the actual code in C. Is this possible?

I found http://www.google.com/search?hl=en&q=P%2FInvoke&btnG=Google+Search&aq=f&oq=

does anyone have any better kind of information?

like image 380
dax Avatar asked Dec 31 '22 02:12

dax


1 Answers

Absoluely! A c# winform can call into managed or unmaged C or C++ dll's. See P/Invoke for more information.

Edit: Turns out there's a good thread on P/Invoke on the front page. :)

like image 189
JP Alioto Avatar answered Jan 06 '23 11:01

JP Alioto