Pergunta

I have a program created with Delphi XE2 and want to scan images from a Flatbed scanner. I use TDelphiTwain and on my computer everything works fine.

The target is a touch-screen device with MS Windows Embedded for POS on, and there I constantly get an 'Unspecified error' when I click on the button to open the form. The strange thing is, it has worked before on this device and I haven't changed a thing. Suddenly it stopped working on that device.

Scanning in Windows works. I reinstalled the drivers, but that doesn't make a difference.

I have another touch-device with Windows XP embedded on it and even there it is still working fine.

Disconnecting the flatbed and trying to open the form gives an 'access violation exception'.

I have no idea how to debug this or where to look, as it works on my PC perfectly.

Foi útil?

Solução

We found out the problem is NOT Twain, but working with the PDF-ActiveX component... And it seems I'm not the only one. => How do I get Acrobat Reader Imported into Delphi 2007?

On the modern devices, Adobe Reader 11.0.0.7 installs and everything works. But some older devices fail while installing this version, and I have to go back to version 8.1.1 to get past the setup, but not being compatible for the ActiveX.

If we change code to get it working with older versions (like 8.1.1), it fails with Adobe Reader 11.0.0.7

some more lecture: https://forums.adobe.com/message/6381248 https://forums.adobe.com/message/6400731

Thanx for thinking and searching with me.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top