W3C BUGS

Generating DLLs under Windows using Borland compilers

Description

When you are generating DLLs with Borland and some versions of Microsoft Visual C++ compiler (at least version 1.x) it is required that each exported function or variable must have the __export directive as part of the function definition. Unfortunately this can not be combined with the already existing PUBLIC macro used throughout the Library as the __export directive must be placed directly before the function name.

Patch

There is not a specific patch but you can use the Perl script produced by Eric Prud'hommeaux to insert the __export directives into the source code. Of course this requires that you have a box that runs Perl available.


Henrik Frystyk Nielsen,
@(#) $Id: lib_4.0_bug_3.html,v 1.3 1998/05/04 14:45:03 frystyk Exp $