Advertising in C++ DirectX Apps RRS feed

  • Question

  • I couldn't find a sample that demonstrates how you integrate Bing Ads with DirectX Metro Apps. Could anyone point me to a sample or documentation about that?


    Wednesday, September 12, 2012 9:25 AM


All replies

  • You'll need to check on the Microsoft Advertising Community.

    I believe that they are implemented as either an HTML or a Xaml control, so you can't use them in a pure DirectX app. You should be able to use them in a SwapChainBackgroundPanel.


    Wednesday, September 12, 2012 6:53 PM
  • Also, check out this documentation regarding DirectX and XAML interop (http://msdn.microsoft.com/en-us/library/windows/apps/hh825871.aspx). You would use the advertising controls in XAML, and then interop this with DirectX. You should be able to find samples for DirectX XAML interop, the main difference being that your XAML would contain an ad rather than app content.

    Dan Reagan | Microsoft | Windows Developer Preview Support

    Wednesday, September 12, 2012 7:44 PM