Can't add delphi.system to library ;)

From: Skybuck Flying (nospam_at_hotmail.com)
Date: 08/26/04


Date: Thu, 26 Aug 2004 02:27:22 +0200

program UseLibraryTest;

{$APPTYPE CONSOLE}

{%DelphiDotNetAssemblyCompiler 'LibraryTest.dll'}
{%DelphiDotNetAssemblyCompiler 'c:\program files\common files8\borland
shared\bds\shared assemblies\2.0\Borland.Delphi.dll'}

procedure test_procedure_integer( var a : integer ); external
'LibraryTest.DLL';

procedure test_procedure_string( var s : string ); external
'LibraryTest.DLL';

function test_function_integer : integer; external 'LibraryTest.DLL';

function test_function_string : string; external 'LibraryTest.DLL';

uses
  SysUtils;

begin

end.

Nope:

[Error] Packages 'LibraryTest' and 'Borland.Delphi' both contain unit
'Borland.Delphi.System'

Great.



Relevant Pages

  • Excuse me: but f*ck this sh*t lol
    ... program UseLibraryTest; ... Where's the fricking documentation lol:D hahahahahahahah don't answer that ... including SysUtils in the library source? ... Remove SysUtils from LibraryTest. ...
    (alt.comp.lang.borland-delphi)
  • process not accessable
    ... // SysUtils; ... Great not it compiles when run it happily says: ...
    (alt.comp.lang.borland-delphi)