Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在自己的MFC程序中引入DD.h 和DD.cpp后调用函数没有 反应 #37

Open
Singformeasong opened this issue Feb 18, 2022 · 4 comments

Comments

@Singformeasong
Copy link

是不是要收费才能解锁....案例中的mfc调用是正常的

@ddxoft
Copy link
Owner

ddxoft commented Feb 18, 2022 via email

@Singformeasong
Copy link
Author

不需要。 估计你代码有误。

On Fri, Feb 18, 2022 at 12:06 PM Singformeasong @.> wrote: 是不是要收费才能解锁....案例中的mfc调用是正常的 — Reply to this email directly, view it on GitHub <#37>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARXPLN4ANLYSGSHUQWBKII3U3XATFANCNFSM5OWVH7DQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you are subscribed to this thread.Message ID: @.>

我新建了一个 vs2019 x64的MFC程序,按照例子里引入了DD.h和DD.cpp,成功加载了dll文件,m_hModule也获取到了地址,但是调用例如DD_mov(100,100)时,还是没有反应。然而我新建一个 vs2019 控制台程序,成功加载dll,函数执行正确....大佬有什么头绪吗?我没辙了...研究了一天了....

@ddxoft
Copy link
Owner

ddxoft commented Feb 18, 2022 via email

@Singformeasong
Copy link
Author

工程文件,包含 一个vs2019 x64 控制台程序、一个 vs2019 x64 MFC程序
链接:https://pan.baidu.com/s/1XrxViRm0VQULWTUvk4OBdg
提取码:1234
...阿里云盘没法分享压缩文件...用一下小水管...文件80多mb...见谅....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants