Since you're using the win32 platform already, I would recommend Microsoft's Visual C++ Express 2005 -- It's completely free... but the initial version is a bit lacking in features...
Here's the App (you might require validation):
http://msdn.microsoft.com/vstudio/express/visualc/In order to create ordinary win32 applications (withOUT the .NET framework) you need to download the Microsoft Platform SDK... Here's that one:
http://www.microsoft.com/downloads/details...;displaylang=en(the prettier links all redirect to this asp...)
Anyways - once you get that installed into a good, firm location, you should proceed to your Visual C++ install directory...
Access:
C:\Program Files\Microsoft Visual Studio 8\VC\VCProjectDefaultsthe file you want is: corewin_express.vspropslocate the line:
AdditionalDependencies=”kernel32.lib”and you want to add the win32 api dependencies as well, so make sure it reads:
AdditionalDependencies=”kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib”notice they're separated by spaces only
now enter the folder:
C:\ProgramFiles\Microsoft Visual Studio 8\VC\VCWizards\AppWiz\Generic\Application\html\1033
it's pretty freakin deep, but go all the way and find:
AppSettings.htmon lines 441-444 (if you don't have the info, search!) WIN_APP and DLL_APP are disabled... just script comment them out...
// WIN_APP.disabled = true;
// WIN_APP_LABEL.disabled = true;
// DLL_APP.disabled = true;
// DLL_APP_LABEL.disabled = true;
notice all i added was the //
the last thing now is to run Visual C++... if you've already done so you need to restart it to make sure the changes you made to the settings are applied....
you'll need now to add links for the LIBRARIES, HEADERS, and EXECUTABLES....
Go to TOOLS->OPTIONS...
Open the
Projects and Solutions node on the left... and Select VC++ Directories...
on the right you will need to modify the dropdown combo selection to access the three areas in question...
Library Files(install dir:default is \Program Files\Microsoft Platform SDK) \Lib
so include the Lib folder...
Include Files(install dir) \Include
Executables(install dir) \Bin
Save your settings there... and try to make an app!
Oh yeah... until you set yourself your own framework, you must access win32 apps from the "Console Application" project... When you select this, you need to access Application Settings before creating the project, and there are a few more familiar options available... Windows application is probably what you'll want...
hope you check it out... i moved finally from DevC++ a little while back, because it so indirectly used the MSVCRT.dll -- Visual C++ steps directly to the important API .dll's -- also - it's FREE : )
Comment/Reply (w/o sign-up)