Jump to content
JBoavida

Help on "Class not Found"

Recommended Posts

Hi,

I'm writing code to use Advantech USB-4711A that is data aquisition device. 

I had to import a type library into a .pas file. Everything went ok, but when I load the project I got the message "class not found", but the class is declared on the genereted file.

Tha class in question is TInstantDoCtrl 

 

image.thumb.png.584922e3f0f3d8275bc0f3e462dec215.png

 

When loading the project:

 

image.png.838169f2a2a4ed5aa69662343408f58c.png

 

What i'm doing wrong?

Project files attached.

Thank you in advance for any help

 

Joaquim

 

 

 

 

 

 

DO_StaticDO.zip

Share this post


Link to post

The .pas file only define the class a runtime, but the error indicate that is missing like design component from MainForm: this may be is an ActiveX component (.... is an ActiveX component).

You must import like a component in the IDE Palette (using Menu Component / Import Component).

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×