Page 1 of 1

Unreadable string list scanners in Demo Delphi. (SOLVED)

PostPosted: Mar 06, 2018 21:27
by m_gs
Hello everyone.

The GetAvailableScannerModules() function returns an unreadable string:
"# $ AB00 # $ ABAB # $ ABAB # $ ABAB "????"".
I can"t list the scanners.

The others demos(.Net, Visual, Java) work without problems.
But I would like to compile my programs with Delphi.

Any suggestions? I appreciate your time!

-Use Win7 64bits, Delphi RAD Studio 2010.

Re: Unreadable string list scanners in Demo Delphi.

PostPosted: Mar 13, 2018 13:39
by MartynasV
m_gs wrote:Hello everyone.

The GetAvailableScannerModules() function returns an unreadable string:
"# $ AB00 # $ ABAB # $ ABAB # $ ABAB "????"".
I can"t list the scanners.

The others demos(.Net, Visual, Java) work without problems.
But I would like to compile my programs with Delphi.

Any suggestions? I appreciate your time!

-Use Win7 64bits, Delphi RAD Studio 2010.

Hello,

I've tested and I get the same with Delphi sample on our end, unfortunately we no longer support Delphi in our products(this free SDK still have those samples, because it is very old product, when we still supported Delphi), so I would advice to use other language.

Re: Unreadable string list scanners in Demo Delphi.

PostPosted: Mar 13, 2018 15:40
by m_gs
Thanks for answering!

I just solved the problem.

I changed all the strings by AnsiString and PChar by PAnsiChar, if someone helps.

Regards!