Hi,
I've problems with threads. (Win32).
As example, that code is executed in thread:
    try
    spTr.LoadFromStream(ms_from_zip);
    except
       on EOutOfMemory do begin
           Result:=12;
           exit;
       end;
    end;
but in that case thread mysteriously stops working.

When I use that code:
    try
    spTr.LoadFromStream(ms_from_zip);
    except
           Result:=12;
           exit;
    end;

then everything is ok.
So my question is: may I use EOutOfMemory (and other errors) in threads ?

best regards
faber

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to