Loading...

Problem open demo in Delphi

Support for GdTwain ActiveX and GdTwain Pro ActiveX/SDK.

Problem open demo in Delphi

Postby Markus123 » Wed Feb 11, 2009 4:04 pm

Hi,

I've downloaded GdTwain today and tried to run the Delphi demo. When Delphi (2007) opens the form, I get an error saying that the component TTwain is not installed. I have imported the tlb and added it to ActiveX pallette page (but it isn't listed in ActiveX).

To all Delphi cracks out there: What is to do?

Thanks for your answers,
Markus
Markus123
 
Posts: 1
Joined: Wed Feb 11, 2009 3:18 pm

Re: Problem open demo in Delphi

Postby Loïc » Sun Feb 15, 2009 11:34 am

Hi Markus,

Unfortunately we haven't Delphi 2007 (only V6 & V7).

If you are working on project based on the .NET framework you should use GdPicture.NET.

Else i you encounter problem importing an ActiveX into a win32/Delphi 2007 project I suggest you to report this question to the CodeGear team support.

With best regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4441
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Problem open demo in Delphi

Postby APE47 » Mon Mar 02, 2009 4:30 pm

Hi,

I'm having the exact same problem. Having previous installed GDTwain on another PC (Delphi 7 Enterprise)I cannot get the Twain component to install into the ActiveX package on a new PC. The created GDTwain_TLB does not have the declaration of TTwain = class(TOLEControl)... thus the demo will not work. Am I mising some standard twain files / dlls, or the registration of some OCX?

Andrew
APE47
 
Posts: 5
Joined: Mon Mar 02, 2009 4:24 pm

Re: Problem open demo in Delphi

Postby APE47 » Mon Mar 02, 2009 7:09 pm

Hi,

Finally got my TTwain component to install in the ActiveX palette. Do the following...

1. In Delphi select Project, Import Type Library
2. Click te ADD button
3. Now find tand select gdtwain2.tlb from the installed gdtwain files. This is by default in c:\program files\GdTwain ActiveX
4. Select the pallette page it will appear in (by default ActiveX).
5. Click the INSTALL

Note I was failing when initially trying to do the following, which apparantly does the same, but the OLEControl declaration for TTwain is not made in GDTwain2_TLB.pas and the component is not then put into the palette

1] Component... Import ActiveX Control
2] Selecting the GDTwain ActiveX from the list
3] Then selecting INSTALL

Hope this helps.
Andrew
APE47
 
Posts: 5
Joined: Mon Mar 02, 2009 4:24 pm


Return to GdTwain [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest