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, 用Flash Develop 的native 扩展蛮痛苦的。但是俺们就是稀饭FD这个IDE。。。所以教教大家怎么做啦。。(挺长的),我从视频上找到的步骤。 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |