Solved

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

Posted on 1999-01-13
3
320 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

776 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