[Insight-users] Instabilities using VS6
Luis Ibanez
luis.ibanez at kitware.com
Wed May 16 15:24:45 EDT 2007
Hi Fabrice,
When you compile this code for Release:
Are you compiling "EVERYTHING* for the
same compilation mode (that is, Release) ?
If you attempt to mix object files that were
compiled for Release with others that were
compiled for Debug you will find run-time
unstabilities.
You may also verify the path that is being
used for loading the DLL (plugin). It is
easy to make the mistake of loading an old
version of a DLL...
Regards,
Luis
----------------------
Fabrice BERGER wrote:
> Hi all,
>
>
>
>
>
> I meet big instabilities using ITK in the following case :
>
> - ITK Version : 3.2
>
> - Compilator : Visual Studio 6 on Windows XP SP2
>
> - I compile with UNICODE activated (MFC, …)
>
> - I generate a DLL embedding ITK library for my use case ; this DLL (a
> plugin, indeed) is dynamically loaded by an executable which has nothing
> to do with.ITK.
>
> - I have absolutly no problems when running it in debug mode
>
> - In release mode, my application crashes when accessing some ITK
> functions (mainly DICOM reading stuff in my case), except when launched
> from depends.exe !!
>
> - When launching my application (still in release) from Visual Studio
> debugger, debug output stream states : « HEAP[top66.exe]: Invalid
> Address specified to RtlFreeHeap( 03D00000, 09029C70 ) »
>
>
>
> Any help on this matter would be greetly appreciated !
>
>
>
> Thx
>
>
>
> Fabrice.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
More information about the Insight-users
mailing list