Results 1 to 3 of 3

Thread: in MFC dialog project Detected memory leaks!

  1. #1
    dzw
    dzw is offline Registered User
    Join Date
    Jul 2004
    Location
    china
    Posts
    8

    Question in MFC dialog project Detected memory leaks!

    i use win2000 with sp4 ,vc6 and Ice1.4.0 ,I make a new MFC dialog project,
    in the stdafx.h I include "Ice/Ice.h", link with iced.lib and iceutild.lib ,build Ok
    but I run it as debug when I close the dialog ,vc report "Detected memory leaks! "

    Detected memory leaks!
    Dumping objects ->
    {77} normal block at 0x00475768, 16 bytes long.
    Data: < WG hWG > 18 57 47 00 68 57 47 00 00 00 00 00 00 00 00 00
    {75} normal block at 0x00475A90, 1808 bytes long.
    Data: <0123456789ABCDEF> 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 46
    {74} normal block at 0x00472FE0, 28 bytes long.
    Data: < w > A0 0A FD 77 FF FF FF FF 00 00 00 00 00 00 00 00
    {69} normal block at 0x004759F8, 88 bytes long.
    Data: < G* h & $ZG > EC 47 2A 00 68 18 26 10 24 5A 47 00 CD CD CD CD
    {68} normal block at 0x00475960, 88 bytes long.
    Data: < G* h & YG > EC 47 2A 00 68 18 26 10 8C 59 47 00 CD CD CD CD
    {67} normal block at 0x004758C8, 88 bytes long.
    Data: < G* H & XG > EC 47 2A 00 48 18 26 10 F4 58 47 00 CD CD CD CD
    {66} normal block at 0x00475830, 88 bytes long.
    Data: < G* ( & \XG > B0 47 2A 00 28 18 26 10 5C 58 47 00 CD CD CD CD
    {64} normal block at 0x00475410, 792 bytes long.
    Data: <September > 53 65 70 74 65 6D 62 65 72 00 CD CD CD CD CD CD
    {63} normal block at 0x00475208, 448 bytes long.
    Data: <Thu mbe Wed mbe > 54 68 75 00 6D 62 65 00 57 65 64 00 6D 62 65 00
    {62} normal block at 0x00474C90, 1328 bytes long.
    Data: <%a %b %e %H:%M:%> 25 61 20 25 62 20 25 65 20 25 48 3A 25 4D 3A 25
    {61} normal block at 0x00474AF8, 344 bytes long.
    Data: <PM Wed M:% > 50 4D 00 CD CD CD CD CD 57 65 64 00 4D 3A 25 00
    {60} normal block at 0x00474970, 320 bytes long.
    Data: <C Sun > 43 00 CD CD CD CD CD CD 53 75 6E 00 CD CD CD CD
    {55} normal block at 0x00472E80, 33 bytes long.
    Data: < C > 00 43 00 CD CD CD CD CD CD CD CD CD CD CD CD CD
    {54} normal block at 0x00472E18, 40 bytes long.
    Data: < |L > 14 7C 4C 10 16 00 00 00 00 00 00 00 00 00 00 00
    Object dump complete.

    I only include "ice.h" and linked iced.lib and iceutild.lib !!!
    Last edited by dzw; 07-28-2004 at 11:05 PM.

  2. #2
    mes's Avatar
    mes
    mes is offline ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,445
    Hi,

    Yes, we are aware of this issue (see this previous thread). It is caused by static std::string objects whose memory is not released before the memory leak checker displays its output. We realize that this output is annoying, but we don't have any good solutions at the moment (aside from "just ignore it" ).

    Take care,
    - Mark

  3. #3
    dzw
    dzw is offline Registered User
    Join Date
    Jul 2004
    Location
    china
    Posts
    8
    okCI will read it. thanks!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. ICE Server support MFC project based dialog?
    By mrliuhua in forum Help Center
    Replies: 1
    Last Post: 10-26-2009, 04:42 AM
  2. Why the program memory leaks?
    By russule in forum Help Center
    Replies: 2
    Last Post: 01-10-2007, 07:53 PM
  3. Link error when adding MFC header in dll project
    By emoly in forum Help Center
    Replies: 7
    Last Post: 09-12-2005, 07:49 AM
  4. With MFC, memory leak?
    By alwayscy1 in forum Help Center
    Replies: 4
    Last Post: 11-05-2003, 08:48 PM

Posting Permissions

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