Windows error 0x000000CF, 207

Detailed Error Information

RING2_STACK_IN_USE[1]

MessageThe ring 2 stack is in use.
Declared inwinerror.h

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

TERMINAL_SERVER_DRIVER_MADE_INCORRECT_MEMORY_REFERENCE[2]

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

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 Code207 (0x00cf)

Possible solutions

0

Reading a GUID Property from COM object with C++Builder

com
c++builder

Try calling it like this:

TAutoDriver<IFoo> foo;

// ...

GUID guid;
memset(&guid, 0, sizeof(guid));
// use -> to access the raw dual interface
HRESULT hr = foo->get_ProjectGUID(&guid); 
answered on Stack Overflow Apr 27, 2014 by Noseratio
0

Projection matrix causing inaccuracy in clip-space depth calculation?

c#
directx
direct3d
hlsl
slimdx

Your depth buffer always has the same value written into it because you have your projection matrix wrong. The value that actually gets written is the w-value so you need to juggle your matrix around a bit.

The DirectX documentation gives a good explanation of the perspective transform.

Basically your matrix should be as follows

W, 0, 0, 0
0, H, 0, 0
0, 0, Q, 1
0, 0, P, 0

Where

W = 1.0f / tanf( fovHoriz / 2 );
H = 1.0f / tanf( fovVert  / 2 );
Q = zFar / (zFar - zNear);
P = -Q * zNear;
answered on Stack Overflow May 20, 2013 by Goz • edited May 23, 2017 by Community

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