Microsoft KB Archive/27776

{|
 * width="100%"|

Excel and REGISTER Conventions

 * }

-

The information in this article applies to:


 * Microsoft Excel for Windows, versions 2.x, 3.0, 4.0, 4.0a, 5.0

-

Question:

Does Excel expect REGISTERed routines to obey the Pascal calling convention? If so, is it safe to allow for the reversal of the argument order and CALL a C-style routine anyway, or will I eventually overflow (or underflow) Excel's stack?

Response:

You must use the Pascal calling convention. It is a Windows requirement, not an Excel requirement.

Additional query words: 2.0 2.00 2.1 2.10 3.0 4.0

Keywords :

Version :

Platform :

Issue type :

Technology :