S
Sugan
Hi All,
I have a peculiar kind of issue after converting VC and VB code from
Visual studio 6.0 to Visual Studio 2005.
We have the business logic in the VC code which uses the ATL framework
and implements a COM server. VB code gives the GUI part of the project,
For reporting custom errors like invalid login, we use AtlReportError
method to report error from the VC code side.
While utilising the built VC dlls(unmanaged code), using VB 6.0
applications, we get the Error message text( like in the case of failed
login), exactly as we require. But while utilising the VC dlls in a VB
2005 application, instead of getting a error message we see "Exception
from HRESULT : 0x8004B411".
I do not know the reason cause for displaying such a error message
instead of the custom error message. Not sure whether i need to change
any settings in the project( any problem with interop dlls??).
I would appreciate your earnest help in this regard.
Thank you,
Sugan.
I have a peculiar kind of issue after converting VC and VB code from
Visual studio 6.0 to Visual Studio 2005.
We have the business logic in the VC code which uses the ATL framework
and implements a COM server. VB code gives the GUI part of the project,
For reporting custom errors like invalid login, we use AtlReportError
method to report error from the VC code side.
While utilising the built VC dlls(unmanaged code), using VB 6.0
applications, we get the Error message text( like in the case of failed
login), exactly as we require. But while utilising the VC dlls in a VB
2005 application, instead of getting a error message we see "Exception
from HRESULT : 0x8004B411".
I do not know the reason cause for displaying such a error message
instead of the custom error message. Not sure whether i need to change
any settings in the project( any problem with interop dlls??).
I would appreciate your earnest help in this regard.
Thank you,
Sugan.