Re: one problem related to activeX function RtlValidateHeap
"Klic" <rohit.turambekar@gmail.com> wrote in message
news:6c478505-71fc-41bf-b3ae-79e87abd254d@m36g2000hse.googlegroups.com
bool AFPDataSourceInterface::GetBillData (const CString& account,
const CString& CSSid,
const CString& serialno, const CString& verno,
const int pageno, const int DBArea,
const int DBBucket, CString& result) // Out parameter
In Debug output window it shows :
HEAP[SMARTAPL.exe]: Invalid Address specified to
RtlValidateHeap( 02310000, 05DA1AF4 )
This has nothing to do with ActiveX - you are not doing COM.
As far as I can tell, you are passing C++ classes across module
boundaries. This can only work if both modules are compiled by the same
compiler with the same compiler settings, and are linked against the
same flavor of CRT DLL (that is, both use Multithreaded DLL or both use
Multithreaded Debug DLL). From the symptoms, it appears that the latter
is not the case in your setup.
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925