Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

active x component 1

Status
Not open for further replies.

bubak

Programmer
Jun 25, 2001
208
SK
HI, i'm debuging code, that I haven't written. And when I find a code like:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0x7028347f, 0x3950, 0x11d3, { 0xa2, 0x76, 0x0, 0xa0, 0xc9, 0x1d, 0x5e, 0xfb } };
return clsid;
}
and after that createing of component with that ID, where can I find out, what component it is? (name, propertise, dll of it,...)

THX
bubak
 
I don't know if I understand right but you could look up in the registry under
HKEY_LOCAL_MACHINE\CLSID\"yourCLSID"
(You will have to convert a litlle it's format.)

undet the subkey InProcServer usually you will find the DLL name.

HTH, s-)

Blessed is he who in the name of justice and goodwill, sheperds the weak through the valley of darkness...
 
ok, thx, that's what I wanted, now I'll scan msdn to find the format conversion and let's rock ;-) (google dlls ;-)
 
ONE more thing: The programm doesn't work, because it cannot create the activex component. when I browse the source, I'll get that id, but that doesn't help me, because that component isn't registered by me. I guess, the ID is always the same, so it may be some list of that components somewhere? Or there is no way, if I cannot find out what software was on the computer, where it worked OK?
thx
bubak
 
Have you try to register the components with
regsvr32.exe {path}\MyComponent.dll (or .OCX)
at command prompt.

BTW, all .dll or .ocx that are components must export a function pair DllRegisterServer/DllUnregisterServer to be COM components. You can check that with QuickView or DependencyWalker

HTH, s-)

Blessed is he who in the name of justice and goodwill, sheperds the weak through the valley of darkness...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top