When exporting is: [email protected]@[email protected]
When importing is: [Email protected]@[email PROTECTED]_WU
The difference between G and _w, in order to study the meaning of each letter. The following experiments were done:
void Fun () =
[Email protected] @YAXXZ
void Fun (int) =
[Email Protected]@[email protected]
void Fun (int a,int b) + =
[Email Protected]@[email protected]
void Fun (int a,int b,int c)
[Email Protected]@[email protected]
void* Fun () =
[Email protected] @YAPAXXZ
void** Fun () ==>
[Email protected] @YAPAPAXXZ
void Fun (short *)
[Email Protected]@[email protected]
short* Fun (short *)
[Email Protected]@[email protected]
int fun (Bool,char,short int,long,float,double)
[Email Protected]@[email protected]
int fun (Bool,char,short int,long,float)
[Email Protected]@[email protected]
int fun (bool,char,short int,long) =
[Email Protected]@[email protected]
int fun (bool,char,short int) =
[Email Protected]@[email protected]
int fun (Bool,char) =
[Email Protected]@[email protected]
int fun (BOOL) =
[Email Protected]@[email protected]
int fun (bool a) = =
[Email Protected]@[email protected]
int fun (CString) =
[Email protected]@[email protected][email protected][email protected]@[email protected]@@@@[email Protected]@@Z
typedef atl::cstringt< TCHAR, strtraitmfc< TCHAR > > CString;
int fun (char) =
[Email Protected]@[email protected]
int Fun (wchar_t)
[Email Protected]@[email protected]
int fun (carray<int,int>);
[Email Protected]@[email protected]@@@z
int Fun (CTime)
[Email Protected]@[email protected]@@@z
Class Ctestclass
{
};
_bmfglobe_expimp int Fun (class ctestclass);
[Email Protected]@[email protected]@@z
int fun (unsigned char,unsigned int,unsigned long)
[Email Protected]@[email protected]
int Fun (__int64)
[Email Protected]@[email protected]
int fun (unsigned __int64)
[Email Protected]@[email protected]
Summarize:
1, the formal parameter has no name and does not affect the export.
2,int->h x->void void*->pax void**->papax short->f SHORT*->PAF
Bool->n char->d long->j float->m double->n
Ctime->[email protected] Carray<int,int>->[email protected]
wchar_t (unsigned short)->g unsigned char->e, unsigned int->i,unsigned long->k
unsigned __int64->_k
Attention:
DLL-derived functions can be viewed with the depend.exe of the VC itself.
The functions that LIB exports can be viewed with commands:
Dumpbin/linkermember d:\Globe.lib > D:\1.txt
DUMPBIN is VC automatic tool
Development environment: VS2002 (VC7)
Final Workaround:
The newly added DLL configuration is the same as the other DLLs.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Clearly exported function, cannot import