Download ActiveSocket    |     Visit the ActiveSocket website

Index - Log in! - Sign up! - Visit website
Class not registered error
 
ActiveXperts Software Forum Index -> ActiveSocket Toolkit -> Development Platforms
 
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jzanten



Joined: 27 Nov 2007
Posts: 2

PostPosted: Tue Nov 27, 2007 10:53 am    Post subject: Class not registered error

This problem only occurs on my own machine. I can compile my SNMP-based switch-manager without a problem, but I get an error when I try to run it.

HOWEVER : When I start the executable on another machine, all is fine.

My question : can so see from the below details WHAT I am missing on my develop machine ?

============
Error : Project XFNet.exe raised exception class EOleSysError with message "class not registred".

When I go into the debugger, the editor shows me :

procedure TSocket.Connect;
var
punk: IUnknown;
begin
if FIntf = nil then
begin
punk := GetServer;
Fintf:= punk as ISocket;
end;
end;

Where the pointer is at the red text.

As the messe doesn't tell me what I'm missing, I'm clueless how to approach this problem.
Any suggestions?

Thx

Jan van Zanten
Holland.
Back to top
Leon



Joined: 11 Jul 2007
Posts: 408

PostPosted: Wed Nov 28, 2007 8:52 am    Post subject:

Hello Jan,

Please go to the dos command prompt and type the following:

regsvr32 c:\program files\common files\activexperts\asocket.dll

Hope this helps,

Leon Steijger
ActiveXperts Software
Back to top
jzanten



Joined: 27 Nov 2007
Posts: 2

PostPosted: Wed Nov 28, 2007 9:45 am    Post subject:

The thing is, the demo runs fine, even when I load that demo project in Delphi.

I have a new laptop, and installed everything from fresh, but there MY project fails, and the demo runs fine.
I just don't know what I'm doing wrong, Delpi enterprise is patched, all my projects load fine, except this one.

I already regserved the DLL again, and it doesn't help.
Back to top
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum