mrousse83 Posted April 1, 2011 Posted April 1, 2011 (edited) 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, 2011 by mrousse83
BoRoV Posted April 1, 2011 Posted April 1, 2011 What's the problem? I use this without any problems in my MSVS 2010 Ultimate.PDK.rar 1
mrousse83 Posted April 1, 2011 Author Posted April 1, 2011 (edited) 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, 2011 by mrousse83
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now