Tips and tricks for developing Metro style apps using C++

Download this episode

Download Video

Description

C++ and XAML provide a new way for C++ developers to target Windows 8. This session will cover tips and tricks for effectively developing Metro style apps using C++. Topics covered will include the new Windows Runtime data types, using Exceptions, how to use the new Windows Runtime collections and the async programming model.

Day:

3

Code:

TOOL-845T

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      FrankieC

      Excellent session! Tons of examples for consuming winrt from c++.  Well worth the watch.

    • User profile image
      Essentia

      What's with the void main? Microsoft should have learned by now that this is non-standard.

      And what is with all this ridiculous syntax when C#, et all can just use wait (or whatever it's called)? Why do C++ get neglected?

    • User profile image
      bdhc73a

      Absolutely topnotch !

      Please do another sesion for the other topics in   "Using Windows Runtime Components in Visual C++"  at   http://msdn.microsoft.com/en-us/library/windows/apps/hh454076(v=VS.85).aspx">http://msdn.microsoft.com/en-us/library/windows/apps/hh454076(v=VS.85).aspx

      • Value structs  -- Why do we need these? Any chance that the types and data members could be inspectable at runtime?  Are these serializable?
      • Properties --  How do you specify whether the property is read-only? Just by not providing a set() ?
      • Ref classes --  When should you use them? What C++ class techniques are not allowed in ref classes?
      • Interfaces and Parameterized Interfaces -- Please explain parameterized interfaces.
      • Delegates -- Looks like delegates can be constructed from plain and member functions.  How about from member functions from classes that are not "ref" ?
      • Events -- How to add Events is covered, but how do you fire them?  Where are the methods for "event ReminderEventHandler^ Reminder;" documented?  Can non ref classes declare and use Events?
      • Inheritance -- Is is correct to says that ref classes consumed by Javascript must be sealed?  What is "sealed" anyhow?  Is it possible to inherit the metro GUI classes?  There is no documentation present currently.

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.