Solved

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

Posted on 1999-01-13
3
324 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

717 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