Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Browsing all 4845 articles
Browse latest View live
↧

Created Issue: Filters are no longer correct for compat headers [302]

With the move of the ```Release/include/compat/``` folder into ```Release/include/cpprest/details/```, the filters file no longer maps to real files.

View Article


New Post: http listener with the background worker?

What is the best practice about the following situation? void handle_request(http_request request) {// wait background thread to notify the result request.reply(received_result); } Can I avoid using...

View Article


Reviewed: C++ REST SDK 1.3.1 (Oct 15, 2014)

Rated 1 Stars (out of 5) - downloaded the msi installer package but Not able to execute the samples coming with the version bingRequest and others. The problem i am having is cannot open input file...

View Article

Reviewed: C++ REST SDK 1.3.1 (Oct 15, 2014)

Rated 1 Stars (out of 5) - 1. Why it created a new folder for installation why it does not integrated itself to visual studio libraries, header files everytime i need to include them by copying them...

View Article

New Post: http_client exception WinHttpSendRequest, WinHttpReceiveResponse

I Using this Code to Http Post Calling normal situation is success but many thread call situation is intermittent Fail exception [e.what():Error in:...

View Article


New Post: VS2012 + W7 + Platform Toolset = XP

We had functional project (C++ dll) developed in Visual Studio 2012 using Casablanca v.1.4. We've upgraded it to v.2.2 (using Visual Studio NuGet Manager - Manage NuGet Packages...). After some tweaks...

View Article

New Post: VS2012 + W7 + Platform Toolset = XP

Hi markyp82, This is a known issue that happened with our XP dll for the 2.2.0 release. Here is an issue tracking the problem. We will fix for our next release 2.3.0. Until then my recommendation would...

View Article

New Post: Set Process Affinity Mask

Hi Vitaly, This project is really just for the C++ Rest SDK, and we don't support Visual Studio 2010 any more so you will have to use an older version. The last release with 2010 support was 1.2.0....

View Article


New Post: Set Process Affinity Mask

Hi Steve, Thanks for your answer and the msdn link. We, actually, do use Casablanca library, but I had difficulties finding documentation, so this is all that I found. Can you give me some...

View Article


New Post: Set Process Affinity Mask

Hi Vitaly, Here is the msdn description for the API I think you need to use. Also you can just use however you normally go about setting the process affinity, for example using the...

View Article

New Post: http listener with the background worker?

Hi sunghun, The http_request;:reply(...) function returns a task<http_response>. I'm not entirely use what you mean by 'wait background thread to notify result'. But what you can do is you can...

View Article

New Post: Set Process Affinity Mask

Hi Steve, Yes, I saw that. I have difficulties understanding how I can guarantee this: "...It is valid to call this method only before the Resource Manager has been created, or between two Resource...

View Article

New Post: Timeout (after 2 minutes) on http_listener

It appears that the HTTP listener times out after 2 minutes (or maybe more). I am performing a task that can potentially take 30 minutes. Is there a way to increase the timeout?

View Article


Commented Unassigned: Package does not specify libs [303]

When compiling the tutorial, I get plenty of unresolved externals. Seems that the NuGet package is failing to specify library directories.Comments: Hi, Please post the exact error messages you're...

View Article

New Post: How to simply read a stream into a string?

Hi nesteruk,(1st and 2nd posts) In Casablanca, we use a different stream interface that better supports the task model. If you want to use a standard stream as one of our streams, you can use...

View Article


New Post: Timeout (after 2 minutes) on http_listener

Take a look at the reference documentation for http_listener_config.http://microsoft.github.io/cpprestsdk/classweb_1_1http_1_1experimental_1_1listener_1_1http__listener__config.html You can specify a...

View Article

New Post: Example for websocket_client->send() catching its exception if...

Hi, for a project I have to connect a C++ Rest SDK 2.2 client with a C# 4.5. WebSocket server, which works well, except: if the server closes the connection, the client dies with an unhandled (task)...

View Article


New Post: Example for websocket_client->send() catching its exception if...

Hi hermannf, You can either do:ws->send(msg).then([] (pplx::task<void> t) { try { t.get(); } catch (websocket_exception e) { /* .... */ } }); or (if this is your synchronization point)try {...

View Article

New Post: How to simply read a stream into a string?

I'm now trying the following, which crashes outright while trying to read a zero memory location: ``` http_client client(U("http://activemesa.com")); auto task =...

View Article

Image may be NSFW.
Clik here to view.

New Post: How to simply read a stream into a string?

View Article
Browsing all 4845 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>