Windows error 0x000000C9, 201

Detailed Error Information

RELOC_CHAIN_XEEDS_SEGLIM[1]

MessageThe operating system cannot run %1.
Declared inwinerror.h

This appears to be a raw Win32 error. More information may be available in error 0x800700C9.

DRIVER_VERIFIER_IOMANAGER_VIOLATION[2]

This is a Blue Screen of Death stop code. More information is available in the Knowledge Base article Bug Check 0xC9: DRIVER_VERIFIER_IOMANAGER_VIOLATION.

HRESULT analysis[3]

This is probably not the correct interpretation of this error. The Win32 error above is more likely to indicate the actual problem.
FlagsSeveritySuccess

This code indicates success, rather than an error. This may not be the correct interpretation of this code, or possibly the program is handling errors incorrectly.

Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode0 (0x000)
NameFACILITY_NULL[3][1]
DescriptionThe default facility code.[3][1]
Error Code201 (0x00c9)

Questions

9votes
2answers

Delphi [weak] reference attribute produces "Invalid class typecast" when implementation is in more than one library

Delphi Berlin 10.1 adds [weak] references. Marco Cantu's Blog has some basics on it. For my test I created two COM libraries holding two automation object types. The container object holds a list of the content objects while the content objects holds a weak reference to their container. The following [...] read more
delphi
com
delphi-10.1-berlin
4votes
1answer

Delphi COM object not showing up in .NET

I am trying to create a COM object in Delphi and use it in a C# WPF project. I have created a new DLL project in Delphi 10.3, using File -> New -> Other, then Delphi -> Windows -> ActiveX Library. I have created the following IDL in the GUI [...] read more
c#
.net
wpf
delphi
pascal
3votes
1answer

What is the correct way to pass a COM Interface back to a library?

I get an System.InvalidCastException runtime error when trying to pass an interface as a parameter from .NET to a DLL. The code fails on the .NET side and never makes it over to Delphi side. Construct a simple ActiveX library dll in Delphi. Two Automation Objects: MyContent and MyContainer. MyContainer [...] read more
c#
delphi
com
delphi-10.1-berlin
3votes
1answer

Is it possible to debug a COM dll in VS2008?

This may be a very stupid question. Is it possible to debug a COM dll in VS2008 for which I do not have the source code? The reason I want to do this is I am passing an Array to a COM method and I expect this Array to be [...] read more
visual-studio
debugging
com
com-interop
2votes
1answer

Unable to pass a string from VBA (Excel) to my COM object

I am experimenting with creating a COM interface for my application in order to allow eg. VBA to drive certain parts of my application. I have my COM library up and running and installed, even to the part where a routine called in Excel can be debugged in the Delphi [...] read more
vba
delphi
com
2votes
1answer

Returning TAutoIntfObject instance from TAutoObject

I'm creating a COM server to allow automation of my program by third party programs. Given that I need to pass around objects with lots of properties, I'm trying to create methods to create such objects for the clients to use. (The intention for this is to allow client programs [...] read more
delphi
com
delphi-xe
1vote
0answers

Calling Delphi Code from script running in a TWebBrowser with object and function as parameters

Based on this article on DelphiDabbler, is it possible to include a pointer and/or function as calling parameter for callback purposes? Assuming i have declarations as follows: 1. Type Library (.idl file) interface IMyExternal: IDispatch { [id(0x000000C9)] HRESULT _stdcall RequestData([in] variant lparam, [in] variant wparam, [in] bstr strparam, [out, retval] [...] read more
delphi
ole
typelib
1vote
0answers

linq2sql Access violation on SingleOrDefault

I have .net 4.0 service that crashes from time to time, the code that is responsible for crash runs every few minutes on its own task with its own database context. After analyzing crash dump I get this managed call stack: (TransitionMU) 0DBFE30C 72720900 mscorlib_ni!System.DefaultBinder.SelectMethod(System.Reflection.BindingFlags, System.Reflection.MethodBase[], System.Type[], System.Reflection.ParameterModifier[])+0x84 0DBFE34C 7271CE3E [...] read more
c#
linq-to-sql
task
native
access-violation
1vote
1answer

Why does ITypeInfo::Invoke return 0x80020003 (Member not found.)?

I am having trouble implementing an event sink for DShellWindowsEvents from SHDocVw.dll in Microsoft Visual C++. The problem arises inside my implementation of IDispatch::Invoke. I implemented it by delegating its call to ITypeInfo::Invoke (as suggested by Microsoft on remarks section), but it always fails with error code 0x80020003 (Member not [...] read more
c++
events
com
activex
ole
1vote
1answer

Does COM support multiple dual interfaces?

I have made a COM object with multiple dual interfaces. It worked in an earlier version of compiler, but not in the current version. My question: Does the COM spec say this should work (and therefore I should report a compiler bug), or is not meant to work? This page [...] read more
com
c++builder
idispatch

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-check-code-reference2
  3. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0