OpenALMusicPlayer.cpp:164:22: error: invalid conversion from ‘char’ to ‘const char*’ [-fpermissive] 手动修改: 改为: const char* error = "\0"; 修改后效果:
g++编译错误信息如下: error: invalid conversion from 'FARPROC' {aka 'long long int (*)()'} to 'LPVOID' {aka 'void*'} [-fpermissive]| 解决方法: //原定义: FARPROC addr; //引用: if(VirtualProtectEx(GetCurrentProcess(), addr,12, PAGE_EXECUTE_READWRITE, &old)) //可修改为 if(Virtual...