PageRenderTime 22ms CodeModel.GetById 17ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 1ms

/client/Plugin/UserMgr/UserMgr.dpr

http://drcp.googlecode.com/
Pascal | 35 lines | 18 code | 8 blank | 9 comment | 0 complexity | af805ddb514c15f799033814bc8416b3 MD5 | raw file
 1library UserMgr;
 2
 3{ Important note about DLL memory management: ShareMem must be the
 4  first unit in your library's USES clause AND your project's (select
 5  Project-View Source) USES clause if your DLL exports any procedures or
 6  functions that pass strings as parameters or function results. This
 7  applies to all strings passed to and from your DLL--even those that
 8  are nested in records and classes. ShareMem is the interface unit to
 9  the BORLNDMM.DLL shared memory manager, which must be deployed along
10  with your DLL. To avoid using BORLNDMM.DLL, pass string information
11  using PChar or ShortString parameters. }
12
13uses
14  ShareMem,
15  uPluginIntf,
16  uFormPlugin,
17  uFormMain in 'uFormMain.pas' {Form_Main};
18
19function CreateAPlugin:IPlugin;
20var
21  lFormPlugin : TFormPlugin;
22begin
23  lFormPlugin := TFormPlugin.Create(nil);
24
25  lFormPlugin.SetFormClass(TForm_Main);
26
27  Result := lFormPlugin;
28end;
29
30exports
31  CreateAPlugin;
32
33begin
34  
35end.