Forum Discussion
YMinaev
Staff
15 years agoHi,
Unit names have a higher priority than routine names. If you have a unit named 'AlterOrder' added to your project and call a function named 'AlterOrder' in a unit which contains a USEUNIT reference to the 'AlterOrder' unit (no matter whether this function is defined in the 'AlterOrder' unit or not), TC won't be able to call it due to identifier conflicts.
In this case, call your function by its full name. Also, you shouldn't get this error if you do not reference the 'AlterOrder' unit in the unit where the 'AlterOrder' function call resides.
Unit names have a higher priority than routine names. If you have a unit named 'AlterOrder' added to your project and call a function named 'AlterOrder' in a unit which contains a USEUNIT reference to the 'AlterOrder' unit (no matter whether this function is defined in the 'AlterOrder' unit or not), TC won't be able to call it due to identifier conflicts.
In this case, call your function by its full name. Also, you shouldn't get this error if you do not reference the 'AlterOrder' unit in the unit where the 'AlterOrder' function call resides.