Windows error 0x0000013C, 316

Detailed Error Information

DEVICE_FEATURE_NOT_SUPPORTED[1]

MessageThe device does not support the command feature.
Declared inwinerror.h

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

INVALID_IO_BOOST_STATE[2]

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

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 Code316 (0x013c)

Possible solutions

4

Internal Error: Blackberry 9800 Simulator

java-me
eclipse-plugin
simulator
blackberry-simulator

Next time try searching "Internal Error: Blackberry 9800 Simulator Access violation reading from 0x0000013C"

Solutions here, here , here , and here

answered on Stack Overflow Jan 20, 2012 by Juanma Baiutti
1

Having trouble with pointers in classes

c++
pointers
sdl

By the way, aren't you leaking resources executing that code:

dot = new SDL_Surface();
dot = load_image( "dot.bmp" );

Doing load_image causes you to loose pointer to SDL_Surface() object hence you cannot delete it later.

Answer to your main issue

Call SDL_Init before using SDL_DisplayFormay and it should work. Citation from SDL documentation.

Newbie hint

You have to call SDL_Init before using the SDL_DisplayFormat function. If you don't, your program will crash with an access violation.

answered on Stack Overflow Nov 10, 2013 by igleyy • edited Nov 10, 2013 by igleyy
1

Strange unhandled exception; Access violation reading location

c++
sdl

In the documentation it has this line:

Of course, the video surface must be initialised using SDL_SetVideoMode before this function is called, or it will segfault.

Seeing I don't see a call to SDL_SetVideoMode in your posted code, I can assume this is probably the cause.

answered on Stack Overflow May 8, 2013 by Tony The Lion
0

Having trouble with pointers in classes

c++
pointers
sdl

You know, dot is a pointer,and it was allocated dynamiclly. SDL_Surface *dot=new SDL_Surface();means that you allocate a storage space in heap,and dot index this space. And,the function load_image(string) return a SDL_Surface type value,that is an object´╝îthe return object was assignmented to the pointer dot,then pointer dot changed it's direction,then this makes a memory leak. You can modify the program by this:

SDL_Surface *dot;
dot = load_image("dot.bmp");

thank you.

answered on Stack Overflow Nov 10, 2013 by liuyuedeyu • edited Nov 10, 2013 by Wyzard

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