Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: .NET3.0 CLR
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,
 
VishaK_90
Posted 30-Mar-13 3:52am
Edited 1-Apr-13 0:25am
v2

1 solution

Rate this: bad
good
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.
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 584
1 Maciej Los 275
2 DamithSL 233
3 Sergey Alexandrovich Kryukov 209
4 BillWoodruff 200
0 OriginalGriff 6,803
1 Sergey Alexandrovich Kryukov 6,377
2 DamithSL 5,421
3 Manas Bhardwaj 4,841
4 Maciej Los 4,330


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 3 Apr 2013
Copyright © CodeProject, 1999-2014
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