PDA

View Full Version : Newbie question about name mangling (VC6.0)


faina
October 15th, 2004, 03:56
Hello there, I would like to learn how to create plugins, so I tried to compile the "bookmark" example, but linker says that

_Pluginreadintfromini

and many other functions are "unresolved external symbol".

I think that I should tell the compiler not to put the underscore before functions declared as "cdecl", but I really cannot find the right place: I'm using Visual Studio 6.0.

Thanks for any help,

faina

faina
October 15th, 2004, 08:06
I gave a look into Ollydbg.def and it seems that the exported names should have the underscore: I really don't understand what I'm overlooking.

Noone uses Visual Studio 6.0 here?

Thanks,

faina

faina
October 15th, 2004, 09:37
UPDATE.
I tried with the new "ollydbgvc7.lib" and it worked!
I also tried with the Command Line plugin and, from my early tests, it seems to work as the "official one".

Suggestions from the experts are appreciated anyway.

Thank you,

faina

duhru
March 5th, 2005, 19:47
I tried with the new "ollydbgvc7.lib" and it worked!

Where did you find ollydbgvc7.lib? It doesn't seem to be in the plug110.zip. I'm also getting the same errors compiling with VS6.

duhru
March 9th, 2005, 11:06
I found what I need, it's in the "Modified PDK from Alex Clarke":
http://home.t-online.de/home/Ollydbg/sdkupdat.zip ("http://home.t-online.de/home/Ollydbg/sdkupdat.zip")