?
Solved

Delphi 3 and TCP/IP Komponents.

Posted on 1997-10-01
2
Medium Priority
?
316 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 300 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

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…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses
Course of the Month7 days, 19 hours left to enroll

765 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