Themen / Inhaltsliste

Compilation with MSVC40

Preparation of the Compiler (only once after a standard installation) :
  1. Menu [Tools] [Options] [Directories] Include-Files, there my private header subdirectory (C:\HOME\CC\INCLUDE) has to be added.
Creation of a Project for a main program (is only neccesary if that main program should be debugged)
  1. Menu [File] [New] [Project Workspace] [Button OK]
  2. Usually I select WIN32, so the windows sockets can be used (and some other extensions as long file names)
  3. If you want to create a Console Application, then use as subdirectory C:\HOME\CC\xxx\MDOS40, if you want to create an Application then use as subdirectory C:\HOME\CC\xxx\MSVC40, (as I did) then i a subdirectory the 3 Files xxx.mdp, xxx.mak and xxx.ncb will be created. Under this project directory two directories "Debug" and "Release" will hold .OBJ and .EXE Files.
  4. Button [Create]
  5. Menu [Insert] [Files into Project]. Insert first the main program for exemple C:\HOME\CC\UTIL\ALL.CPP.Try to Translate. Then add the required subroutines. from subdirectory C:\HOME\CC\LQ .
This procedure in opposite to the usage of a precompiled library has See also : Compilation with other compilers (overview)