[no subject]

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


When building your DLL, you typically create a header file that contains the
function prototypes and/or classes you are exporting, and add the
__declspec(dllexport) to the declarations in the header file. To make your
code more readable, define a macro for __declspec(dllexport) and then use
the macro with each symbol you are exporting:

#define DllExport   __declspec( dllexport )

__declspec(dllexport) stores function names in the DLL's export table. If
you want to optimize the table's size, see Export Functions From a DLL By
Ordinal Rather Than By Name.

Note   When porting DLL source code from Win16 to Win32, replace each
instance of __export with __declspec(dllexport).



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/