#1 2017-02-15 11:35:39

StxLog
Member
From: France
Registered: 2015-09-14
Posts: 58

Delphi XE2 - E2251 Ambiguous overloaded call to 'HexToBin'

Hi AB,

I've updated today to try your fix 232b1769f8 but i ran into one problem:
When I compile TestSQL3.dpr, with Delphi XE2 on Windows 10, it gave me error "E2251 Ambiguous overloaded call to 'HexToBin'" on line 2299 in SynLog.pas. If I put SynCommons.HexToBin it's ok.

Thanks.

edit: Haven't seen it was already posted https://synopse.info/forum/viewtopic.php?id=3810 sorry for double post.

edit2: It seems also that the Sqlite3Obj haven't been updated. I have error message "[...] Linked version is 3.16.2 whereas the current/expectred is 3.17.0 [...]"

Last edited by StxLog (2017-02-15 11:41:30)

Offline

#2 2017-02-15 12:02:00

jaclas
Member
Registered: 2014-09-12
Posts: 215

Re: Delphi XE2 - E2251 Ambiguous overloaded call to 'HexToBin'

btw it's interesting...

In Delphi XE2 message is:

E2251 Ambiguous overloaded call to 'HexToBin'"

in Delphi Berlin:

E2012 Type of expression must be BOOLEAN

Why Berlin message is inaccurate?

Offline

#3 2017-02-15 12:37:53

StxLog
Member
From: France
Registered: 2015-09-14
Posts: 58

Re: Delphi XE2 - E2251 Ambiguous overloaded call to 'HexToBin'

The "E2251 Ambiguous overloaded call to 'HexToBin'" was only the first part of the error message, it was also telling me that it needed boolean value too because Classes.HexToBin needed it I guess.

Offline

#4 2017-02-15 18:07:04

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,706
Website

Re: Delphi XE2 - E2251 Ambiguous overloaded call to 'HexToBin'

Offline

Board footer

Powered by FluxBB