全部博文(60)
分类: C/C++
2011-01-16 14:28:55
l 创建新项目,将其设置为Empty Project如IDAPluginTest,在Source Files里添加cpp文件如PluginForTest.cpp。
l 右键项目,点击属性,编辑项目IDAPluginTest的属性。
l Configuration Properties->General->Configuration Type=Dynamic Library(.dll)
l Configuration Properties->C/C++->General->Additional Include Directories= path to SDK "include" folder
l Configuration Properties->C/C++->Preprocessor->Preprocessor Definitions=add two items __NT__;__IDP__;
l Configuration Properties->C/C++->Code Generation->Runtime Library=Multi-threaded Debug(/MTd)
l Configuration Properties->C/C++->Advanced->Calling Convention=_stdcall(/Gz)
l Configuration Properties->Linker->General->Output File= $(OutDir)$(TargetName).plw
l Configuration Properties->Linker->General->Additional Library Directories= path to SDK "libvc.w32" folder;
l Configuration Properties->Linker->Input->Additional Dependencies=add path to SDK libvc.w32\ida.lib;
l Configuration Properties->Linker->Command Line->Additional Options=/EXPORT:PLUGIN