Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. sebbetek

    AnsiString thread memory bug

    Then it doesn't happen. But that shouldn't be a leak, because it's "created" on the stack, and should be deleted through each loop, or at least not recreated, AFAIK. BTW, I found that the problem didn't happen when I turned off Codeguard... so maybe it's a CodeGuard bug?
  2. sebbetek

    AnsiString thread memory bug

    To answer your question, I'm not 100% sure, but I should be. At my company, we automatically install update 1,2 and 4, but I don't know if there are any new ones? In the about box, the version info is: Version 6.0 (Build 10.166) (The second problem in my post should be ignored, the project is...
  3. sebbetek

    AnsiString thread memory bug

    I use Borland C++ 6, and there seems to be a bug! I made a simple test program starting several threads, where each thread Execute function calls a recursive function which loops and makes some heavy allocation... (not)! Actually I narrowed it down to this, and it still gives EOutofmem...
  4. sebbetek

    Thread Looping and using all CPU

    Did you get it solved? I don't know much about how Services work, but you can always use the Sleep()-function to let the CPU rest a little between each loop ;) Like so: Sleep(100); Or there is probably some Windows Wait-function that can be used, or use a Timer instead for a loop.

Part and Inventory Search

Back
Top