The DLL entry point code in RawDllMain in "source/ocf/ocreg.cpp" loads the 6.20 version of the OWLNext DLL. Note that this is conditional code (a workaround) for the Microsoft compiler (BI_COMP_MSC), so the issue only affects users of this compiler.
Reported by David Gray Wright (david_g_wright) [discussion:705f6f87].
Discussion: 705f6f87
Discussion: OWLNext Code loading owl620 DLL if OWL_DLLNAME not defined
Notes:
The code in question is a workaround for the Microsoft compiler (BI_COMP_MSC). Is this workaround still needed with the current set of supported compiler versions?
The code is within a DLL entry point implementation, but is not conditional on whether or not OWLNext is built for static linking. For static linking, DLL entry points and OWL DLL loading should not be relevant.