On Mon, Mar 7, 2016 at 10:09 PM, Bart <bartjun...@gmail.com> wrote: > On 3/8/16, silvioprog <silviop...@gmail.com> wrote: > > I got an AV in the CMem unit. To reproduce the problem just compile and > run > > this code below: > > > > === code === > > > > program project1; > > > > {$mode delphi} > > > > uses > > Classes, SysUtils, cmem; > > 1. Shouldn't Cmem be the first unit in your program's uses clause? > 2. Maybe http://bugs.freepascal.org/view.php?id=29759
Now I declared it as first unit in my program, and the problem was: === error === C:\Users\silvioprog\Desktop\av>project1.exe An unhandled exception occurred at $0040B8E2: EAccessViolation: Access violation $0040B8E2 === /error === -- Silvio Clécio
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal