my delphi helpfile says that i must declare my routines with the safecall convention if it is to support both compile time binding and runtime binding through com automation not sure if this is used outside delphi