[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ms-dcom
Subject:    »Ø¸´:      Re: Problem!
From:       ÕÅÇì <zqing () HUAWEI ! COM ! CN>
Date:       1996-06-27 1:44:24
[Download RAW message or body]


Keith:
Thank you!

-----Original Message-----
·¢¼þÈË: Keith Brown <kbrown@DEVELOP.COM>
ÊÕ¼þÈË: DCOM@LISTSERV.MSN.COM <DCOM@LISTSERV.MSN.COM>
ÈÕÆÚ: 1998Äê6Ô 27ÈÕ 5:50
Ö÷Ìâ: Re: Problem!


>Take a peek at your VC tools menu:
>Tools|Error Lookup.
>-2147352568 == 0x80020008 == "Bad Variable Type"
>
>To do this programmatically, here's a piece of code you can use:
>void DisplayError( HRESULT hr ) {
>  TCHAR sz[512];
>  FormatMessage( FORMAT_MESSAGE_FROM_SYSTEM, 0, hr, 0, sz, sizeof sz, 0 );
>  cout << sz << endl;
>}
>
>Keith
>http://www.develop.com
>
>> -----Original Message-----
>> From: Distributed COM-Based Code [mailto:DCOM@LISTSERV.MSN.COM]On Behalf
>> Of ÕÅÇì
>> Sent: Wednesday, June 26, 1996 6:53 AM
>> To: DCOM@LISTSERV.MSN.COM
>> Subject: Problem!
>>
>>
>> Hi,all:
>> I am new to DCOM,and I have a problem:
>> my DCOM Server was created use VC5.0 via ATL wizzard as a .exe
>> my DCOM Client was created use VC5.0 as a MFC exe
>> and My problem is :
>> I've tried to CreateInstance in my application,it works OK,I run my
>> application some times,And once I terminate my client application
>> abnormally,I can never CreateInstance of the server, the return value is
>> -2147352568,Why?
>> And How can I get the meaning the return value instead the number
>> as -2147352568 ?
>
>----------------------------------------------------------------
>Users Guide http://www.microsoft.com/workshop/essentials/mailfaq.asp
>contains important info including how to unsubscribe.  Save time, search
>the archives at http://microsoft.ease.lsoft.com/archives/index.html

----------------------------------------------------------------
Users Guide http://www.microsoft.com/workshop/essentials/mailfaq.asp
contains important info including how to unsubscribe.  Save time, search
the archives at http://microsoft.ease.lsoft.com/archives/index.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic