error C2664: 'Bubblesort' : cannot convert parameter 4 from 'int (__stdcall CCallbackTester::*)(const unsigned char *,const unsigned char *)' to 'int (__stdcall *)(const unsigned char *,const unsigned char *)' There is no context in which this conversion is possible 這是因為非靜態成員函數有一個額外的參數:this指針,這將迫使你在成員函數前面加上static。當然,還有幾種方法可以解決這個問題,但限于篇幅,就不再論述了。