Jump to content

  • Log In with Google      Sign In   
  • Create Account

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


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   -  Reputation:

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


Sponsor:

#2 Alexander Deruwe   Members   -  Reputation: 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   -  Reputation: 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.



PARTNERS