0

Can I use c# to make a UI for a c++ code?

I've made many mega codes in windows like banking system, store management system etc. using c++ for console app. Now I want to make UI for them for a desktop application. Now I want to know if I can make interface in c++? I've learned after some intensive googling that c# is good for Windows interfaces. So, if I make an interface in c#, is there any way I can use those c++ codes that I made earlier and link them with c# interface? Plus any suggestions from where can I learn to make GUI?

23rd Feb 2021, 11:42 AM
𝕊𝕠𝕙𝕒𝕚𝕓 𝔸𝕙𝕞𝕒𝕕
𝕊𝕠𝕙𝕒𝕚𝕓 𝔸𝕙𝕞𝕒𝕕 - avatar
1 Respuesta
+ 3
I would rather prefer going with a C++'s gui frameworks (eg: WxWidgets, Qt etc) instead. But if you really want to use C++ with C# then you can create a library in C++ and link it to from C# ( method found online )
23rd Feb 2021, 12:30 PM
Arsenic
Arsenic - avatar