I'm changing signature of a function which will be exported in dll.
DEF file:
...
??0CLimitOrderBase@Base@@QEAA@H@Z
?foo@CLimitOrderBase@Base@@UEAAHAEAVCLimitInfo@2@@Z
...
Code will change from
namespace Base {
class CLimitOrderBase : public CLimit
{
...
virtual BOOL foo(CLimitInfo &limitInfo);
...
};
to
virtual BOOL foo(CLimitInfo &limitInfo, bool bCheck = false);
How do I get the new mangled name to change in the DEF file?