11-01-2016, 07:04 PM
Hi Garrett, here's the code I use, which is pretty close to the sample code you provided earlier. It simply sends a string and receives the plugin's current version number:
In the .h file:
In the .cpp file:
The fail callback is correctly called. TIA for any suggestions.
In the .h file:
Code:
hdi::core::InternetGET* iGET;
In the .cpp file:
Code:
std::string GETtxt = "http://someurl.com/breakingbad.php?prdID=P12r";
this->iGET = hdi::core::InternetGET::Async(GETtxt,HDI_CORE_CALLBACK(theReg, this, _checkVersionOKCB), HDI_CORE_CALLBACK(theReg, this, _checkVersionFailCB));
if(this->iGET)
{
this->iGET->run();
}
The fail callback is correctly called. TIA for any suggestions.