Einzelnen Beitrag anzeigen

WojTec

Registriert seit: 17. Mai 2007
482 Beiträge
 
Delphi XE6 Professional
 
#8

Re: Class with strings in DLL

  Alt 2. Jan 2011, 15:02
So, it's global variable in DLL project file. Initialization id done by call specified function, function fills record with data. To null it I must call next function, because DLL entry procedure seems to not work.

Delphi-Quellcode:
procedure DLLIO(dwReason: DWORD);
begin
  case dwReason of
    DLL_PROCESS_ATTACH: {...};
    DLL_PROCESS_DETACH: {...};
    end;
  end;
end;

begin
  DllProc := @DLLIO;
end.
  Mit Zitat antworten Zitat