Call XdbeQueryExtension before of calling any Xdbe function