VS 2005 Express is now free, even for commercial!
hehe no my is 900kb right now but i already kicked directx8/9 out. i have to kick the rest of that unneeded stuff (for me) out too, i guess then it will be at 300-500 and with the compiler optimisations maybe even lower
to the crappy files it creates: a few of them you can turn of (like manifest for example i think .. all in the projects opions settings)
but i have a suggestion:
set the output dir to whereever you want to have the .exe to. then the rest will be just in Debug and Release dirs which you never have to touch, but the exe will be moved to the dir you have choosen.
turn off the warning level:
you have to go to Project/[yourproject] Properties
then you will get a menu. there you have to select "Configuration Properties" and then select the "C/C++" submenu. there you will find a list with settings on the right with a column named "warning level". when you click on it, a list should appear and there you can select "OFF".
now all the "drink-your-milk" warnings are gone
ps: you can set the output directory in the same menu, but under "Configuration Properties->General"
to the crappy files it creates: a few of them you can turn of (like manifest for example i think .. all in the projects opions settings)
but i have a suggestion:
set the output dir to whereever you want to have the .exe to. then the rest will be just in Debug and Release dirs which you never have to touch, but the exe will be moved to the dir you have choosen.
turn off the warning level:
you have to go to Project/[yourproject] Properties
then you will get a menu. there you have to select "Configuration Properties" and then select the "C/C++" submenu. there you will find a list with settings on the right with a column named "warning level". when you click on it, a list should appear and there you can select "OFF".
now all the "drink-your-milk" warnings are gone
ps: you can set the output directory in the same menu, but under "Configuration Properties->General"
-
- Posts: 377
- Joined: Fri Oct 28, 2005 10:28 am
- Contact:
You don't need to add these libs to all the projects. Just change the default inherited vsprops file.
From the docs about how to integrate the PlatformSDK:
From the docs about how to integrate the PlatformSDK:
Step 4. Update the corewin_express.vsprops file.
You just need to take one more step(..) You need to edit the corewin_express.vsprops file (found in C:\Program Files\Microsoft Visual Studio 8\VC\VCProjectDefaults) and change the string that reads:
AdditionalDependencies="kernel32.lib"
to
AdditionalDependencies="kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib"
Thanx GFX and Baal and all of you guys! All of your tips worked great!.
But what will be better: to add the libs manually in the project or make them a default changing "corewin_express.vsprops"? I mean, are they necessary if we compile other projects? Won't these libs be overused in projects that don't require them?
hehehe, now more porting to do....
But what will be better: to add the libs manually in the project or make them a default changing "corewin_express.vsprops"? I mean, are they necessary if we compile other projects? Won't these libs be overused in projects that don't require them?
hehehe, now more porting to do....
-
- Posts: 377
- Joined: Fri Oct 28, 2005 10:28 am
- Contact:
With Visual C++ 2003/2002 and VC6 these libs are always added to the projects by default. The only reason this is not the case for Visual C++ 2005 Express is, that by default it does not come with the PlatformSDK. There is no harm in adding them to the corewin_express.vsprops, it only makes life easier when converting old projects and it doesn't clutter your project settings. Like Spintz said, executable size is not affected by this.
if i would have started windows right now i could show you.
there is a menu where you can set the default compiler settings/paths and that stuff, so im sure like hell that you can also set the default libs that are used.
dont know exactly, though.
ps: have to go now, see you tomorrow (yeah, lan party lol)
there is a menu where you can set the default compiler settings/paths and that stuff, so im sure like hell that you can also set the default libs that are used.
dont know exactly, though.
ps: have to go now, see you tomorrow (yeah, lan party lol)