Table of contents
Collapse the table of content
Expand the table of content

Calling convention not supported by Visual Basic

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Visual Basic doesn't support all procedure calling conventions, which specify the order in whicharguments must be passed and the way that argument types must be specified. This error has the following cause and solution:

  • The procedure was called using a calling convention that Visual Basic doesn't support. For example, Visual Basic doesn't support the Pascal calling convention in a 16-bit version of the Microsoft Windows environment. If the calling convention isn't supported by Visual Basic, the procedure can't be called from Visual Basic. Check the object's documentation to see if an alternative is provided.

For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).

© 2018 Microsoft