I am using: flex_get_error_description Lib "FlexMotion32.dll" (ByVal descriptionType%, ByVal errorCode&, ByVal commandID%, ByVal resourceID%, charArray%, sizeOfArray&) As Long. The definition for "charArray" is short, while VB does not provide such type. (In your old version, it is string type.). As such, how could I retrieve the error description?