Originale-mail to me for new edition

 

Calling conventions for interfaces

 

The default calling convention is register, but interfaces shared among modules (especially if they are written in different languages) should declare all methods with stdcall. Use safecall to implement CORBA interfaces. On Windows, you can use safecall to implement methods of dual interfaces.

For more information about calling conventions, see Calling conventions.

 

Topic groups

 

See also

Interface types: Overview

Object interfaces: Overview

 

 

译文

 

接口调用约定

 

缺省的调用约定是register,而在模块中(特别当这些模块由不同语言编写时)共享的接口应当用stdcall声明所有的方法。用safecall实现CORBA接口。在Windows中,可以用safecall实现双重接口的方法。

有关调用约定的更多信息,见调用约定

 

主题组

 

相关主题

接口类型:概述

对象接口:概述