Readme file for using Symantec C/C++ Compiler version 6.0 to build user DLLs for Mathcad. The instructions below apply to the Integrated Development and Debugging Environment IDDE. To build a sample: (samples are under SOURCES subdirectory of your compiler directory) Symantec IDDE projects generally have many files associated with them. The samples each have 6 project files in addition to the .c source files. To build a sample project just start the IDDE, open the project and Rebuild it. How to build a new project in the Integrated Development and Debugging Environment IDDE: Start a new project: Choose a path and name for the project file. Add your source files to the project. (If you have not created them yet you can add them later) Add the library file MCADUSER.LIB in the SYMANTEC\LIB directory to the project. In the Options Project dialog box choose Win32s DLL. In the Options Directories dialog box add the directory where the include file MCADINCL.H for SYMANTEC is located, e.g. C:\WINMCAD\USEREFI\SYMANTEC\INCLUDE (or ..\..\INCLUDE in relative notation for the samples) to the Include path. Now you are ready to build the DLL. You can do this by choosing "Build all" under menu option Project. After building you have to move the DLL to the USEREFI directory under MATHCAD's home directory, e.g. C:\WINMCAD\USEREFI. Comments: In the source file: The DLL entry point can be called anything you want, e.g. DllEntryPoint. But you need a pragma directive to declare the name to the linker. So if it is called DllEntryPoint insert the following line right after the function definition: #pragma startaddress(DllEntryPoint) Alignment: The default structure alignment for Win32s applications in Symantec is 8 byte alignment For more information see the sample source files and the readme.txt file in USEREFI subdirectory.