installing query builder

Im trying to install querybuilder for iw10 on d2010

and im getting undeclared identifier vartostr whilst installing amsql2010.dpk at step 3
any ideas?

Can you verify that the correct TMSDEFS.INC file is used.
Normally, this issue should be solved by adding the "Variants" to the uses list

in the source file where this error happens.

installation does'nt refer to tmsdefs.inc at all?  I have now copied the correct one and the components have installed.