Click here to Skip to main content
15,886,798 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

First, I found your article on Proxy DLLs very interesting!

I tried then to override a DLL with a proxy, generated by your tool (wrappit).

Once the proxy is compiled, when I look at the exports, I find some differences in the decorated names of the exported methods of C++ classes.

I'm wondering if it depends on some options of my compiler (VC++.NET 2003)...

For example, the original dll exports "??0MyClass@@QAE@PADHH@Z", which is the decorated name of the constructor "MyClass::MyClass(char*, int, int)".
When the proxy is compiled (using a def file like "??0MyClass@@QAE@PADHH@Z=__E__0__ @1"), and if I dumpbin it, I get "??0MyClass".

That's the same thing for every other C++ classes exports: It's like the @* were avoided during the link...

Do you have some information on this ?

Many thanks by advance!
Posted
Updated 14-Dec-09 7:24am
v2

1 solution

wrote:
First, I found your article on Proxy DLLs very interesting!


I don't get why so many people post to the site, and cannot work out that the forum below the article, is the one you use to talk to an article author.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900