Solved

Delphi 3 and TCP/IP Komponents.

Posted on 1997-10-01
2
307 Views
Last Modified: 2010-04-04
Hi folks,

I have a short question.

A friend of mine wrote a small program to establish a TCP/IP connection using the Delphi components.

In theory it works, it can establish the connection between two computers that have delphi installed, but when we try to start the program on a computer without Delphi we get a funny exeption fault "expeption EOleSysError (Class not registered).

I guess the TCP/IP stuff needs some OCX or so. Does anyone know which files to copy and how to register the class?

Thanks in advance,

  Nils Pipenbrinck
0
Comment
Question by:nils pipenbrinck
2 Comments
 
LVL 3

Expert Comment

by:CyberSoft
ID: 1346720
I recently was toying around with the TCP/IP component and then removed it as I was only experimenting - then compiled and received the same error on run-time - look in one of your units there is a oleCtrls unit (I don't think it belongs there though - because after I removed it and then re-placed the TCP/IP component on my page it did NOT insert the oleCtrls unit in my unit declaration section.

Hope that helps somewhat.

0
 
LVL 5

Accepted Solution

by:
JimBob091197 earned 150 total points
ID: 1346721
Delphi's Internet components are OCX controls, as you have correctly guessed.  They reside in your Windows System folder, and are as follows:
NetManage ActiveX DLLs:
NMSCKN.DLL       This DLL provides a TCP/IP WinSock layer to the ActiveX controls.
NMOCOD.DLL      This DLL provides docstreaming and other various shared code.
NMORENU.DLL       This DLL provides the language resources (for English).
NMFTPSN.DLL      This DLL provides FTP support for the FTP ActiveX control.
NMW3VWN.DLL      This DLL provides HTML viewing support for the HTML ActiveX control.

NetManage ActiveX Controls:
FTPCT.OCX      This control provides FTP client support.
HTML.OCX      This control provides HTML viewer support.
HTTPCT.OCX      This control provides HTTP client support.
HTTPSR.OCX      This control provides HTTP server support.
INETCT.OCX      This control provides generic Internet client support.
INETSR.OCX      This control provides generic Internet server support.
MIME.OCX      This control provides MIME encode/decode support.
NNTPCT.OCX      This control provides NEWS/NNTP client support.

POPCT.OCX      This control provides POP3 client support.
SMTPCT.OCX      This control provides SMTP client support.
WCGI.OCX      This control provides WCGI support.
WINSCK.OCX      This control provides TCP and UDP support.

Microsoft Files

CTL3D32.DLL      This DLL provides MFC 3D control support.
MSVCRT40.DLL      This DLL provides C run-time library support.
OLEPRO32.DLL      This DLL provides OLE property frame and standard types support.
REGSVR32.EXE      This application provides an interface to register controls.
VB40032.DLL      This DLL is the Visual Basic runtime DLL.

(Your end-users won't need all of these files if your app only uses TCP/IP.)


To register any OCX you need to run RegSvr32.exe with the OCX as a parameter.  (RegSvr32 is in System folder.)
E.g.  RegSvr32  MyOcx.ocx

For YOUR development you need to merge Licences.reg with your registry.  It is found in C:\(MyDelphiPath)\OCX\Isp\
You must NOT distribute this licence file to your end users because it will enable them to develop applications with the internet OCXs from NetManage, thus breaking your licence agreement with NetManage.

0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

758 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

18 Experts available now in Live!

Get 1:1 Help Now