Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delphi 5 Appointments - Register Class?

Status
Not open for further replies.

TMS

Programmer
Sep 7, 1999
2
US
I have upgraded to Delphi 5 and I am trying to use the AppointmentItem<br>
Component, found under the Servers Tab. I tried to use the connect<br>
procedure and the AutoConnect property provided. Only when I run the<br>
project, named OtLkAppt, I receive the error:<br>
<br>
Project OtLkAppt.exe raised exception class EoleSysError with message<br>
'Class not registered'. Process stopped. Use Step or Run to Continue.<br>
<br>
I know I am probably forgetting something real basic, but I can not figure<br>
out how to get it to 'REGISTER'!<br>
<br>
Anybody have any ideas what I have to do before I use the connect procedure.<br>

 
The AppointmentItem, even though it came from the Distribution out of a .bpl, it's a COM component (descended from TOLEServer) This means one of three things in your situation; This class isn't registered, Some other class you are using isn't registered, or the application you are running isn't registered. I would think more than likely some other component is causing this error, but if it is your executable, then you can run the /regserver switch to register it. I hope this helps.
 
How do I run the /regserver switch? What info do I need to include?<br>
If it is another class or component how do I register them?<br>

 
To run the /regserver switch on a COM based executable, you will run the executable like this at the command prompt:<br>
<br>
C:\MyProject\DelphiComObj.exe /regserver<br>
<br>
As I understand It:<br>
This accomplishes the same thing as running the <br>

 
To run the /regserver switch on a COM based executable, you will run the executable like this at the command prompt:<br>
<br>
C:\MyProject\DelphiComObj.exe /regserver<br>
<br>
As I understand It:<br>
This accomplishes the same thing as running the <br>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top