procedure DLLEntryInit(fdwReason: DWord);
begin
case (fdwReason) of
DLL_PROCESS_ATTACH:;
DLL_PROCESS_DETACH:;
DLL_THREAD_ATTACH:;
DLL_THREAD_DETACH:;
end;
end;
begin
DllProc := @DLLEntryInit;
DLLEntryInit(DLL_PROCESS_ATTACH);
end.
procedure DLLEntryInit(fdwReason: DWord);
begin
case (fdwReason) of
DLL_PROCESS_ATTACH:;
DLL_PROCESS_DETACH:;
DLL_THREAD_ATTACH:;
DLL_THREAD_DETACH:;
end;
end;
begin
DllProc := @DLLEntryInit;
DLLEntryInit(DLL_PROCESS_ATTACH);
exitcode:=-1 //就可以了
end.