Eric Pouech eric.pouech@wanadoo.fr writes:
- case DLL_PROCESS_ATTACH:
if (!GetModuleHandleA("MSVFW32.DLL") && !LoadLibraryA("MSVFW32.DLL"))
{
ERR("Could not load sibling MSVfW32.dll\n");
return FALSE;
}
Note that this is not necessary. The 32-bit dll is always loaded before the 16-bit one (otherwise we couldn't reference symbols in it).