Reinier Olislagers wrote:
On 26/09/2014 21:41, Mark Morgan Lloyd wrote:
Reinier Olislagers wrote:
If using pchars: is the program doing all storage allocation for these
or is the DLL also allocating memory?
The DLL is generating those pchars.
What frees them?
Heh ;)
Ok, I think I've got it w
On 26/09/2014 21:41, Mark Morgan Lloyd wrote:
> Reinier Olislagers wrote:
>>> If using pchars: is the program doing all storage allocation for these
>>> or is the DLL also allocating memory?
>> The DLL is generating those pchars.
>
> What frees them?
Heh ;)
Ok, I think I've got it worked out now:
Small enhancement for the jsonviewer:
In mainform, OnShow change the code to:
-
procedure TMainForm.FormShow(Sender: TObject);
begin
if (Paramcount > 0) then
try
OpenFile(ParamStr(1));
exit;
except