你要搞这个必需要熟悉如何用FD。而后做者本人C++比较渣。要是有好的方法请告知。函数
设置C++项目this
很好,下面修改代码,打开Dllmain.cpp移除下面的代码。code
and replace it with this:视频
而后用下面代码替换rem
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;it
The dllmain.cpp file should now look like this:io
以后,找到DLLMain函数,移除整个Switch语句。。function
The dllmain.cpp file should now look like this:扩展
而后你的DLLmain.cpp就是这样。。(你妹啊。。你直接贴出来结果不行么。。)file
BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved )
{
return TRUE;
}
用Flash Develop 的native 扩展蛮痛苦的。可是俺们就是稀饭FD这个IDE。。。因此教教你们怎么作啦。。(挺长的),我从视频上找到的步骤。