Sign in to follow this  
Axiverse

Releasing Librarys

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this