Skip to content

mono 获取函数指针时,发生错误 #32

Open
@MY-Git-Li

Description

@MY-Git-Li

错误位置:
static auto Invoke(const std::string& funcName, Args... args) -> Return {
if (address_[funcName] != nullptr) {
try {
return reinterpret_cast<Return(UNITY_CALLING_CONVENTION*)(Args...)>(address_[funcName])(args...); //这里发生错误,funcName =“”mono_compile_method” 无误,args 无误,报错原因:0x00007FFBFEA11A9D (ntdll.dll)处引发的异常: 0xC0000005: 写入位置 0x0000000000000120 时发生访问冲突。
}
catch (...) {
return Return();
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions