Jump to content

  • Log In with Google      Sign In   
  • Create Account

is it doable?


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
1 reply to this topic

#1 Triad_prague   Members   -  Reputation: 140

Like
0Likes
Like

Posted 30 October 2011 - 06:43 PM

Sorry for the unclear title of the thread, but recently I looked at vs2008 ~ vs2010 express, and I think all applications written using any of these compilers would need some of the redistributable packages (e.g. vs2008 redist/vs2010 redist). The question is, can I write an app that doesn't need those redistributable files?

(my guess is that can't be done as I recently inspect all installed games in my pc and found out that they always have those files in their folders :()
the hardest part is the beginning...

Sponsor:

#2 NewBreed   Members   -  Reputation: 263

Like
1Likes
Like

Posted 30 October 2011 - 10:48 PM

Technically yes it can be done - just don't use anything that uses the Microsoft Visual Runtime (aka MSVCRT), is this practical, no. But, you can statically link the runtime with your application which means the user doesn't ever install it as it is already inside your exe. A game on the other hand is different as you do need to ship things such as the DirectX runtime you used etc. in which case shipping the MSVCRT is negligible. If you do decide to statically link the MSVCRT make so you only ship the exe that has linked to the release MSVCRT, as the debug version isn't allowed without Visual Studio.

Btw, a better title would be something like "Do I have to ship the C runtime library?".




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