Click here to Skip to main content
15,507,293 members
Please Sign up or sign in to vote.
3.12/5 (3 votes)
See more:
I have an Ethernet camera which accepts URL commands to make it move e.g. "" will make it pan 10 degrees.

Is there an easy way to send these commands from a C++ Windows application? I have tried using ShellExecute which works OK but it opens up my web browser each time which I prefer not to happen.


Kornfeld Eliyahu Peter 6-Jan-15 8:53am    
You need a library for HTTP in C++...
See if you can pick one here:
Sergey Alexandrovich Kryukov 6-Jan-15 12:08pm    
Why? why?!
softwaremonkey 6-Jan-15 12:53pm    
Why? Why what?

Please explain further.
softwaremonkey 7-Jan-15 6:34am    
Thanks, your advice was useful and helped me find a solution

1 solution

The clear answer is: No. You got to implement some stuff.


1. open a connection to a server
2. post the commands
3. parse the result

Check the results and error codes!!!

This article provides a good overview: A Fully Featured Windows HTTP Wrapper in C++.

Tip: Wireshark is a fine tool to see what is going on the net.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900