Quote:
Originally Posted by Razor12911
Hey peterf, there seems to be a problem with SaveFileFromBuffer function, after saving a file, handle is not closed so I'm getting OpenError exceptions.
|
Fixed.
The verdict that I already knew:
Sharing data structures ( TSysInfo or TVolume) or classes between two modules (inno setup exe and dlls )
in delphi/pascal is deprecated or even illegal. This is the reason of the issues,
but I always hated to export a single function for only one value.
All I need is to export each function e.g.:
Code:
function GetProcessorName: PAnsichar;
function GetFileSystemType: PAnsichar;
function GetCpuClockSpeed: integer;
...
and so on