Visual C++ Access violation reading location 0x00000004
Posted on 2010-08-14
Well...i've converted to bstr 10 different ways and still get this error.
Unhandled exception at 0x00f61ce0 (FEPAdapterWrapperCPP2.dll) in ceraexe0471.exe: 0xC0000005: Access violation reading location 0x00000004.
I’m sure it just has to do with the way I’m referring to a variable…. Here is the code causing the error.
Last line is where the error occurs……. pstrInputClaim is passed into this function as a char
BSTR bstrInputClaim = bstr.Copy();
vResult = plDomDocument->loadXML(bstrInputClaim,&bSuccess);
thanks for your continued support : )