Problem with GetModuleCount() method on IE7 Windows XP

Add-in Express™ Support Service
That's what is more important than anything else

Problem with GetModuleCount() method on IE7 Windows XP
 
ykamran




Posts: 8
Joined: 2010-06-03
Hi,

I'm using Add-in Express 2010 for Internet Explorer Version 6.4.379 & Visual Studio 2008. The GetModuleCount() method does not return the correct number of module instances across all IE7 processes on Windows XP Professional SP3. Is there an alternative method to get exact count of module instances loaded across all IE7 processes?

Thanks in advance.
Posted 31 Mar, 2011 10:07:09 Top
Sergey Grischenko


Add-in Express team


Posts: 7217
Joined: 2004-07-05
Hi Ykamran,

Please try to use the GetModulesByTypeName method. It should work across all running IE processes.
Posted 31 Mar, 2011 10:17:22 Top
Yahya Kamran




Posts: 8
Joined: 2010-06-03
Hi Sergey,

I use the GetModulesByTypeName method and it is working across all running IE processes.



var list = GetModulesByTypeName(GetType().FullName);
var moduleCount = list.Count;



Thank you for your help.
Posted 01 Apr, 2011 03:34:11 Top