When you have finished developing the COM server, you may want to deploy it
on another system. Besides the server itself, you need to install the
Fortran run-time DLLs and register the server:
- Install (or copy) the COM server to an appropriate directory.
- Register the server:
- To register a DLL server, use the REGSVR32.EXE system tool, a
command-line tool. To register the DLL server, specify the path to the DLL and
its file name (dll_path) by typing the following command:
REGSVR32 dll_path
The file REGSVR32.EXE is in your system directory, such as the \Winnt\System32
on Windows NT or Windows 2000 systems or \Windows\System
on
Windows 9x systems. If this directory is not in your PATH, include its path before
the REGSVR32 command.
- To register a an EXE server, run the server with the /REGSERVER command-line
opton. For example:
exe_path /REGSERVER
- Use the VFRUN tool to install the necessary run-time DLLs and related files. The
VFRUN tool provides the run-time redistributable files for Visual Fortran
applications, in the form of a self-installing kit. VFRUN is described in the Compaq
Visual Fortran Installing and Getting Started and in the release notes. You can
download the run-time redistributable files VFRUN kit from the Visual Fortran
Web page (click Downloads area):
http://www.compaq.com/fortran
If you are using MIDL-based Marshalling or Custom Marshalling, then the marshalling DLL
also needs to be installed and registered. For information on marshalling, see
Marshalling, Proxies and Stubs in
Advanced COM Server Topics.