Registriert seit: 10. Jun 2002
Ort: Unterhaching
11.412 Beiträge
Delphi 12 Athens
|
Re: DLL in Konsolen-Applikation einbinden
11. Feb 2004, 11:57
Eine eigene Unit ist nicht nötig, einfach so:
Delphi-Quellcode:
program Project1;
{$APPTYPE CONSOLE}
uses
SysUtils;
procedure Foo(Dummy: Integer); stdcall; external 'foo.dll';
begin
{ TODO -oUser -cConsole Main : Insert code here }
end.
...  ...
Daniel Lizbeth Ich bin nicht zurück, ich tue nur so
|