Results 1 to 10 of 10

Thread: Strange AV?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #9
    Short strings can have 255 characters maximum, so we can not define string[4600] (at least with older Delphi compilers, I'm not familiar with the latest versions). Calling FillChar(P^, sizeof(TMyRec), 0); after GetMem() will eliminate the problem even without the restriction of the short string.
    Last edited by Jimmy Valavanis; 30-03-2012 at 04:25 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •