Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 11/17/19 in all areas

  1. David Heffernan

    Creating an array of controls in Delphi

    What's wrong with just adding the controls to a collection? Controls.Add(control1); Controls.Add(control2); Etc.
  2. Ondrej Kelle

    TWebModule response content truncated before return

    Simple assignment to Content should be sufficient: Response.Content := doc.XML.Text; This will both encode the incoming string value and set ContentLength automatically. (See TISAPIResponse.SetContent in Web.Win.IsapiHTTP.) In your case the encoded stream was longer than the original text, e.g. due to insertion of escape characters. By setting ContentLength explicitly you have effectively truncated the encoded stream.
  3. Stefan Glienke

    DUnitX and testing MemoryLeaks

    Use LeakCheck - there is even a blog post how to. Not having done anything on something that just works does not mean abandoned. If something does not work, let him know. FastMM is good to report memory leaks on an entire application run but not suited for unit tests memleak reporting - that is why LeakCheck was written plus having something that works cross platform.
×