Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Creating application programs as DLLs (Windows systems)

If you want to create an application program as a DLL, the following differences apply compared to static linking:

  1. Create the project as a Dynamic Link Library (see section "Creating projects(Windows systems)").

  2. Add the statement void declspec( dllexport ) to all program units; see section "Compiling and linking the application (Windows systems)"). This can look as follows, for example:

    void declspec( dllexport ) func (struct kc_ca *kb, struct work *spab)

All other steps are the same as for static linking.

DLLs are treated in the same way as shared objects in In Unix and Linux systems.For details on generating and using DLLs (otherwise referred to as shared objects, see section "Exchanging shared objects".