|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Amar (Amarjeet.singh
KLA-TENCOR.COM)Date: Tue Mar 12 2002 - 11:27:28 CST
Hi All,
Why do it heppen that _bstr_t crashes in the folowing scenerios:
1) It crashes If you use BSTR = _bstr_t.copy(), ideally it shouldn't in
this case
2) It doesn't crashes if you use BSTR = _bstr_t, it should crash in this
case.
3) If we have used _bstr_t inside a function for any reason, The moment
function returns at the closing curly brashes (even though function returns
void)it crashes the application .
These scenerios are not repeated everytime but are more likely to occur.
The crashed application takes you to a point in COMIP.H
void _Release() throw()
{
if (m_pInterface != NULL) {
m_pInterface->Release();
}
}
Your suggestions please.
Thanks.
Amar.
----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]