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

DirectDrawCreateEx !!!

Started by Hadi Rezaie Aug 15, 2001 at 3:47 AM 1 replies 600+ views
Original Post
Hadi Rezaie
Hadi Rezaie
Hi all. What is my wrong in this code ? HRESULT hr; LPDIRECTDRAW7 lpDD; hr = DirectDrawCreateEx(NULL, (void **)lpDD, IID_IDirectDraw7, NULL); if(FAILED(hr)) { MessageBox(hWnd, "Error in running program !!!", "Error ...", MB_ICONERROR); return FALSE; } I include ddraw.h to stdafx.h and i link ddraw.lib and dxguid.lib to my project, but ... Please help me ... Hadi Rezaie
Hadi Rezaie
Hadi Rezaie
Hadi Rezaie
Thanks aloooooooot for your reply ...


Hadi Rezaie
Hadi Rezaie

Topic Locked

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

Sign in to reply to this topic.