Original Post
I register a string class based on ATL's CString (pretty standard, registered as CDA). In addition, I have a function to download a page from the net: I can't use szHTML in my code since it's always null. I can declare the function as &inout which should work, but I wonder what I'm doing wrong in my code. Gilad
bool Get(const CString& szURL,CString& szHTML)
{
...
}
pEngine->RegisterObjectMethod("Http","bool get(const string ∈,string &out)", asMETHOD(CHttp,Get),asCALL_THISCALL);