Exception When Starting a .NET Application

Valid from List & Label 13
When starting a List & Label .NET application with version 14 or lower, you might receive one of the following exceptions in a x64 OS:
System.BadImageFormat Exception (Exception detail: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000b)).

Exception.InnerException or System.IO.FileNotFoundException (Exception detail: Unable to load DLL 'c?ll14.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)).
It could be the DLL 'cmll14.dll' (MBCS) or 'cull14.dll' (Unicode). 


The reason is that Visual Studio 2008 by default tries to compile and start a 64 bit process on 64 bit Operating Systems.

List & Label is available as 64 bit build starting with version 15. You can easily prevent the exception when using an older version by changing the compile target from “Any CPU” to “x86”. This forces the application to run as 32 bit process even on a 64 bit OS.

IDKBTE000733 KBTE000733