Hybrid application: C++, Win32 and WinForms

I'm preparing a new version of an MPEG encoder application which is now a Win32 C++ app based on DirectX and some ASM routines.

For this new version I'd like a major release to embrace new .Net technology, so it seems that the solution would be to:

  • use WinForms or the GUI for multilanguage and skin support
  • use C/C++ and ASM for encoding routines for speed
  • use DirectShow for the video playback

How should I start the new Visual Studio 2005 application A Win32 A WinForms

Any tips, suggestions

Thanks for help.



Answer this question

Hybrid application: C++, Win32 and WinForms

  • Nick Hustak

    In visual studio 2005 you can have multiple projects in your solution. So you could start with a WinForms app in C# and later add a new project using Visual C++ to the same solution.

    By default the solution view is disabled (Can some one from MickeySoft answer why ), but can be enabled by checking Tools->Options->Projects and Solutions->General->Always show solution.

    In your solution properties you can enable/disable project startup properties (you can even have multiple projects starting) and can also configure your build properties and order.

    My only suggestion is that you start with a blank solution template and add C#/C++/VB or even J# projects to that solution as required. Hope this helps!



  • dadomingues

    Thanks, you've confirmed my understanding so I'll go that way :)
  • Hybrid application: C++, Win32 and WinForms