flash ane (文章撰寫測試)

你要搞這個必需要熟悉如何用FD。而後做者本人C++比較渣。要是有好的方法請告知。函數

設置C++項目this

很好,下面修改代碼,打開Dllmain.cpp移除下面的代碼。code

include "stdafx.h"

and replace it with this:視頻

而後用下面代碼替換rem

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;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

include <Windows.h>

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

用Flash Develop 的native 擴展蠻痛苦的。可是俺們就是稀飯FD這個IDE。。。因此教教你們怎麼作啦。。(挺長的),我從視頻上找到的步驟。

相關文章
相關標籤/搜索