I'm using Embarcadero XE8 C++ builder 32 bit and I'm trying to convert a .dll file to a .lib. I did this with using the implib-tool. more info here.
I've got my new .lib file now. And it isn't working so I used a TDumpon the library. When I check out the Tdump, the names aren't correct.
Instead of having the name: CEasyPLCHandler it says ??0CEasyPLCHandler@@QAE@ABV0@@Z.
It seems that every method in the library added the ??0 at the start and @@QAE@ABV0@@Zat the end. When I simply open the library and replace ??0and @@QAE@ABV0@@Z with nothing it gives a new error:
.lib contains invalid OMF record, type 0x50
So I can't just simply change the text in the library.
How can I change the method names in my library? If that isn't possible how can I get my library working? I already made a topic about converting files: Linker error “contains invalid OMF record” 2