671242f350d172e106580348e24bab66b0d7e6a5vboxsync//---------------------------------------------------------------------------
671242f350d172e106580348e24bab66b0d7e6a5vboxsync#include <windows.h>
671242f350d172e106580348e24bab66b0d7e6a5vboxsync//---------------------------------------------------------------------------
671242f350d172e106580348e24bab66b0d7e6a5vboxsync// Important note about DLL memory management when your DLL uses the
671242f350d172e106580348e24bab66b0d7e6a5vboxsync// static version of the RunTime Library:
671242f350d172e106580348e24bab66b0d7e6a5vboxsync//
671242f350d172e106580348e24bab66b0d7e6a5vboxsync// If your DLL exports any functions that pass String objects (or structs/
671242f350d172e106580348e24bab66b0d7e6a5vboxsync// classes containing nested Strings) as parameter or function results,
671242f350d172e106580348e24bab66b0d7e6a5vboxsync// you will need to add the library MEMMGR.LIB to both the DLL project and
671242f350d172e106580348e24bab66b0d7e6a5vboxsync// any other projects that use the DLL. You will also need to use MEMMGR.LIB
671242f350d172e106580348e24bab66b0d7e6a5vboxsync// if any other projects which use the DLL will be performing new or delete
671242f350d172e106580348e24bab66b0d7e6a5vboxsync// operations on any non-TObject-derived classes which are exported from the
671242f350d172e106580348e24bab66b0d7e6a5vboxsync// DLL. Adding MEMMGR.LIB to your project will change the DLL and its calling
671242f350d172e106580348e24bab66b0d7e6a5vboxsync// EXE's to use the BORLNDMM.DLL as their memory manager. In these cases,
671242f350d172e106580348e24bab66b0d7e6a5vboxsync// the file BORLNDMM.DLL should be deployed along with your DLL.
671242f350d172e106580348e24bab66b0d7e6a5vboxsync//
671242f350d172e106580348e24bab66b0d7e6a5vboxsync// To avoid using BORLNDMM.DLL, pass string information using "char *" or
671242f350d172e106580348e24bab66b0d7e6a5vboxsync// ShortString parameters.
671242f350d172e106580348e24bab66b0d7e6a5vboxsync//
671242f350d172e106580348e24bab66b0d7e6a5vboxsync// If your DLL uses the dynamic version of the RTL, you do not need to
671242f350d172e106580348e24bab66b0d7e6a5vboxsync// explicitly add MEMMGR.LIB as this will be done implicitly for you
671242f350d172e106580348e24bab66b0d7e6a5vboxsync//---------------------------------------------------------------------------
671242f350d172e106580348e24bab66b0d7e6a5vboxsync
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncint WINAPI DllEntryPoint(HINSTANCE, unsigned long, void*)
671242f350d172e106580348e24bab66b0d7e6a5vboxsync{
671242f350d172e106580348e24bab66b0d7e6a5vboxsync return 1;
671242f350d172e106580348e24bab66b0d7e6a5vboxsync}
671242f350d172e106580348e24bab66b0d7e6a5vboxsync//---------------------------------------------------------------------------
671242f350d172e106580348e24bab66b0d7e6a5vboxsync