PruneBottle
asked on
Cbuilder XE Ambiguity in function IntToStr
The compiler reports ambiguity between 2 functions IntToStr(int) and IntToStr(_int64)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Many thanks, it worked.
Since I had this problem multiple times...
Anyway you want to convert a number to its string representation for use somewere as I had...
First of all to use the string representation inside a control (TEdit, TLabel or whatever ) just assign it to the Text property without conversion. It usually works...
In any other case depending to what you want to display use IntToStr((unsigned int)value);
unsigned int is just as example. You can use whatever.
Using this way you are type casting the value inside IntToStr() function...
George Tokas.