As I suspected, there is a conflict with another unit(s). I used JSDialogs previously for many dialogs and have found that I have to remove the JSDialog units before being able to use the TaskDialog unit with AdvMessageDlg.
Thanks for your support.
Andrew