DLL Release / Free / Unload after Simulation
Posted: Thu Jul 03, 2014 3:34 am
Hi
In FC there is a nice Future with call a Makro as a DLL Function.
Is it possible to release the DLL after the simulation,
because the loaded DLL is Release only, if FC is close and restart.
Closing the Project and make a new Project do not release the DLL.
btw:
I found a litle Bug in Dll
If load a Project with DLL Simulation.
After a change in FC Project and save, the DLL is in Background load.
You can test it, make a simple DLL example .. i take Delphi.
library FCtest;
..
..
..
function calc (d1,d2 : Integer) : Integer;stdcall;
begin
result := d1 / d2;
end;
..
..
exports
calc;
..
begin
showmessage('this is showing after FC Project is new saved');
end.
Thank you
Best wishes
Rudi
![Wink ;-)](./images/smilies/icon_wink.gif)
In FC there is a nice Future with call a Makro as a DLL Function.
Is it possible to release the DLL after the simulation,
because the loaded DLL is Release only, if FC is close and restart.
Closing the Project and make a new Project do not release the DLL.
btw:
I found a litle Bug in Dll
If load a Project with DLL Simulation.
After a change in FC Project and save, the DLL is in Background load.
You can test it, make a simple DLL example .. i take Delphi.
library FCtest;
..
..
..
function calc (d1,d2 : Integer) : Integer;stdcall;
begin
result := d1 / d2;
end;
..
..
exports
calc;
..
begin
showmessage('this is showing after FC Project is new saved');
end.
Thank you
Best wishes
Rudi
![Wink ;-)](./images/smilies/icon_wink.gif)