Jump to content

View more

Image of the Day

#ld38 #screenshotsaturday Mimosa Fizz action gif #2 https://t.co/TUzdppvfUL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

All I want to do is init DX but it won't work! HELP

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
2 replies to this topic

#1 Anonymous Poster_Anonymous Poster_*   Guests   

Likes

Posted 01 December 1999 - 12:54 PM

All I want to do is initialize DX with MFC. I'm getting link errors but I don't know why. I tried using DirectDrawCreate() and CoCreateInstance() but neiter work for me. What is the problem? I have a very small zip of my project to look at. Please HELP
www.aracnet.com/~thomaslp/DXProject.zip


#2 Alexander Deruwe   Members   

122
Like
Likes
Like

Posted 01 December 1999 - 10:14 AM

Are you linking to ddraw.lib (and possibly others, depending on which subs of DX you use)?

/Alex


#3 dee_ex   Members   

122
Like
Likes
Like

Posted 01 December 1999 - 12:54 PM

yeah, there is a option called "Settings" under one of the menu tabs... click on that, then click on a Link tab, look for the line with all the Libs.. add ddraw.lib, dxguid.lib, or whatever library you're using... and don't use MFC, use Win32 Application (not the console one)
it would create an empty project for you... but it should compile... when you want to show something, then you move on to the other functions.. WindowProc, WinMain (advanced), ShowWindow, CreateWindowEx, SetDisplayMode, SetCooperativeLevel, etc etc




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.