Stefan Leichter Stefan.Leichter@camLine.com writes:
looks like i was confused by LoadLibraryEx. I found now that when buildin and native version of a dll are present and nothing for the load order is specified LoadLibraryEx loads the buildin version as long as LOAD_LIBRARY_AS_DATAFILE is not specified. But when LOAD_LIBRARY_AS_DATAFILE is specified it loads the native version.
Can this behavoir be change to load the same dll independend of LOAD_LIBRARY_AS_DATAFILE ?
It can, but it's not clear that it should, LOAD_LIBRARY_AS_DATAFILE doesn't make much sense on a builtin. Anyway, the resources should be compatible, if they aren't that's a bug in the builtin.