locked
C++\CLI RRS feed

  • Question

  • Hello everyone, I just want to merely know from you, that is C++\CLI is as good as C# for Windows Programming or not?

    Can we create WCF and WPF applications using C++\CLI ot MFC?

    Can we create Web-Based Application using C++\CLI or MFC?

    Can we create Windows Phone Applications using C++\CLI?

    or the C++\CLI and MFC is really limited to desktop applications.

    Thank your waiting for you response!


    Thursday, June 13, 2013 8:19 AM

Answers

  • Hello everyone, I just want to merely know from you, that is C++\CLI is as good as C# for Windows Programming or not?
     
    Can we create WCF and WPF applications using C++\CLI ot MFC?
     
    Can we create Web-Based Application using C++\CLI or MFC?
     
    Can we create Windows Phone Applications using C++\CLI?
     
    or the C++\CLI and MFC is really limited to desktop applications.
     
    Thank your waiting for you response!
    At this time, the sole purpose of C++/CLI is to wrap existing native C++ code so it can be used by a .NET application.
     
    For any other purpose, you are much better off using C#.
     
    [Of course if you are writing desktop applications then native C++ is a viable choice, and if you are writing windows store apps then C++/CX is a viable choice.]
     

    David Wilkinson | Visual C++ MVP
    • Marked as answer by Elegentin Xie Thursday, June 20, 2013 10:48 AM
    Thursday, June 13, 2013 10:24 AM
  • I pop between C++ (CLI and native), C#, and even Visual Basic depending on the customer.     

    While I wouldn't say that's the ONLY reason you'd want to use C++/CLI, I don't deny that you'll find it easier to do WPF/Windows Phone in C# or VB.

    As for Web apps, that's a pretty broad category.   There's still a lot of native mode code in web applications depending on just what you're doing.

    • Marked as answer by Elegentin Xie Thursday, June 20, 2013 10:48 AM
    Thursday, June 13, 2013 2:44 PM

All replies

  • Hello everyone, I just want to merely know from you, that is C++\CLI is as good as C# for Windows Programming or not?
     
    Can we create WCF and WPF applications using C++\CLI ot MFC?
     
    Can we create Web-Based Application using C++\CLI or MFC?
     
    Can we create Windows Phone Applications using C++\CLI?
     
    or the C++\CLI and MFC is really limited to desktop applications.
     
    Thank your waiting for you response!
    At this time, the sole purpose of C++/CLI is to wrap existing native C++ code so it can be used by a .NET application.
     
    For any other purpose, you are much better off using C#.
     
    [Of course if you are writing desktop applications then native C++ is a viable choice, and if you are writing windows store apps then C++/CX is a viable choice.]
     

    David Wilkinson | Visual C++ MVP
    • Marked as answer by Elegentin Xie Thursday, June 20, 2013 10:48 AM
    Thursday, June 13, 2013 10:24 AM
  • I pop between C++ (CLI and native), C#, and even Visual Basic depending on the customer.     

    While I wouldn't say that's the ONLY reason you'd want to use C++/CLI, I don't deny that you'll find it easier to do WPF/Windows Phone in C# or VB.

    As for Web apps, that's a pretty broad category.   There's still a lot of native mode code in web applications depending on just what you're doing.

    • Marked as answer by Elegentin Xie Thursday, June 20, 2013 10:48 AM
    Thursday, June 13, 2013 2:44 PM