Solved

Delphi 3 and TCP/IP Komponents.

Posted on 1997-10-01
2
313 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
[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
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

726 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