Windows error 0x00000256, 598

Detailed Error Information

NOT_TINY_STREAM[1]

MessageThe stream is not a tiny stream.
Declared inwinerror.h

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

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 Code598 (0x0256)

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
1vote
1answer

Decoding flags are not working correctly

I have designed some flags: enum ImportAssignment { OCLMChairman = 0x00000001, OCLMOpenPrayer = 0x00000002, OCLMClosePrayer = 0x00000004, OCLMConductorCBS = 0x00000008, OCLMReaderCBS = 0x00000016, PTChairman = 0x00000032, PTHospitality = 0x00000064, WTConductor = 0x00000128, WTReader = 0x00000256 }; In my dialog I read/write the flags from/to the registry: void CImportOCLMAssignmentHistoryDlg::ReadSettings() { m_dwImportFlags [...] read more
c++
mfc
flags

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