Solved

Class registration

Posted on 1998-08-03
2
246 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi: how to send PJL commands to printer 3 89
error 1.1 400 Bad request idhttp delphi 18 55
QRReport  TQrmemo vertical stretching 1 42
DBGrid or StringGrid ? 6 70
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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

920 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

13 Experts available now in Live!

Get 1:1 Help Now