error C2664: “gluNurbsCallback”: 不能将参数 3 从“void (__stdcall *)(GLenum)”转换为“void (__stdcall *)(void)”
来源:互联网 发布:2017淘宝权重规则 编辑:程序博客网 时间:2024/06/05 00:17
error C2664: “gluNurbsCallback”: 不能将参数 3 从“void (__stdcall *)(GLenum)”转换为“void (__stdcall *)(void)”
解决方法:添加(void (__stdcall *)(void))强制转换
例:gluNurbsCallback(theNurb, GLU_ERROR, (void (__stdcall *)(void))nurbsError);
- error C2664: “gluNurbsCallback”: 不能将参数 3 从“void (__stdcall *)(GLenum)”转换为“void (__stdcall *)(void)”
- error C2664: 'RtCreateTimer' : cannot convert parameter 3 from 'int (void *)' to 'void (__stdcall *)(void *)'问题解决办法
- error C2664: 'CreateThread' : cannot convert parameter 3 from 'unsigned long (void *)' to 'unsigned long (__stdcall *)(void *)'
- void __stdcall _com_issue_error (long)
- Assertion in void __stdcall mwJavaAbort(void)
- error C2197:'int (__stdcall *)(void )' :too many actual parameters(错误 C2197:‘int (__stdcall *)(void
- error C2662: “int Fraction::numerator(void)”: 不能将“this”指针从“const Fraction”转换为“Fraction &”
- 用VC创建新线程易出的问题error C2664: 'CreateThread' : cannot convert parameter 3 from 'unsigned long (void *)' to 'unsigned long (__stdcall
- error LNK2001: unresolved external symbol "void __stdcall _com_issue_error (long)"
- error LNK2001: unresolved external symbol "void __stdcall _com_issue_error (long)"
- error LNK2001: unresolved external symbol "void __stdcall _com_issue_error (long)"
- error LNK2001: unresolved external symbol "void __stdcall _com_issue_error (long)"
- error LNK2019: unresolved external symbol "unsigned int (__stdcall* ATL::g_pfnGetThreadACP)(void)" (?g_pfnGetThreadACP@ATL@@3P6G
- error LNK2019: unresolved external symbol "unsigned int (__stdcall* ATL::g_pfnGetThreadACP)(void)" (?g_pfnGetThreadACP@ATL@@3P6G
- error C2664:"CWnd::MessageBoxW"不能将参数从"const char[3]"转换为"LPCSTR"
- error C2664: 不能将参数 1 从“const char [3]”转换为“const wchar_t *”
- error C2664: “CreateMutexW”: 不能将参数 3 从“const char [8]”转换为“LPCWSTR”
- typedef unsigned long (__stdcall *THREADFUNC)(void *)
- Android基于XMPP Smack openfire 开发的聊天室(一)【会议服务、聊天室列表、加入】
- volatile作用
- WinCE系统下基于DirectShow的摄像头应用编程
- adb push的Permission denied
- 传智播客广州中心举行2周年庆典——时间:2012年5月6日
- error C2664: “gluNurbsCallback”: 不能将参数 3 从“void (__stdcall *)(GLenum)”转换为“void (__stdcall *)(void)”
- 五大最受欢迎的BUG管理系统
- Windows Media Services 流媒体服务器架设教程
- 移动图片
- ext2文件系统
- appDelegate.m中的函数说明
- HMM模型经典教程
- ms sql 分页存储过程
- sysbench RHEL6 安装备忘