Frage

I want to redesign the UI for a pre-existing, working C project. It's not Visual Studio, it's plain .c and .h files. The changes I intend on making will require WPF (Windows Presentation Foundation).

I'm wondering if this is possible, and if so, how difficult it would be. Any links to tutorials, etc. would be fantastic. I can read and write C at a novice-intermediate level, but I'm very new to Visual Studio stuff.

War es hilfreich?

Lösung

Typically, the best approach for this type of work is to:

  1. Decouple the logic from the UI in the existing code base.
  2. Make a P/Invoke (C API) or C++/CLI wrapper for the logic
  3. Use C# to build the WPF front end for this.
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top