草庐IT

GETLSPGUID

全部标签

c++ - 运行函数时运行时检查失败 #0

我在尝试使用这个函数时遇到这个错误voidWSPAPIGetLspGuid(LPGUIDlpGuid){memcpy(lpGuid,&gProviderGuid,sizeof(GUID));}错误Run-TimeCheckFailure#0-ThevalueofESPwasnotproperlysavedacrossafunctioncall.Thisisusuallyaresultofcallingafunctiondeclaredwithonecallingconventionwithafunctionpointerdeclaredwithadifferentcallingconv