[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 327
  • Last Modified:

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.
0
alaingated
Asked:
alaingated
1 Solution
 
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
 
leon321Commented:
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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now