liteav FreeLibrary异常
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- cpp
调研方向
Start with the reported Visual Studio 2022 environment using the v141_xp toolset and the liteav.dll loading sequence in the issue. Inspect the calls to getTRTCShareInstance, destroyTRTCShareInstance, and FreeLibrary, then review LiteAV_C_20231023-24100.zip for supporting logs. Done means reproducing the exception and documenting its cause and a verified resolution.
由索引模型根据 Issue 内容生成。
描述
我的环境是 Visual Studio 2022, 工具集是Visual Studio 2017 - Windows XP (v141_xp)
liteav 11.1.0.4523 ::FreeLibrary(m_hModule); 报异常,如图
`
typedef ITRTCCloud* (__cdecl* GetTRTCShareInstance)();
typedef void(__cdecl* DestroyTRTCShareInstance)();
HMODULE m_hModule(nullptr);
GetTRTCShareInstance getTRTCShareInstance(nullptr);
DestroyTRTCShareInstance destroyTRTCShareInstance(nullptr);
ITRTCCloud* m_pCloud(nullptr);
std::wstring wstrDLLPath = _T("liteav.dll");
m_hModule = ::LoadLibraryEx(wstrDLLPath.c_str(), NULL, LOAD_WITH_ALTERED_SEARCH_PATH);
if (m_hModule)
{
getTRTCShareInstance = (GetTRTCShareInstance)::GetProcAddress(m_hModule, "getTRTCShareInstance");
destroyTRTCShareInstance = (DestroyTRTCShareInstance)::GetProcAddress(m_hModule, "destroyTRTCShareInstance");
m_pCloud = getTRTCShareInstance();
if (m_pCloud)
{
std::string strVersion = m_pCloud->getSDKVersion();
}
}
if (getTRTCShareInstance || m_pCloud)
{
destroyTRTCShareInstance();
m_pCloud = nullptr;
getTRTCShareInstance = nullptr;
destroyTRTCShareInstance = nullptr;
}
if (m_hModule)
{
::FreeLibrary(m_hModule);
}
`
- 主要语言
- C#
- 星标
- 27
- 派生
- 20
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Tencent-RTC/TRTC_Windows 的其他 Issue
-
C++ SDK下载链接失效未关闭
难度 2/5 1 小时以内 新手友好度 45/100
Tencent-RTC/TRTC_Windows#26 ·
-
为什么没有linux sdk未关闭
难度 5/5 一周以上 新手友好度 15/100
Tencent-RTC/TRTC_Windows#25 ·
-
难度 2/5 1-3 小时 新手友好度 35/100
Tencent-RTC/TRTC_Windows#22 ·
-
难度 4/5 3-5 天 新手友好度 25/100
Tencent-RTC/TRTC_Windows#5 · 2 条评论 ·
查看 Tencent-RTC/TRTC_Windows 的全部 Issue
相似的 Issue
-
Bug: Hidden loading rings keep the compositor running, so Files uses 7-94% of a CPU core while idle未关闭
难度 2/5 1-3 小时 新手友好度 72/100
files-community/Files#19026 · 1 条评论 ·
维护者通常 1 天内回复
-
Physgun SFX Spam未关闭
难度 2/5 1-3 小时 新手友好度 62/100
-
难度 1/5 1 小时以内 新手友好度 80/100
SubtitleEdit/subtitleedit#15946 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
BHoM/Civil3D_Toolkit#118 ·
-
Reason-phrase table has misspelled entries (`Unathorized`, `Switching Protcols`, `Multiple Choises`)未关闭bug severity:low
难度 2/5 1-3 小时 新手友好度 65/100