Excel: C and FORTRAN Data Type Equivalents of DLL CodesLast reviewed: November 3, 1994Article ID: Q78760 |
The information in this article applies to:
SUMMARYAppendix A of the "Microsoft Excel Function Reference" describes the data type that corresponds to each letter used in the type_text parameter of a CALL or REGISTER function. However, it does not explicitly name the types. The following is a table of these types.
MORE INFORMATION
Letter C Data Type FORTRAN Data Type ------ ----------- ----------------- A BOOL n/a int INTEGER * 2 [VALUE] B double REAL * 8 [VALUE] C LPSTR CHARACTER * n [FAR] char far * D n/a n/a E double far * REAL * 8 [FAR] F LPSTR CHARACTER * n [FAR] char far * G n/a n/a H WORD INTEGER * 2 [VALUE] unsigned int I int INTEGER * 2 [VALUE] J LONG INTEGER * 4 [VALUE] long int K n/a n/a L BOOL far * INTEGER * 2 [FAR] int far * M int far * INTEGER * 2 [FAR] N LONG far * INTEGER * 4 [FAR] long int far * O int far * INTEGER * 2 [FAR] int far * INTEGER * 2 [FAR] double far * REAL * 8 [FAR] P n/a n/aSeveral of the types (A, C, F, H, J, L, N) contain nonstandard C type names, given in capital letters. These types are defined in WINDOWS.H, the standard header file used when writing Windows-based applications in C. In these cases, the standard C type name is also given. Data type O passes three arguments onto the stack: two far pointers to integer and one far pointer to an array of double-precision floating-point numbers.
REFERENCES"Microsoft Excel Function Reference," pages 253-254
|
KBCategory: kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |