Skip to main content
GameDev.net gamedev.net
🔒 Locked

Weird Error...

Started by Punx409 Jan 22, 2003 at 12:39 AM 0 replies 500+ views
Original Post
Punx409
Punx409
I'm just trying to get a simple directx app running and I got as far as setting the display mode. If I don't have the line I have no errors whatsoever so I know that this is what's causing the problem. My line is... lpdd4->SetDisplayMode(640,480,8); and the error is...
    Debug Error !

Modle :
file  : i386\chkesp.c
Line  : 42

The Value of ESP was not properly saved across a function call.
This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.
     
Could it be that I'm using a DX7 DirectDraw object with DX9? If so is there a way to use DX7 directDraw in DX9? [edited by - Punx409 on January 22, 2003 2:45:04 AM]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.