JBoavida 0 Posted Friday at 05:40 PM 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 When loading the project: 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
DelphiUdIT 265 Posted Friday at 07:33 PM 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
JBoavida 0 Posted Friday at 08:46 PM Thank you very much. It worked! I was complicating things. Joaquim Share this post Link to post