 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Ken Pfeiffer Guest
|
Posted: Wed Aug 02, 2006 8:40 pm Post subject: OLE Error |
|
|
Does anyone know what "OLE error 84C3ED0E" means,
or how I can find out? |
|
| Back to top |
|
 |
John Carlyle-Clarke Guest
|
Posted: Thu Aug 03, 2006 12:49 am Post subject: Re: OLE Error |
|
|
"Ken Pfeiffer" <kenp (AT) sonultra (DOT) com> wrote in news:44d0c767
@newsgroups.borland.com:
| Quote: | Does anyone know what "OLE error 84C3ED0E" means,
or how I can find out?
|
Normally Google finds it for you somewhere, but not this one!
If you look in Windows.pas, you'll see this:
(*
The return value of OLE APIs and methods is an HRESULT.
This is not a handle to anything, but is merely a 32-bit value
with several fields encoded in the value. The parts of an
HRESULT are shown below.
HRESULTs are 32 bit values layed out as follows:
3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
+-+-+-+-+-+---------------------+-------------------------------+
|S|R|C|N|r| Facility | Code |
+-+-+-+-+-+---------------------+-------------------------------+
where
S - Severity - indicates success/fail
0 - Success
1 - Fail (COERROR)
R - reserved portion of the facility code, corresponds to NT's
second severity bit.
C - reserved portion of the facility code, corresponds to NT's
C field.
N - reserved portion of the facility code. Used to indicate a
mapped NT status value.
r - reserved portion of the facility code. Reserved for
internal
use. Used to indicate HRESULT values that are not
status
values, but are instead message ids for display
strings.
Facility - is the facility code
Code - is the facility's status code
*)
Your number gives:
Severity = 1 (Fail)
R = 0
C = 0
N = 0
r = 0
Facility = $4C3
Code = $ED0E
Unfortunately this is where I grind to a halt, because $4C3 is a
totally unknown facility code. This just doesn't look like a
standard HRESULT.
Are you sure it's not an internal code that is not meant to escape?
Found this useful tool, by the way:
http://www.winwonk.com/utils/HRPlus.zip
It decodes the HResults for you. It doesn't recognise this one. |
|
| Back to top |
|
 |
Ken Pfeiffer Guest
|
Posted: Sun Aug 06, 2006 2:34 am Post subject: Re: OLE Error |
|
|
Thanks, John. I appreciate you taking the time to help.
What you posted is a good education for me!
"John Carlyle-Clarke" <jpcc (AT) removethis (DOT) bigfoot.com> wrote in message
news:Xns9813D3F514DE7discombobulation (AT) 207 (DOT) 105.83.66...
| Quote: | "Ken Pfeiffer" <kenp (AT) sonultra (DOT) com> wrote in news:44d0c767
@newsgroups.borland.com:
Does anyone know what "OLE error 84C3ED0E" means,
or how I can find out?
Normally Google finds it for you somewhere, but not this one!
If you look in Windows.pas, you'll see this:
(*
The return value of OLE APIs and methods is an HRESULT.
This is not a handle to anything, but is merely a 32-bit value
with several fields encoded in the value. The parts of an
HRESULT are shown below.
HRESULTs are 32 bit values layed out as follows:
3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
+-+-+-+-+-+---------------------+-------------------------------+
|S|R|C|N|r| Facility | Code |
+-+-+-+-+-+---------------------+-------------------------------+
where
S - Severity - indicates success/fail
0 - Success
1 - Fail (COERROR)
R - reserved portion of the facility code, corresponds to NT's
second severity bit.
C - reserved portion of the facility code, corresponds to NT's
C field.
N - reserved portion of the facility code. Used to indicate a
mapped NT status value.
r - reserved portion of the facility code. Reserved for
internal
use. Used to indicate HRESULT values that are not
status
values, but are instead message ids for display
strings.
Facility - is the facility code
Code - is the facility's status code
*)
Your number gives:
Severity = 1 (Fail)
R = 0
C = 0
N = 0
r = 0
Facility = $4C3
Code = $ED0E
Unfortunately this is where I grind to a halt, because $4C3 is a
totally unknown facility code. This just doesn't look like a
standard HRESULT.
Are you sure it's not an internal code that is not meant to escape?
Found this useful tool, by the way:
http://www.winwonk.com/utils/HRPlus.zip
It decodes the HResults for you. It doesn't recognise this one. |
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|