Jump to content
Tuts 4 You

Make ollydbg.lib with ollydbg.def in Visual C++ 2010 Express ?


mrousse83

Recommended Posts

Posted (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 by mrousse83
Posted

What's the problem? I use this without any problems in my MSVS 2010 Ultimate.

PDK.rar

  • Like 1
Posted (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 :

vc1v.png

vc2.png

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 by mrousse83

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...