I managed it:
Code:
unit HelloLib;
interface
type
MyClass = public static class
public
class procedure Test;
end;
implementation
procedure MyClass.Test();
begin
Console.WriteLine('Hello World From Lib.');
end;
end.
Code:
unit HelloWorld;
interface
uses HelloLib;
implementation
procedure Main;
begin
Console.WriteLine('Hello World.');
MyClass.Test();
end;
end.
Oxygene HelloLib.pas /assemblyname:HelloLib /type:library /frameworkfolder:C:\WINDOWS\Microsoft.NET\FrameWork \v2.0.50727
Oxygene Hello.pas /assemblyname:HelloWorld /frameworkfolder:C:\WINDOWS\Microsoft.NET\FrameWork \v2.0.50727 /ref:HelloLib.dll
Bookmarks