我现在想调用ffmpeg中的函数,现在已经有了lib,.h和dll,调用没有参数的的函数时没有问题,但是调用有参数的函数时就会出现: error C2197: 'int (__stdcall *)(void)' : too many actual parameters,希望哪位高手能给解决!!在线等待 谢谢各位的回答,我已经自己解决了问题!!
江户川乱折腾
浏览 451回答 2
2回答
12345678_0001
参数匹配 链接库中函数的原型 和实参调用的不一致'identifier' : too many actual parametersThe specified function was called with too many parameters, or the function declaration was incorrect.The following is an example of this error:void func( int );main(){func( 1, 2 ); // error, two actual parameters}