B
Bruise
in VC6-SP5 with ProcessPack, \Include\comip.h, there's a serious bug might
cause overwrite:
HRESULT CreateInstance(LPCSTR clsidStringA, IUnknown* pOuter = NULL, DWORD
dwClsContext = CLSCTX_ALL) throw()
e.g, when we write code calling ADO like
pRstEmployee.CreateInstance("ADODB.Recordset"));
pRstEmployee->Open(....
Above code would lead to unexpected stack-overflow in release version
Very curiously, the comip.h seems had avoided this error in VC7 of VS2003 by
somehow.
Anybody know it's VC6SP5's bug or ProcessPack's bug?
cause overwrite:
HRESULT CreateInstance(LPCSTR clsidStringA, IUnknown* pOuter = NULL, DWORD
dwClsContext = CLSCTX_ALL) throw()
e.g, when we write code calling ADO like
pRstEmployee.CreateInstance("ADODB.Recordset"));
pRstEmployee->Open(....
Above code would lead to unexpected stack-overflow in release version
Very curiously, the comip.h seems had avoided this error in VC7 of VS2003 by
somehow.
Anybody know it's VC6SP5's bug or ProcessPack's bug?