Note that there are some explanatory texts on larger screens.

plurals
  1. POMost simple C++ PUSH notification / POST solution to use inside a DLL?
    primarykey
    data
    text
    <p>I am making a Winamp plugin with the single function of sending the details of the song being played over HTTP to a webpage/webserver. I couldn't find anything like this that actually works, so decided to dive in for the first time into C++ and just do it myself.</p> <p>The plugin is a C++ DLL file. I have got to the point where I can output the song title to a windows message box every time a new song is played (not bad for a C++ first-timer! ;) )</p> <p>Where am I stuck:</p> <p>I couldn't find anything to get me in the push notification on C++ direction AT ALL.</p> <p>I tried, without any success, embedding/including HTTP libraries into my DLL to try post requests instead. libcurl, this <a href="http://www.codeproject.com/Articles/66625/A-Fully-Featured-Windows-HTTP-Wrapper-in-C" rel="nofollow">library here</a>, and <a href="http://scumways.com/happyhttp/happyhttp.html" rel="nofollow">this library</a> too - but couldn't get any of them to work! I just kept getting linking errors and then some. After a few hours I just gave up.</p> <p>I am a very skilled JavaScript programmer so I thought perhaps using JS to connect into a push notification service can work out but running JS inside C++ looks too complicated to me. Perhaps I'm wrong?</p> <p>Bottom line, I don't know which solution is better (read: easier) to implement - push notifications or post requests?</p> <p>I appreciate any solutions/input/directions/information or whatever you got. I can post code but the only code I have is the part getting the song information from Winamp and that part works.</p> <p>Thanks in advance.</p> <p><strong>EDIT: I guess it's worth noting I'm using the new VS2012?</strong></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload