Go to the first, previous, next, last section, table of contents.


The "camlidldll" script

Under Windows, a "bash" script called "camlidldll" is provided to automate the construction of a DLL containing a COM component written in Caml.

The script "camlidldll" accepts essentially the same command-line arguments and options as the "ocamlc" compiler. (It also accepts ".tlb" type library files on the command-line; see section "Dispatch interfaces", for more information on type libraries.) It produces a DLL file that encapsulates the Caml and C object files given on the command line.

Use "regsvr32 /s "file".dll" to record the components in the system registry once it is compiled to a DLL.


Go to the first, previous, next, last section, table of contents.