Why don statically linked apps work?
_LtXmFixupVendorShell() at the beginning of main(), or at least before accessing the LessTif library somehow. Note that this call was not always exported from earlier versions of the Xm*.dlls. It does and will always exist from version 0.92.26 and above. For further technical details check out the source code in lib/Xm/Vendor.c and read the answer to “Application fails to start”. • What about “legacy” applications? Old LessTif programs may still be linked against Xm.dll while all recent ones should be linked against the libraries following the new naming scheme, i.e. Xm_12.dll, Mrm_20.dll, etc. For this legacy stuff there was a “final” version of the Motif 1.2 compatible Xm.dll being made available as of LessTif version 0.91.8 (August 2000). This is obviously quite outdated nowadays. If you really need a more up-to-date library Xm.dll either try the quick approach of renaming the dll or patching the executable (both approahces are not really recommended) or built one from scratch. In f