by 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