To use Systems/C or Systems/C++ with Visual Studio:

The approach to integrating the Dignus compilers with Visual Studio is to define a .BAT file that functions as a typical Windows compiler. Then, we simply define that "compiler" to Visual Studio.

Starting with the "Tools" tab in DevStudio, we are going to customize DevStudio to "add-a-tool." This tool will compile and then assemble a C program using the Systems/C compiler (DCC) and the Systems/C assembler (DASM.)

To do this, Click on the Tools tab, followed by the Customize option.

Then, click the "New" icon to add a new tool.

For the Command, we need to create the .BAT file that accomplishes a compile+assemble, say C:\DIGNUS\CC.BAT.

For the Argument, use $(FileName)

For the InitialDir, use $(CurDir)

And, we need to click on the 'user the Output Window' option.

A typical C:\DIGNUS\CC.BAT file might look like:

C:\DIGNUS\DCC -frent -Ic:\%1 -o%1.asm c:\%1\%1.c
C:\DIGNUS\DASM "-LC:\DIGNUS\MACLIB\&m" -oc:\%1\%1.obj %1.asm

Then, to build within Visual Studio, simply choose a different tool for compiling the C or C++ program.

The Dignus compilers running in this environment will generate messages that conform to Visual Studio's expectations, allowing Visual Studio to "jump to" errors and display them as normal.

This example was for Systems/C, for Systems/C++ the approach is similar except that the Systems/C++ compiler (DCXX) would be used.