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

List:       ms-dcom
Subject:    OT: Error Code 12?
From:       Mike Stratoti <Mike.Stratoti () BENTLEY ! COM>
Date:       2004-09-02 14:33:15
Message-ID: 8690E31BE4D6FF4F95A3179139A8E2364019B6 () exton10 ! bentley ! com
[Download RAW message or body]

Unfortunately, there can be many reasons for this error code.
One particularly obscure situation when I have seen this problem is when
a DLL 
is *not* linked with "-Fixed:No" and it can't be loaded into it's 
preferred base address.  

A "dumpbin -headers" on the main EXE and dependent DLLs may indicate the
problematic DLL(s).
Examine dumpbin's output "FILE HEADER VALUES" -> "characteristics" and
"OPTIONAL HEADER VALUES" -> "image base" for conflicting DLL addresses.

Rg,
Mike
 

-----Original Message-----

----------------------------------------------------------------------

Date:    Wed, 1 Sep 2004 11:53:57 -0700
From:    Christopher Lawton <clawton@CSC.COM>
Subject: OT: Error Code 12?

Can anyone explain what error code 12 (ERROR_INVALID_ACCESS) means?
Especially when returned by CreateProcess()?
Invalid access to what?

Thanks
Chris

----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.html
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

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

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