DLLForm.dfm 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. object fDLLMain: TfDLLMain
  2. Left = 0
  3. Top = 0
  4. Caption = 'FastMM Sharing DLL Form'
  5. ClientHeight = 185
  6. ClientWidth = 337
  7. Color = clBtnFace
  8. Font.Charset = DEFAULT_CHARSET
  9. Font.Color = clWindowText
  10. Font.Height = -11
  11. Font.Name = 'Tahoma'
  12. Font.Style = []
  13. OldCreateOrder = False
  14. PixelsPerInch = 96
  15. TextHeight = 13
  16. object Button1: TButton
  17. Left = 8
  18. Top = 152
  19. Width = 165
  20. Height = 25
  21. Caption = 'Click to leak some memory'
  22. TabOrder = 0
  23. OnClick = Button1Click
  24. end
  25. object Memo1: TMemo
  26. Left = 8
  27. Top = 8
  28. Width = 317
  29. Height = 137
  30. Enabled = False
  31. Lines.Strings = (
  32. 'This DLL is sharing the memory manager of the main '
  33. 'application. '
  34. ''
  35. 'The following settings were used to achieve this:'
  36. '1) FastMM4.pas is the first unit in the "uses" clause of the .dp' +
  37. 'r'
  38. '2) The "ShareMM" option is enabled.'
  39. '3) The "AttemptToUseSharedMM" option is enabled.'
  40. ''
  41. 'Click the button to leak some memory.')
  42. TabOrder = 1
  43. end
  44. object Button2: TButton
  45. Left = 180
  46. Top = 152
  47. Width = 145
  48. Height = 25
  49. Caption = 'Unload DLL'
  50. TabOrder = 2
  51. OnClick = Button2Click
  52. end
  53. end