Vms1000MF.cpp 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. //---------------------------------------------------------------------------
  2. #include <vcl.h>
  3. #include <windows.h>
  4. #pragma hdrstop
  5. //---------------------------------------------------------------------------
  6. // Important note about DLL memory management when your DLL uses the
  7. // static version of the RunTime Library:
  8. //
  9. // If your DLL exports any functions that pass String objects (or structs/
  10. // classes containing nested Strings) as parameter or function results,
  11. // you will need to add the library MEMMGR.LIB to both the DLL project and
  12. // any other projects that use the DLL. You will also need to use MEMMGR.LIB
  13. // if any other projects which use the DLL will be performing new or delete
  14. // operations on any non-TObject-derived classes which are exported from the
  15. // DLL. Adding MEMMGR.LIB to your project will change the DLL and its calling
  16. // EXE's to use the BORLNDMM.DLL as their memory manager. In these cases,
  17. // the file BORLNDMM.DLL should be deployed along with your DLL.
  18. //
  19. // To avoid using BORLNDMM.DLL, pass string information using "char *" or
  20. // ShortString parameters.
  21. //
  22. // If your DLL uses the dynamic version of the RTL, you do not need to
  23. // explicitly add MEMMGR.LIB as this will be done implicitly for you
  24. //---------------------------------------------------------------------------
  25. #pragma argsused
  26. BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fwdreason, LPVOID lpvReserved)
  27. {
  28. return 1;
  29. }
  30. //---------------------------------------------------------------------------
  31. __declspec(dllexport) void __stdcall ShowVmsForm3()
  32. {
  33. ShowMessage("DDDDDDDDDD");
  34. }