What a strange thing...
I am doing same on VC++ 6.0, and all works fine...
I guess this is due to mixing default libraries. Try to add
lcms source files into your app workspace, (these are only
a few .c sources) and recompile. If doing is such way all
works fine, then take a look on library workspace settings.
I assume you have recompiled the lcms library, if not try
also to recompile, assuring debug, alignment etc. are proper.
Hope this helps.
Regards,
Marti.
----- Original Message -----
From: "John Gray" <gr...@ag...>
To: <lcm...@li...>
Sent: Saturday, June 30, 2001 11:39 AM
Subject: [Lcms-user] wierd interaction between lcms and MFC?
> Hello,
>
> I recently integrated lcms into the project I'm working on. The project
> consists of a image processing library, a cmdline interface, and MFC
> GUI. Other then the GUI, its all platform indepentant. The cmdline
> version works fine with lcms.
>
> The MFC app crashes on simple operations if I link in the lcms lib. I
> don't even have to make any calls to the lcms lib. If I ifdef out the
> lcms portions of the my lib, and link the MFC GUI without lcms, the app
> runs just fine. With lcms, the GUI crashes on little things like
> memory allocations. Is lcms redefining something the GUIs using?
>
> Thanks for you help,
>
> John
>
>
> --
> John Gray gr...@ag...
> AgoraNet, Inc. (302) 224-2475
> 102 E. Main Street, Suite 303 (302) 224-2552 (fax)
> Newark, De 19711 http://www.agora-net.com
>
>
> _______________________________________________
> Lcms-user mailing list
> Lcm...@li...
> http://lists.sourceforge.net/lists/listinfo/lcms-user
>
>
|