Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7512733
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T23:57:39+00:00 2026-05-29T23:57:39+00:00

I have written a game engine in C++, however I would like to package

  • 0

I have written a game engine in C++, however I would like to package it up in a file so I don’t have to re-compile it every time I want to make a game. I read the MSDN articles on writing re-usable code, and putting it into managed Assembly or in a .dll. But as I am told a .dll is a bad idea and a pain in the neck. I would do managed Assembly however the method of which you would do that as described in the MSDN article it looks like they want you to put everything in a class or use CLR (or something gross like that). In my engine I have taken a C approach at different instances and I don’t want to rip apart the engine just to package it up, additionally I would eventually like to make it cross-platform so I don’t want to make it too “Microsoftish”. So I suppose the question is: is there a good alternative to a .dll or managed Assembly or something that I can use without ripping apart my code?

P.s I would just use a .lib (static library) but I believe it requires a .dll to run.

Info:

  • Language: C++.
  • Compiler, IDE, Linker ect: Microsoft Visual C++ 2008.
  • Platform, OS, ect: Windows 7.
  • Libraries Used In Application: SFML 1.6, Luabind, Lua C API.

Sources:

  • http://msdn.microsoft.com/en-us/library/bb384835.aspx
  • http://en.wikipedia.org/wiki/Dynamic-link_library
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T23:57:41+00:00Added an answer on May 29, 2026 at 11:57 pm

    A static library (.lib) is the most natural lazy choice. You will compile it once with your compiler and then just link to the rest of your program. If you change the program, but not the engine/library, you don’t recompile the latter. Of course, you’ll need to compile the library with every compiler you use and for every OS, unless they are compatible.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have written a standalone connect 4 game. next i would like to be
I have just written a game for the Google Play Store and would like
I have an game application I have written for Windows Mobile and I want
I have a game playing engine written in C++. I have my own development
I have written an OpenGL game and I want to allow remote playing of
I have written a stupid little game and want to have some kind of
I have a game engine design written in C++ where a platform-independent game object
I have written an application which outputs data as XML. However, it would be
I have written a game that uses GLUT, OpenGL and FMOD. The problem is
For our online game, we have written tons of PHP classes and functions grouped

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.