| |

VerySource

 Forgot password?
 Register
Search
View: 683|Reply: 1

About DirectDraw

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-2-16 21:30:01
| Show all posts |Read mode
LPDIRECTDRAW7 lpdd;
if (FAILED (DirectDrawCreate (NULL, (LPDIRECTDRAW *)&lpdd, NULL)))
{
   MessageBox ("Error ~");
}
lpdd-> SetDisplayMode (1280,1024,32,0,0);
Why the following interruption occurs after calling this function
Run-Time Check Failure # 0-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
Reply

Use magic Report

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-6-5 21:45:02
| Show all posts
Use the DirectDrawCreateEx() function,
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list