Function pointer and calling convention

前端 未结 3 1919
栀梦
栀梦 2021-02-04 04:24
float __stdcall (*pFunc)(float a, float b) = (float (__stdcall *)(float,float))0x411280;

How to declare a function pointer with calling convention? The

3条回答
  •  礼貌的吻别
    2021-02-04 04:46

    __fastcall is the optimized one (fastest calling convention) but not used for an unknown reason

    Try:

    int (__fastcall *myfunction)(int,float);
    

提交回复
热议问题