Solved

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

Posted on 1999-01-13
3
318 Views
Last Modified: 2010-05-19
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.
0
Comment
Question by:alaingated
3 Comments
 
LVL 12

Expert Comment

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

Raymond.
0
 
LVL 20

Expert Comment

by:Madshi
ID: 1356347
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
 

Accepted Solution

by:
leon321 earned 50 total points
ID: 1356348
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

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now