加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

flash ane (文章撰写测试)

发布时间:2020-12-15 17:40:24 所属栏目:百科 来源:网络整理
导读:你要搞这个必须要熟悉如何用FD。然后作者本人C++比较渣。要是有好的方法请告知。 设置C++项目 很好,下面修改代码,打开Dllmain.cpp移除下面的代码。 include "stdafx.h" and replace it with this: 然后用下面代码替换 include Windows.h After that,let's

你要搞这个必须要熟悉如何用FD。然后作者本人C++比较渣。要是有好的方法请告知。

设置C++项目

很好,下面修改代码,打开Dllmain.cpp移除下面的代码。

include "stdafx.h"

and replace it with this:

然后用下面代码替换

include <Windows.h>

After that,let's go to the DllMain function and remove the entire switch statement so that the only code left in the function is: return TRUE;

The dllmain.cpp file should now look like this:

之后,找到DLLMain函数,移除整个Switch语句。。

The dllmain.cpp file should now look like this:

然后你的DLLmain.cpp就是这样。。(你妹啊。。你直接贴出来结果不行么。。)

include <Windows.h>

BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved )
{
return TRUE;
}

用Flash Develop 的native 扩展蛮痛苦的。但是俺们就是稀饭FD这个IDE。。。所以教教大家怎么做啦。。(挺长的),我从视频上找到的步骤。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读