• Advertisement
Sign in to follow this  

Releasing Librarys

This topic is 4763 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm making a lib, and I just have a few questions. 1. My library uses d3d9, but completely wraps it so that the end-user does not have to directly use the d3d9 interfaces, do they need to include any of the d3d9 headers or libs, or will by library be able to stand independently. 2. Also, in the release headers, is there any way to use a precompiled header, and also how do I avoid d3d9 header dependencies even though I have variable types delcared in the d3d9 headers?

Share this post


Link to post
Share on other sites
Advertisement
Well 1) should be easy to figure out. Look at the size of your lib and then the size of D3D9, is your lib alot large than D3d9.lib (hint it won't be). YOu still need to include the D3D9.lib.

Its the exe not the lib that links in other supporting libs.

2) You'll need to include the headers if you don't fully define the needed types in your own headers.

Cheers
Chris

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement