I tried to bild a solution out of a dll and exe.
The ClassLibrary.fx is referenced in Consoleapplication
When i try to run i get
ConsoleApplication.exe - Einsprungpunkt nicht gefunden
Der Prozedureinsprungpunkt “Get_Test” wurde in der DLL “D:\temp\Raetsel\Test\Bin\Debug\Windows\x86_64\ConsoleApplication.exe” nicht gefunden.
Water gives me
An exception occurred in ConsoleApplication, thread 0BCC
Type: c0000139
I have a dll with
namespace ClassLibrary;
interface
[DllExport]
function Get_Test:Integer;
begin
result:=1234;
end;
implementation
end.
and an exe file with
namespace ConsoleApplication;
[DllImport(‘ClassLibrary’)]
function Get_Test:Integer; external;
var i:Integer;
begin
i:=Get_Test;
end.
What i am doing wrong here ?
(LoadLibrary/GetProcAddress dosn’t work either)