Posted April 1, 201114 yr Hello,I need your help for make ollydbg.lib with the file ollydbg.def in Microsoft Visual C++ 2010 Express Edition.Thanks,Mathieu Edited April 1, 201114 yr by mrousse83
April 1, 201114 yr What's the problem? I use this without any problems in my MSVS 2010 Ultimate.PDK.rar
April 1, 201114 yr Author I use the original file : ollydbg.def (attached to this post) I make my file with this command : lib.exe /DEF:ollydbg.def /MACHINE:X86 In VC++ 2010, i configure my project like that : When i make my project i have this errors : 1>c:\xxx\xxx\documents\visual studio 2010\projects\testplugin\testplugin\testplugin.cpp(12): error C2146: erreur de syntaxe : absence de ';' avant l'identificateur '_ODBG_Plugindata' 1>c:\xxx\xxx\documents\visual studio 2010\projects\testplugin\testplugin\testplugin.cpp(13): error C4430: spécificateur de type manquant - int est pris en compte par défaut. Remarque : C++ ne prend pas en charge int par défaut My code : #include "PLUGIN.H"char PluginName[] = "TestPlugin";char PluginVersion[] = "0.0.1";char PluginAuthor[] = "Test";extc int _export cdecl ODBG_Plugindata(char shortname[32]){ strcpy(shortname, PluginName); return PLUGIN_VERSION;}; I think it's because my ollydbg.lib file is not correct... but i don't now how to fix it ! Thanks, Mathieu files.zip Edited April 1, 201114 yr by mrousse83
Create an account or sign in to comment