Click here to Skip to main content
13,050,617 members (83,383 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hi All,

In current project consisting of about 600 binaries(dll's,exe's,ocx's etc.,) I need to identify .NetDll's which has COM component, As I can understand, in such scenario's Registration using Regasm is mandatory (if and only if the .NetDll's have COM components),

But, my query ,

1. how to identify such .net Dll's requiring registration(otherwise embedded COM components) how I need to segregate .NetDll's (Registration/Non-Registration).

Also, I used .Net Reflector tool to identify/segregate Dll's(.Net Dll's / Non-.Net Dll's(Win 32's , COM -Dll's), but I need to focus programatically /if available open source tool to throw more light on differentiating (.Net Dll with COM Component and pure .Net dll's).

2. Is the adding interfaces/methods within the above .Net Dll(COM component) same as we would implement in ATL-COM Project(DllRegisterServer - Adding Interface/methods etc., in COM-DLL). ?

3. How also, one determines, the dependency of Windows Services of the above .Net Dll from my project., for eg., Assuming Print_XYZ.dll (.Net Dll with COM component) is dependent on start/stop of windows services (services.msc).

(ie., given a .Net Dll/COM component , how one could one conclude the above mentioned .Net Dll is dependent on print spooler services(windows services).

any assistance in resolving the above queries would be appreciable.

Thanks & Regards,

Posted 30-Mar-13 2:52am
Updated 31-Mar-13 23:25pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Probably you may design a program that dynamically loads the assemblies thru reflection (i.e. Assembly.Load) then iterating thru exported types using GetExportedTypes collection and inspect the types property. I'm sure you may inspect the type dependency on ActiveX components and also exposure of com interfaces this way.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 3 Apr 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100