Should we register all codes deal with xdata?
Before attaching xdata under a given Application ID, the Application ID must first be registered using
regapp (or added to the ActiveX
registeredapplications collection); you can test whether the App ID is registered using
tblsearch on the
APPID table, however, since supplying the
regapp function with an already registered App ID has no effect, the
tblsearch check may be considered unnecessary.