nmodcod.dll,winsck.ocx(tcpip) and registry

Hi i would like to know how can i check if these two files have been registred in a pc.

because i use a tcpip component i know that i have to register these files using regsvr32-s filename, but i want to check first if the have been  already registered

thanks in advance.
alaingatedAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
leon321Connect With a Mentor Commented:
Just try to do something that needs those registered files. If they are not properly registered, you will receive a EOleSysError. Write an exceptional handler for this specific exception.
for instance:
try
   HTML1.RequestDoc('http://www.microsoft.com');
except
   on EOleSysError do
   begin
   showmessage('HTML component files not registered properly!');
   end;
end;




0
 
rwilson032697Commented:
How do you want to check if they are registered? By running regedit, from within a Delphi app or some other way?

Raymond.
0
 
MadshiCommented:
First of all you have to find out one GUID of each dll. Then you could look if this GUID is found in the registry under
  HKEY_CLASSES_ROOT\CLSID\{---guid---}

Regards, Madshi.
0
All Courses

From novice to tech pro — start learning today.