Click to See Complete Forum and Search --> : WPF in C++
^Johnny2Bad
March 19th, 2008, 06:04 AM
This may sound like a stupid question. I recently downloaded Visual Studio 2005 .net 3.5 and I thought WPF extensions would be available for VC++. From what I've seen from the project types you are limited to windows forms applications.
Have I missed something, or is there special steps involved in getting WPF to work with VC++?
Thanking you in advance,
Jonathan.
Alex F
March 19th, 2008, 03:48 PM
Sorry for uninformative post, but the answer is obvious: don't write UI in C++/CLI. C# is much better for this, and I don't expect that UI technologies will be supported in future VS versions in C++ on the same level as in C# and VB. C++/CLI should be used for writing middle-level libraries for accessing unmanaged code. The best choice for UI development is C# (or even VB, sorry again for writing "VB" in C++ forum :) )
^Johnny2Bad
March 19th, 2008, 04:32 PM
That is rather annoying, now I have to learn yet another language. Fancy M$ discouraging people from using C++, by limiting its scope.
This leaves me one unhappy C++ developer.
Thanks for your help (off too start learning C#),
Jonathan.
abno1
October 24th, 2009, 09:30 AM
Jonathan
We are C++ lovers must help ourselves!
Here is a posting which should get you up and running......
http://www.codeguru.com/cpp/cpp/cpp_managed/general/article.php/c16355
Arjay
October 24th, 2009, 02:51 PM
Fancy M$ discouraging people from using C++, by limiting its scope.It isn't about that at all. It's simple a matter of demand and available resources. I think that MS believes there isn't too much demand for folks wanting to add WFP to C++. In spite of what many folks believe, MS doesn't have unlimited resources, so they aren't going to add a feature unless they feel there is a very strong demand for it.
Arjay
October 24th, 2009, 02:59 PM
Jonathan
We are C++ lovers must help ourselves!
Here is a posting which should get you up and running......
http://www.codeguru.com/cpp/cpp/cpp_managed/general/article.php/c16355
That's a good article; however it codes WPF imperatively rather than using xaml's declarative style.
While this may not seem like a big deal, it precludes using Expression studio to generate the UI, or even using the built-in xaml resource editor in Visual Studio.
So sure you can do it, but if you are familar with WPF, you'll realize it's not a very efficient approach to creating UI.
codeguru.com
Copyright WebMediaBrands Inc., All Rights Reserved.