Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


BCB DirectX Components

This topic is 6180 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

Good day, I''ve made two simple DirectX Components and When I look in the project manager while Installing packages (editing my components) When I drop down my components files there is a huge list of files seemingly included with my component, Does a DxSurface component need all those files? Will I get some "codebloating" from this? Any help would be appreciated Mike Go Canuck Go!

Share this post

Link to post
Share on other sites
Welcome to the wonderful world of C where one include file can include many other include files than can include many other include files that can include...

The way around this is to only include those files that are absolutely necessary. If including windows.h, define WIN32_LEAN_AND_MEAN to cut out some unnecessary stuff. I think there is also a WIN32_EXTRA_LEAN_AND_MEAN, but I have not confirmed its existence.

Steve ''Sly'' Williams  Monkey Wrangler  Krome Studios
turbo game development with Borland compilers

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!