locked
Advertising in C++ DirectX Apps

    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?

    weichhold.com

    Wednesday, September 12, 2012 9:25 AM

Answers

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.

    --Rob

    Wednesday, September 12, 2012 6:53 PM
    Owner
  • 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