forked from chcg/NppQrCode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NppQrCode.dpr
39 lines (32 loc) · 1.39 KB
/
NppQrCode.dpr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
library NppQrCode;
{ 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
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Classes,
DelphiZXIngQRCode in 'DelphiZXIngQRCode\DelphiZXIngQRCode.pas',
QRGraphics in 'DelphiZXIngQRCode\QRGraphics.pas',
QRFormUnit in 'QRFormUnit.pas' {QrForm},
QR_Win1251 in 'DelphiZXIngQRCode\QR_Win1251.pas',
QR_URL in 'DelphiZXIngQRCode\QR_URL.pas',
NppForms in '..\npp.connections\lib\NppForms.pas' {NppForm},
nppplugin in '..\npp.connections\lib\nppplugin.pas',
SciSupport in '..\npp.connections\lib\SciSupport.pas';
{$R *.res}
{$R NppQrCodeBMP.RES}
{$Include 'NppPluginInclude.pas'}
begin
{ First, assign the procedure to the DLLProc variable }
DllProc := @DLLEntryPoint;
{ Now invoke the procedure to reflect that the DLL is attaching to the process }
DLLEntryPoint(DLL_PROCESS_ATTACH);
end.