Tutorial for Metro Apps using C++ not working for other atom feeds


  • Hi,

    I am a newbie to C++ so this question may appear silly to most of you.

    I have referred the tutorial at: http://msdn.microsoft.com/en-us/library/windows/apps/hh465045.aspx ... Over here, I have completed till the first part of the tutorial. The issue that I am facing is that the tutorial works for me for the atom url mentioned in the example (i.e. http://windowsteamblog.com/windows/b/developers/atom.aspx)...

    However, when I try it for any other atom url, it throws an exception when I try to invoke the client to fetch the feeds (i.e. 

    auto feedOp = client->RetrieveFeedAsync(feedUri); feedOp = client->RetrieveFeedAsync(feedUri);)

    Am I missing anything here?

    Any help would be highly appreciated.

    Regards, Saurabh

    Friday, June 29, 2012 3:43 AM


  • I tried using another feed and also get an exception.

    Looking at the stack trace the line in App.xaml.xpp is where the app falls over.

    feedItem->Author = item->Authors->GetAt(0)->Name;

    in method GetFeedData.

    I commented out this line and the crash does not occur. Maybe you could try that?

    Sunday, July 1, 2012 3:47 PM