flash ane (文章撰写测试)
文章目录
你要搞这个必须要熟悉如何用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。。。所以教教大家怎么做啦。。(挺长的),我从视频上找到的步骤。
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论