Answered Accessing Bing API – Win8 / Metro / C++

  • Monday, August 13, 2012 1:24 AM
     
     

    Hi

    I’m working on a Win 8 Metro app using C++. I’m looking to create a data container class similar to the one you can find in BingContainer.cs – unless there’s already one made by Microsoft?

    In a Win 8 Metro / C# app, I can use BingContainer.cs and add a reference to:

    C:\Program Files (x86)\Microsoft WCF Data Services\5.0\bin\Metro\Microsoft.Data.Services.Client.Metro.dll

    to make it work. But with C++, I can’t add the reference. When I try, it says that the dll is:

    “neither a .NET assembly nor an ActiveX control.”

    Is it possible to access the Bing API using C++ under Win 8 / Metro with some help from the data services classes? Or do I need to just make the https request and deal with parsing the resultant XML or JSON myself?

    Any pointers appreciated. Thanks!

    Victor David


    • Edited by VictorDavid Monday, August 13, 2012 4:09 PM
    •  

All Replies