New Post: pplx Exception
Hi kisuya, What is happening is you have an exception from a task going unobserved so it is being throw out of the destructor of the last task handle. This means you have an operation in your program...
View ArticleNew Post: Using Casablanca Listeners for Web Application
Hi Claudio, Most of our focus so far has been on the client side portions of Casablanca, our uri, json, http client, websocket client (soon). We do have a library http listener that I encourage you to...
View ArticleNew Post: Empty response using https on Windows
Hi whudson_syntagm, From what you are describing here it sounds like some sort of a caching issue although it seems weird with http vs. https, but I'm not sure. I have a couple of questions to help...
View ArticleCommented Feature: Additional platform support: MacOS [35]
Please vote if this is an important scenario for you. If the lack of this feature is is blocking your adoption of the C++ REST SDK, please comment below.Note: We cannot guarantee that this feature will...
View ArticleNew Post: pplx Exception
Wow. You're right! I've been using value-based continuation. I understood that using a task-based continuation in this time. Thanks Steve.
View ArticleNew Post: How to compile BingRequest with common language runtime support?
I am using Visual Studio 2010 and I need the option Common Language Runtime Support set to Common Language Runtime Support /clr. With /clr set I get some errors: 1>BingRequest.obj : error LNK2028:...
View ArticleNew Post: How to compile BingRequest with common language runtime support?
Hi Adrian, PPL and Casablanca don't support compilation with /clr. Also Casablanca only support two versions of Visual Studio at a time so that we can take advantage of newer C++ features. Right now we...
View ArticleNew Post: cant download files from skydrive using the c++rest sdk
i cant seem to download any files from skydrive using the c++ rest sdk. I tried the sample app WindowsLiveAuth and the same exception occurs when i try downloading a file. When the app breaks on...
View ArticleNew Post: Possible bug in json parser (v1.4.0)
Hi folks, Great work - thanks for the XP support :) I was just diagnosing a difficult bug today (of the type that only appear on some PCs...). I narrowed it down to the json parser - see below. The...
View ArticleNew Post: Has anyone used Casablanca on Android or iOS?
c2c wrote: I use NDK_TOOLCHAIN_VERSION=4.7 , I think 4.8 also exist. NDK has prebuilt compiler binaries for use. I don't think that's the issue. The most problematic is that some error indicate a...
View ArticleNew Post: Empty response using https on Windows
To circle back around and share on CodePlex William shared with me a code snippet and his test server and we figured out the problem. I noticed that there isn’t a Content-Length header and...
View ArticleNew Post: Has anyone used Casablanca on Android or iOS?
We have abandoned Casablanca due to its lack of mobile support (MS not serious about non Windows platforms; same mistake Intel is facing; wintel legacies). The approach we took (if it can help). 1)...
View ArticleNew Post: Invoke REST Service with windows authentication
Hi, I have a WCF REST Service for which I have enabled the "windows authentication". I am trying to write REST Client which will invoke this service by passing the current logged in windows user...
View ArticleNew Post: Has anyone used Casablanca on Android or iOS?
Hi c2c, Sorry to hear you have decided to stop using Casablanca due to lack of mobile support. While yes we have unfortunately been slow to add support on additional platforms it is important to us. In...
View ArticleNew Post: Invoke REST Service with windows authentication
Hi jagsanand, The currently logged in user credentials in some cases will automatically be used if challenged for authentication. What platforms are you running on. For Windows desktop, WinHttp under...
View ArticleNew Post: force application to display a log in pop up and not use the...
I am logging in to a Microsoft account from my windows store app(i am using the live_connect.h header file included in WindowsLiveAuth sample code). If a user is already signed in to a Microsoft...
View ArticleNew Post: REST equivalent for response.Content.ReadAsByteArrayAsync().Result
Hello, I am trying to translate some C# code to C++ and these lines are not working in any way I tried:var response = ApiClient.SendAsync(request).Result; /* Read the response */ var content =...
View ArticleNew Post: How to compile BingRequest with common language runtime support?
Hi Steve, Thanks a lot for this elucidation. I will port everything someday to 2013 but now I don't have enough time to do that so I will use it as a dll with the /clr option disable and in the other...
View ArticleNew Post: REST equivalent for response.Content.ReadAsByteArrayAsync().Result
Hi Adrian, You have a couple of options. First let me explain why the first two you tried don't work. In the first one you are reading line by line with the read_line(...) method. This isn't going to...
View ArticleNew Post: force application to display a log in pop up and not use the...
Hi, For logging into Live, WindowsLiveAuth sample uses the Windows Runtime (WinRT) OnlineIdAuthenticator API. Upon successful login, the sample stores the access_token (m_token in live_connect.h) for...
View Article