com or not com

X

xCal

Hi group

what can i do to know if a given .exe or .dll file, is com or not?
thanks very much in advance, Carlos.
 
R

RFOG

Open a Command Box and type:

dumpbin /exports <name_of_program>|find "DllGetClassObject"

If that method is present, the program is a COM.

Or use Dependency Walker and search for: DllGetClassObject and
DllCanUnloadNow


--
Visita mi blog principal: http://rfog.blogsome.com
Y este sobre programación: http://geeks.ms/blogs/rfog
Libros, ciencia ficción y programación
========================================
Donde acaba el deseo comienza el temor.
-- Baltasar Gracian. (1601-1658) Escritor español.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top