?
Solved

Class registration

Posted on 1998-08-03
2
Medium Priority
?
260 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 450 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

Technology Partners: 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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

719 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