Example error messages
The following error occurred when COMPutProperty attempted to call 'DefaultEvaluatingTimeLimit': Bad variable type
The overly terse error description to the right of the colon is the text returned from the COM object or the operating system. We'll try to decrypt what these mean below.
Bad variable type
The data type of the value sent as a parameter is not valid for that parameter. For example, this might happen when sending text to a COM VARIANT parameter which doesn't expect text. It can also occur if a method expects a LONG int (which has a range from -2,147,483,648 to 2,147,483,647) and you send it a 64-bit integer that is outside that range, such as 1,125,899,906,842,624.