Jump to content

  • Log In with Google      Sign In   
  • Create Account


ddutil.h & .cpp


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
5 replies to this topic

#1 frizb   Members   -  Reputation: 122

Like
Likes
Like

Posted 07 November 1999 - 09:57 AM

Is there something I need to do in order to use the ddutil files from the dx sdk examples? I try to include them directly into my project but I just get a ton of errors immediately. Using VC6 by the way. Thanks, friz

------------------
Still Learning...


Sponsor:

#2 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 06 November 1999 - 02:17 AM

You have a few problems: First, you cannot include the .cpp file, you should add it to your project. To do this right click on your "'projectname' files icon where your project files are displayed (should be window on the left) and choose 'add files' then find your .cpp . To include your .h file you need to set the correct directory that the file resides in (under: Menu option 'Tools' choose 'options', then tab 'directories'. )You will be able to declare a directory in there, or an easier way is to copy the .h file to your current working directory.

#3 frizb   Members   -  Reputation: 122

Like
Likes
Like

Posted 06 November 1999 - 05:37 PM

Thanks, but thats what I already did. When I said include the cpp I just meant in the project itself. Thanks though.

------------------
Still Learning...


#4 CJ   Members   -  Reputation: 122

Like
Likes
Like

Posted 07 November 1999 - 02:12 AM

It might be of any help if you showed us the errors. But I think you forgot to include the libraries.

------------------
Dance with me......


#5 Macke   Members   -  Reputation: 122

Like
Likes
Like

Posted 07 November 1999 - 07:41 AM

Remember that ddutil uses LPDIRECTDRAWSURFACE
and not LPDIRECTDRAWSURFACE4.

#6 frizb   Members   -  Reputation: 122

Like
Likes
Like

Posted 07 November 1999 - 09:57 AM

Macke, either you are a genius or I'm just far from it, or both!! Thats the problem! Thank you very much. I didn't even think of that! See I learn something every day coming here. THanks again everybody! friz

------------------
Still Learning...





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