Solved

Class registration

Posted on 1998-08-03
2
258 Views
Last Modified: 2010-04-04
I'm writing a small mail client, using the POP component that comes with Delphi 3 pro.

When I run the application on a computer without Delphi I get an EOleSysError saying : Class not registered.

What is not registered and how do I do that ?
0
Comment
Question by:JustinCase
[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 4

Accepted Solution

by:
BoRiS earned 150 total points
ID: 1359588
justincase



    You need to register the ocx in the background for the app to work...maybe on the FormCreate procedure...

    use the Regsrv32.exe file with winexec or shellexecute
    the usage is like this...
         
    regsvr32 [/u] [/s] <DLLname or OCXname>
                                /u - if you want to unregister COMponent
                                /s - no message (silent) //use this param for behind the scenes...

the ocx you need to register is popct.ocx, copy the ocx with your app and then register it on the new machine...
0
 
LVL 3

Expert Comment

by:vladika
ID: 1359589
You can use
procedure RegisterComServer(const DLLName: string);

from Delphi 3\Source\RTL\SYS\comobj.pas

0

Featured Post

Industry Leaders: 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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
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-…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

734 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