C++ Download file from internet with Winhttp [duplicate] - c++

This question already has answers here:
Closed 12 years ago.
Possible Duplicate:
How to download a file with WinHTTP in C/C++ ?
Hello! I have a simple question. How can you download a file from specific http page with the help of Winhttp in C++?
Note: I want to use this function for a console application.

You should try to read the API or a tutorial

Related

Dbeaver 7.0.4 No suitable driver found for jdbc:awsathena://AwsRegion=us-east-1; [duplicate]

This question already has answers here:
No suitable driver found for jdbc:amazonaws
(3 answers)
Closed 11 months ago.
This post was edited and submitted for review 10 months ago and failed to reopen the post:
Not suitable for this site
I have recently updated DBeaver from 7.0.4 to 22.0.1 and encountered this issue. I have tried to add SimbaAthenaJDBC-2.0.27.1001.zip into its library path but to no avail.
It works after I pointed it to AthenaJDBC41-1.1.0.jar
AthenaJDBC42.jar breaks my driver.

How to add code highlight to WebStorm? [duplicate]

This question already has an answer here:
Webstorm: ColdFusion Syntax
(1 answer)
Closed 7 years ago.
I have to work on a project that uses ColdFusion, and I would like to know if there is away that I can add code highlight and code suggestion for ColdFusion.
Is there a way that I create my own?
Get CFEclipse. This will provide code highlighting and a certain amount of autocompletion.
You can also trial Adobe's CFBuilder, but in my experience it's about equivalent.

How to make NetBeans autocomplete variable names in C++? [duplicate]

This question already has answers here:
netbeans c auto popup code completion
(4 answers)
Closed 7 years ago.
NetBeans has a great autocomplete, when I type a dot I get all possible methods. But when I'm typing a variable name I have to press CTRL+Space. How to automate it?
I found the answer:
https://stackoverflow.com/a/33748393/5566323
The solution is to add ;a;b;c;d;e;f;g;h;i;j;k;l;m;n;o;p;q;r;s;t;u;v;w;x;y;z; on the end of Popup Triggers:
As shown in this image

What would be the best way to connect to Facebook via C/C++? [duplicate]

This question already has an answer here:
Most complete c++ facebook library [closed]
(1 answer)
Closed 9 years ago.
I'm looking to create a desktop app in C/C++, most likely with Qt, that has the ability to connect (read/post) to Facebook. Which got me thinking, how exactly would you go about doing such a task? I know many desktop apps written in C++, such as Spotify, have the ability to do it. Are there any good libraries available? What's the common way to do it? Will I have to parse Javascript or PHP in C++? I know there's a C# API, which I've used, and it worked fine. Anything similar for C++? Thanks!
If you can get a C++ json interpreter you can use the Graph API. https://developers.facebook.com/docs/getting-started/graphapi/. You make queries over HTTPs and get a response in JSON that you can use however you want.

How to programatically write a PST file [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How can I create an Outlook PST file using .Net?
How can I write an Outlook PST file with headers? Preferably in .NET, though C++ or anything else would be useful too
I have looked at the PST SDK by Microsoft, but it appears to be read only.
The only code I have found is the CodeProject article "Writing Email to the File of the PST Format", but this code can't write e-mail headers - just body and subject.
Your best bet is to use Microsoft's Messaging API (MAPI). There's plenty of help available online, and there's a sample app called MFC Mapi that one of the Microsoft guys wrote to demonstrate how the API works.
Would the .pst file format documentation be of use to you? From the brief look I took, it seems to document the format itself, so you can implement reading/writing functionality. I don't know how detailed it is, since I haven't used it myself.
http://msdn.microsoft.com/en-us/library/ff385210%28v=office.12%29.aspx