View Full Version : IC Imaging Control with Static Library

November 2, 2008, 09:40:54
i need to build in release mode with "Mfc with static library" option.

With the configuration "Mfc with DLL" my program works fine. But I need to change this option to "Mfc with static library" to using my program on an other pc.

The error
"Wrong C Runtime specified. The ICImagingControl library requires you to link to the Multithreaded DLL Runtime" in udshl_lnk.h file
occurs on the "Mfc with static library" configuration.

How I can fix that?

Stefan Geissler
November 3, 2008, 13:01:35
You can fix this only, if you encapsulate IC classlibrary in an own DLL, that is linked dynamically.

Another method is not possible, because IC needs the MS Runtime DLLs dynamically.

November 3, 2008, 18:35:59
okay, thanks.