use riidr version of AFXClient