[fpc-pascal] Re: Access violation that I do not understand while creating a class instance

ik idokan at gmail.com
Mon Jan 23 15:56:03 CET 2012


On Mon, Jan 23, 2012 at 16:28, ik <idokan at gmail.com> wrote:

> Hello,
>
> In the following code (
> https://github.com/ik5/redit_client.fpc/blob/master/tests/test_parser.lpr#L55),
>
> when I point, I have access violation when trying to create
> TRedisErrorReturnType.Create
>
> It does not happen for TRedisStatusReturnType.Create for example, that
> have the same parent as TRedisErrorReturnType.
>
> What am I missing or doing wrong here ?
>

Solved it, but I do not understand it.
Why did new made access violation and StrAlloc not ?


>
> Thanks,
>
> Ido
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20120123/2d2f4a3e/attachment.html>


More information about the fpc-pascal mailing list