Project properties


The properties for the project you are working with, are always available through the "Project-->Properties" menu and they may vary depending on the project type.

For classic projects, you will see a window like this:

Where you can specify the following information:

At link time, Easy Code always runs the linker file with the following options in the command line:

/nologo /subsystem:windows /machine:ix86


IMPORTANT
: You are responsible for entering valid Macro Assembler options according to the linker and compiler syntax. If you specify an option that it is not supported, the compiler will generate the corresponding error.


By checking the Make all variables global option, you can make all variables (from any module) to be global to the whole project, that is, "to be seen" from any other module. When this option is checked, you don't have to write ExternDef directives for extern variables, as Easy Code takes care of them. Anyway, for structured programming, you can uncheck this option so that you decide which variables are global.

REMARKS: The Easy Code macros option is always checked by default when starting a new project. Sometimes, a macro name might conflict or you just may want not to include them. If so, uncheck the option and the Easy Code macros will not be included in your project.



For visual projects, the properties window will be the following:

Where you can specify the following information:

By the combo box showing the Main window, and for visual projects only, you can also see the icon of the application (for more information, please see The application icon).

The Easy Code mode (visual projects) needs to link the visual library. You can link it statically (default option) and the size of the final application will be larger, but it will have no dependency. On the other hand, you can link it dynamically and the size of your application will be smaller, but then you will have to join the ECDllMsr.dll (located in the Lib\Dynamic subdirectory of the Easy Code application path) when distributing your application. This case is useful when you are going to distribute several Easy Code applications, because just one copy of the ECDllMsr.dll, in the Windows\System directory (usually WINNT\System32 or WINDOWS\System32 for Windows NT40/2000/XP/Vista/7 and WINDOWS\SYSTEM for Windows 95/98/ME), is needed.

In all projects, visual and classic, when you specify a Debug version (Add symbolic information option checked), you can choose whether you want the corresponding *.asm files to be generated (those files are very useful for debugging the application). Easy Code will create a subdirectory, inside the project directory, named Debug or Release, where all generated files will be placed.

REMARKS: The Easy Code macros option is always checked by default when starting a new project. Sometimes, a macro name might conflict or you just may want not to include them. If so, uncheck the option and the Easy Code macros will not be included in your project.