Comments Regarding Data Type E Apply to B Instead

ID: Q98326


The information in this article applies to:
  • Microsoft Excel Software Development Kit, version 4.0


SUMMARY

The comments in the Additional Data Type Information section on page 87 of the "Excel Software Development Kit" (published by Microsoft Press) regarding data type E actually apply to data type B.

Dynamic-link library (DLL) functions that return doubles by reference (data type E) need no modification to be used with Microsoft Excel. A DLL built with Borland C++ 3.1 that exports functions that return doubles by value, must use the method outlined in the above mentioned comments if those functions are to be called from Microsoft Excel.


MORE INFORMATION

The AddDbl sample function documented in the comments for data type E should be registered with type_text "BBB":

=REGISTER("MY.DLL","AddDbl","BBB")
The formal parameter npDbl that appears in AddDbl's declaration can be regarded as a place holder on the stack, and should not be registered. For example, the following REGISTER call for AddDbl is incorrect:
=REGISTER("MY.DLL","AddDbl","BBBH") Incorrect, don't register npDbl

Additional query words: 3.10 4.00 SDK docerr

Keywords :
Version : :4.0
Platform :
Issue type :


Last Reviewed: November 13, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.