If mapi32.dll is replaced by MAPI of some other product, then also it is loaded (in GetComponentPath() in StubUtils.cpp). I have replaced mapi32.dll with other dll and it is loaded and after that it uses GetProcAddress and GetProcAddress fails. Instead it should first load mapi32.dll and try GetProcAddress and if that fails, load mapistub.dll and use GetProcAddress. What do you say?
More Pages to Explore .....