c++ program /code to send sms to a mobile no. via internet? - c++

i want to implement sms sending module in my project .i don't have any idea how to deal with it .
if anyone know or have C++ or Visual C++ code to send sms to a mobile no. via internet .from where i can get it or how can i implement it in visual studio.

You could use the twilio api if you want.
https://www.twilio.com/blog/2010/12/new-c-twilio-api-wrapper-by-laurent-luce.html

Related

Windows client application using GSSAPI/Kerberos API to authenticate through KDC

Sorry for my question if it's obvious but I came from developing in the embedded world.
I m trying to develop a simple windows application in c/c++ to authenticate through KDC using either GSSAPI or Kerberos API directly. The assumption is the KDC and the server components are already in place. I think I understand how the whole process of authentication through Kerberos works between client, server and the KDC.
The problem is I don't know where to start to start using the GSSAPI or Kerberos API. I m using window 8 with visual studio 2013. Does windows SDK already pre-package with GSSAPI/Kerberos V5 API(maybe SSPI) for developer to start calling? I read on the web that application would need to go through SSPI to access the Kerberos API. Is that true? Seems like I can also download the Kerberos V5 SDK from MIT website but getting it to compile in windows is not simple.
I guess my question is what do I need to get start? I am struggling to see how all these different pieces fit together. Anyone who went through what I m going through or who can help is much appreciated.
Thanks
I came across the same problem and saw this Q unanswered if someone hasn't had much experience in this domain then it might makes sense to look at the following:
A basic client-server implemented using SSPI/GSS with detailed steps
on how to setup stuff.
The corresponding MSDN documentation to
wrap your head around the same piece of code.
A better description of how to map SSPI API's to GSS API's.
On *nix you mostly have to rely on GSSAPI, they are popular hopefully there will be a port for your environment.

How to get information when is connected to web site?

I want to set focus to search form on site http://www.filehippo.com/, and after that send some text (for example some application name what want to download).
But before that need to be shore if computer is connected to site. So now my question is how to implement some kind of listener who will wait for specific ip address of site, and after computer is connected get back information?
Only problem is that I develop in visual studio c++ and searching answer for those language, know that c++ is not best solution for task's like that but this is just one part of application and at now don't have time to study other language.
Os: WIN 7, 64, Visual studio 2010 c++
I am using WinINet API in order to access web services (HTTP POST) and download files hosted on web server (HTTP GET). It contains functions to connect to specific web site (e.g. InternetConnect), send and receive requests etc. so you might find it useful.

Using box.net, dropbox, (OR ANY cloud storage) with a C++ application

How do you use cloud storage such as Dropbox in your C++ Apllication ? I've checked out their API and they only have Java, Python, and Ruby options. If you cant use dropbox with a c++ app, is therte any cloud storage provider that has an API for C++.
The drop box APIs seem to be wrappers for a http interface.
So if you want to hit them up from C++ you can use a http supporting library like libcurl to access stuff using the REST api
Droper is an open source C++/Qt Dropbox client that I have recently wrote. It can be compiled for Windows and Linux, but the GUI is optimized for Symbian mobile phones. Check it out.
I've found several differnet APIs on their website, righ under the place you propably found the ruby / pathon stuff..
http://sharpbox.codeplex.com/
http://github.com/dkarzon/DropNet
Not sure if this is, wha you were looking for..

How to connect a C++ program to a WCF Service?

In the place I work there are some software written in C# and some written in C++ (the most important ones). Some time ago we decided it would be a good idea to track any possible problem in the software, by sending stack trace and exception information over a web service. So I came with a WCF Service, that gets the information and store them on a database and send an automatic e-mail. It worked, we had to secure it through password, it's done, but now I want our other software, the one written in C++, to use this webservice (this software is used both on windows and linux, so we can't just make a call to another software in the user machine).
I've googled about it, and found this tutorial on how to use gSOAP, which so far didn't help me very much (lots of errors, it is not very detailed, and the web.config file is impossible to read). I was wondering if is there any other way to achieve this. In adition, since I'm using authentication on my webservice, it now has a wsHttpBinding (which AFAIK isn't supported by gSOAP).
Can you guys help me out?
Since your WCF service is in C# with .NET, and the only issue is getting the C++ application to be able to talk to it, one way is to follow the advice in REST / SOAP Endpoints for a WCF service and related articles.
Your C# programs continue to have the full SOAP access to your service.
Your C++ programs could do something like this for REST access:
"Browse" to the HTTP GET URL for the service command you wanted.
Then toss (or parse and use) whatever response came back.
It is a pretty minimal change to your WCF service to offer both SOAP and REST.
The REST ability opens your service to JavaScript as well as C++ clients.
You may need to restrict the interface to simple data, or class objects that are easy to parse in C++.
Will the machines running the C++ applications have the .NET Framework installed?
Check out: Create WCF service for unmanaged C++ clients

How to integrate twitter with c++ application?

I have a C++ application that uses curl to go to log in to a website, get information, and then parse the information. Now I want to send myself an alert to my phone via sms or e-mail or I can I also send the alert to twitter and then get a notification that way.
My environment is windows vista and I use MSVS 8.
I just need something easy that i can throw together quick to notify myself when something on the webpage changes.
If there's anything that will work with curl (POST/GET), even better because I am already familiar with that.
thanks!
Twitcurl provides a Twitter API on top of cURL.