AppCentre_XE6.dpr 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. library AppCentre_XE6;
  2. { Important note about DLL memory management: ShareMem must be the
  3. first unit in your library's USES clause AND your project's (select
  4. Project-View Source) USES clause if your DLL exports any procedures or
  5. functions that pass strings as parameters or function results. This
  6. applies to all strings passed to and from your DLL--even those that
  7. are nested in records and classes. ShareMem is the interface unit to
  8. the BORLNDMM.DLL shared memory manager, which must be deployed along
  9. with your DLL. To avoid using BORLNDMM.DLL, pass string information
  10. using PChar or ShortString parameters. }
  11. uses
  12. mybean.core.beanFactory,
  13. System.SysUtils,
  14. System.Classes,
  15. ceflib,
  16. AppCentreImport in 'AppCentreImport.pas',
  17. AppsLayout in 'AppsLayout.pas',
  18. BaseForm in 'BaseForm.pas',
  19. FlatForm in 'FlatForm.pas',
  20. IdHttpEx in 'IdHttpEx.pas',
  21. InterfaceAppCentre in 'InterfaceAppCentre.pas',
  22. UAppCentre in 'UAppCentre.pas',
  23. XXTEA in 'XXTEA.pas',
  24. UApp in 'UApp.pas',
  25. IconRequest in 'IconRequest.pas',
  26. Windows,
  27. AppCentreCom_TLB in 'AppCentreCom_TLB.pas',
  28. UAppCentreConfig in 'UAppCentreConfig.pas',
  29. InterfaceUI in '..\Interfaces\InterfaceUI.pas',
  30. UIHandler in '..\Interfaces\UIHandler.pas',
  31. UTest in 'UTest.pas',
  32. AppCentreForm in 'AppCentreForm.pas',
  33. MessageCentre in 'MessageCentre.pas' {MessageCentreForm},
  34. ChromeDebug in 'ChromeDebug.pas' {ChromeDebugForm},
  35. RealICQUtility in '..\Client\Utility\RealICQUtility.pas';
  36. // procedure ThisDllProc(Reason: Integer);
  37. // begin
  38. // case Reason of
  39. // DLL_PROCESS_DETACH:OutputDebugString('---------------------DLL_PROCESS_DETACH---------------------AppCentre_XE6');
  40. // DLL_PROCESS_ATTACH:OutputDebugString('+++++++++++++++++++++DLL_PROCESS_ATTACH---------------------AppCentre_XE6');
  41. // DLL_THREAD_ATTACH:OutputDebugString('+++++++++++++++++++++DLL_THREAD_ATTACH---------------------AppCentre_XE6');
  42. // DLL_THREAD_DETACH:OutputDebugString('---------------------DLL_THREAD_DETACH---------------------AppCentre_XE6');
  43. // end;
  44. // if Reason = DLL_THREAD_ATTACH then
  45. // IsMultiThread := True;
  46. // if Assigned(OldDllProc) then
  47. // begin
  48. // OldDllProc(Reason);
  49. // OutputDebugString('ÓÐOldDllProc');
  50. // end
  51. // else
  52. // OutputDebugString('ÎÞOldDllProc');
  53. // end;
  54. begin
  55. // OldDllProc := DllProc;
  56. // DllProc := ThisDllProc;
  57. // ThisDllProc(DLL_PROCESS_ATTACH);
  58. BeanFactory.RegisterBean(APPCENTRE_BEANNAME, TAppCentre);
  59. BeanFactory.RegisterBean(APPCENTRE_CONFIG, TAppCentreConfig);
  60. BeanFactory.RegisterBean(APPCENTRE_UIHANDLER, TUIHandler);
  61. end.