操作系统:Win7
总结的规律:
第一个@前面是函数名,第一个@到第二第三个@是类名,第三个@到第四个@是返回值参数的类型
1,如果有参数(不包括void),以@Z结尾,否则以XZ结尾
2,VS2005都是以QAE开头
//DLL_EXPORT是自定义的导出类宏 后面是Win7+VS2005个函数导出后的名称
class DLL_EXPORT T
{
public:
void Fun1(){}; //导出后?Fun1@T@@QAEXXZ
char Fun2(){return 0;};//导出后?Fun2@T@@QAEDXZ unsigned char Fun3(){return 0;};//导出后?Fun3@T@@QAEEXZ bool Fun4(){return 0;};//导出后?Fun4@T@@QAE_NXZ unsigned bool Fun5(){return 0;};//导出后?Fun5@T@@QAEIXZ short Fun6(){return 0;};//导出后?Fun6@T@@QAEFXZ unsigned short Fun7(){return 0;};//导出后?Fun7@T@@QAEGXZ int Fun8(){return 0;};//导出后?Fun8@T@@QAEHXZ unsigned int Fun9(){return 0;};//导出后?Fun9@T@@QAEIXZ long Fun10(){return 0;};//?Fun10@T@@QAEJXZ
unsigned long Fun11(){return 0;};//导出后?Fun11@T@@QAEKXZ float Fun12(){return 0;};//导出后?Fun12@T@@QAEMXZ double Fun13(){return 0;};//导出后?Fun13@T@@QAENXZ void Fun22(char ){};//?Fun22@T@@QAEXD@Z
void Fun23(unsigned char){};//?Fun23@T@@QAEXE@Z
void Fun24(bool ){};//导出后?Fun24@T@@QAEX_N@Z void Fun25(unsigned bool){};//导出后?Fun25@T@@QAEXI@Z void Fun26(short ){};//导出后?Fun26@T@@QAEXF@Z void Fun27(unsigned short){};//导出后?Fun27@T@@QAEXG@Z void Fun28(int ){};//导出后?Fun28@T@@QAEXH@Z void Fun29(unsigned int){};//导出后?Fun29@T@@QAEXI@Z void Fun30(long ){};//导出后?Fun30@T@@QAEXJ@Z void Fun31(unsigned long){};//导出后?Fun31@T@@QAEXK@Z void Fun32(float ){};//导出后?Fun32@T@@QAEXM@Z void Fun33(double){};//导出后?Fun33@T@@QAEXN@Z void Fun42(int,char ){};//?Fun42@T@@QAEXHD@Z
void Fun43(int,unsigned char ){};//?Fun43@T@@QAEXHE@Z
void Fun44(void){};//?Fun44@T@@QAEXXZ
int Fun45(int){return 0;}; //?Fun45@T@@QAEHH@Z
int Fun46(int,int){return 0;}; //?Fun46@T@@QAEHHH@Z
int Fun47(int,int,int){return 0;}; //?Fun47@T@@QAEHHHH@Z
int Fun48(int,float){return 0;}; //?Fun48@T@@QAEHHM@Z
int Fun49(int,float,float){return 0;} //?Fun49@T@@QAEHHMM@Z
float Fun50(int){return 0 ;}; //?Fun50@T@@QAEMH@Z
};
标签:return,函数,VS2005,void,float,导出,unsigned,int From: https://blog.51cto.com/u_15724537/5732407