1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- library AppCentre_XE6;
- { Important note about DLL memory management: ShareMem must be the
- first unit in your library's USES clause AND your project's (select
- Project-View Source) USES clause if your DLL exports any procedures or
- functions that pass strings as parameters or function results. This
- applies to all strings passed to and from your DLL--even those that
- are nested in records and classes. ShareMem is the interface unit to
- the BORLNDMM.DLL shared memory manager, which must be deployed along
- with your DLL. To avoid using BORLNDMM.DLL, pass string information
- using PChar or ShortString parameters. }
- uses
- mybean.core.beanFactory,
- System.SysUtils,
- System.Classes,
- ceflib,
- AppCentreImport in 'AppCentreImport.pas',
- AppsLayout in 'AppsLayout.pas',
- BaseForm in 'BaseForm.pas',
- FlatForm in 'FlatForm.pas',
- IdHttpEx in 'IdHttpEx.pas',
- InterfaceAppCentre in 'InterfaceAppCentre.pas',
- UAppCentre in 'UAppCentre.pas',
- XXTEA in 'XXTEA.pas',
- UApp in 'UApp.pas',
- IconRequest in 'IconRequest.pas',
- Windows,
- AppCentreCom_TLB in 'AppCentreCom_TLB.pas',
- UAppCentreConfig in 'UAppCentreConfig.pas',
- InterfaceUI in '..\Interfaces\InterfaceUI.pas',
- UIHandler in '..\Interfaces\UIHandler.pas',
- UTest in 'UTest.pas',
- AppCentreForm in 'AppCentreForm.pas',
- MessageCentre in 'MessageCentre.pas' {MessageCentreForm},
- ChromeDebug in 'ChromeDebug.pas' {ChromeDebugForm},
- RealICQUtility in '..\Client\Utility\RealICQUtility.pas';
- // procedure ThisDllProc(Reason: Integer);
- // begin
- // case Reason of
- // DLL_PROCESS_DETACH:OutputDebugString('---------------------DLL_PROCESS_DETACH---------------------AppCentre_XE6');
- // DLL_PROCESS_ATTACH:OutputDebugString('+++++++++++++++++++++DLL_PROCESS_ATTACH---------------------AppCentre_XE6');
- // DLL_THREAD_ATTACH:OutputDebugString('+++++++++++++++++++++DLL_THREAD_ATTACH---------------------AppCentre_XE6');
- // DLL_THREAD_DETACH:OutputDebugString('---------------------DLL_THREAD_DETACH---------------------AppCentre_XE6');
- // end;
- // if Reason = DLL_THREAD_ATTACH then
- // IsMultiThread := True;
- // if Assigned(OldDllProc) then
- // begin
- // OldDllProc(Reason);
- // OutputDebugString('ÓÐOldDllProc');
- // end
- // else
- // OutputDebugString('ÎÞOldDllProc');
- // end;
- begin
- // OldDllProc := DllProc;
- // DllProc := ThisDllProc;
- // ThisDllProc(DLL_PROCESS_ATTACH);
- BeanFactory.RegisterBean(APPCENTRE_BEANNAME, TAppCentre);
- BeanFactory.RegisterBean(APPCENTRE_CONFIG, TAppCentreConfig);
- BeanFactory.RegisterBean(APPCENTRE_UIHANDLER, TUIHandler);
- end.
|