Link to home
Start Free TrialLog in
Avatar of Marius0188
Marius0188

asked on

Delphi 7: Class not Registered error when running app

Dear Experts,

I have returned to project which I have not been working on for a month or two.

It was running ok the last time but when trying to run it now I get an error:
"Class not registered".

How to I solve this and which class is it?
Help me to bug this one.

Thanks!
Avatar of Marius0188
Marius0188

ASKER

Oh and when I click ok on the error box the app opens but gives Access Violations all the way.

you are using an activex control that is not registered in the machine where you are running the application

before you use your app you need to register the activex by running (from a command window or run window)

regsvr32 theActivex.dll
Completely Supporting BackBlackTigerX comment.

>>I have returned to project which I have not been working on for a month or two.

If you are using a new comptuer, you have to install the dll file first into your comptuer
Also register it as BackBlackTigerX told

sun4sunday
Thanks you guys for the help.

Don't laugh please. :)

How can I determine which ActiveX is missing?
Because I dont have an clue to which ActiveX.
ASKER CERTIFIED SOLUTION
Avatar of sun4sunday
sun4sunday
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial