[Insight-users] File:dbgheap.c problem when using ITK in C++/CLI

Dan Mueller dan.muel at gmail.com
Sat Aug 22 10:52:21 EDT 2009


Hi Hossein,

It seems there is a memory corruption. It is difficult to diagnose the
issue without seeing any source code (and even with seeing the source
code it may be difficult to find).

I recommend you write the simplest smallest program which reproduces
the issue, and post this to the mailing list.

Regards, Dan

2009/8/22 Hossein Ghadiri <hossein.ghadiri at gmail.com>:
> Dear Luis
>
> Thank you very much, I found and download files.
>
> But, now I know I can use native ITK when I am programming in C++/CLI.
>
> So, If it is possible, help me in my way:
>
> I develop a CLI form application and decide to read dicom series and work
> with images and headers.
>
> I used ITK in my program and there are no error in compilation and linking,
> but when I run the program, an Error Window come up including:
>
>
>
> Microsoft Visual C++ Debug Library
>
> Debug assertion Failed
>
> Program g:\QuCT\880524\debug\001.exe
>
> File:dbgheap.c
>
> Line:1414
>
> Expression: _CrtIsValidHeapPointer(pUserData)
>
>>
> Abort/Retry/Ignore
>
>
>
> And my program does not run.
>
>
>
> Please help
>
>
>
>
>
>
>
> ________________________________
>
> From: Luis Ibanez [mailto:luis.ibanez at kitware.com]
> Sent: Sunday, August 16, 2009 7:57 PM
> To: Hossein Ghadiri
> Cc: insight-users at itk.org
> Subject: Re: [Insight-users] I can not find "ManagedITK.Common.dl"l
>
>
>
> Hi Hossein,
>
>
> Have you tried downloading the binary build ?
>
> You can do that from:
>
>            http://code.google.com/p/manageditk/
>
> Look at the panel in the right hand side of the page above,
> and you will find the link to:
>
> http://manageditk.googlecode.com/files/ManagedITK-bin-x86-3.14.0.0.zip
>
>
>      Regards,
>
>
>             Luis
>
>
> ---------------------------------------------------------------------------------
>
> On Sun, Aug 16, 2009 at 7:58 AM, Hossein Ghadiri <hossein.ghadiri at gmail.com>
> wrote:
>
> Dear ITK users,
>
> As mentioned in Dan Mueller paper, for using Pre-Compiled assemblies, we can
> add “ManagedITK.Common.dll” assembly as References to our C++/CLI project.
>
> I did download “ManagedITK-src-3.6.0.2.zip” from MIDAS Journal, but I can
> not find assemblies.
>
> Thanks in advance for any help
>
> Hossein
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>


More information about the Insight-users mailing list