Windows error 0x00000512, 1298

Detailed Error Information

APP_HANG[1]

MessageA thread involved in this operation appears to be unresponsive.
Declared inwinerror.h

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

HRESULT analysis[2]

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[2][1]
DescriptionThe default facility code.[2][1]
Error Code1298 (0x0512)

Questions

10votes
5answers

How to make a enum with values over max int allowed?

I'm making a enum in c++ to make a finite state machine using binary flags. It looks like: enum VStates { NEUTRAL = 0x00000000, // 000000 // Physical Status DRY = 0x00000001, // 000001 WET = 0x00000002, // 000010 HOT = 0x00000004, // 000100 COLD = 0x00000008, // 001000 BURNED [...] read more
c++
variables
enums

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0