For components that run on Windows, you must build a DLL that contains your C++ component methods. After building the DLL, copy it to the cpplib directory of your EAServer installation.
If you do not place the component DLL in the EAServer cpplib subdirectory,
the directory containing the DLL must be specified in the PATH environment
variable.
“Generating C++ component files” describes how to generate C++ component files, including the makefile.
Before compiling your C++ component, verify that the makefile can find the directory containing the ODBC header files and libraries. You must set the ODBCHOME environment variable to the directory containing the ODBC header files and libraries. If you have Microsoft Visual C++ and ODBCHOME is not set, the makefile looks in C:\msdev (which is the default installation directory for Microsoft Visual C++) for these files.
To build your DLL, run this command from a command window in your component’s source directory:
nmake -f make.nt
If you make changes to the makefile, rename it so it won’t be overwritten when you regenerate the required files.