This is a wee bit off topic for this list, but... since if anyone can answer
it you get a brand new shiny COM object to play with I thought I might as
well ask. (Actually two new CF/ASP COM objects.)


The short is: I have no problem returning large strings to CF from a COM.
Works fine. (Score 1 for CF.) But under ASP if the string is greater than
about 128kb it causes a vbscript exception. The c++ code is straight-forward
ATL, like:

        CComBSTR bstrtmp(str);
        if(!bstrtmp)
                return E_OUTOFMEMORY;
        else
                *pVal=bstrtmp.Detach();

....anyone ever encountered this before? It's probably one of those subtle
things I'm just to close to see.

thanks,
--min


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to