我正试图用C语写成批号,其他方案也将用C语进口。
因此,批次出口的所有功能均在无批发号的上界定,“无批发号”(出口)”(保留)。 我只用出口科和我想要出口的职能的名称(名称)。
I am using vc71/vs2003 to build this and I am still getting mangled names (which I can see if I open the .lib in notepad). Also just for clarification, visual studio causes name mangling in C code as well (most resources I could find mentioned it being an issue with only C++).
How can I prevent this name mangling?
Further Information:
单角名称为功能Name@integer,其中按字体表示参数(而不是按字母)。 例如,
From .lib: _PrepareSeverResponse@8
Function declaration in .h: char* PrepareSeverResponse(unsigned int* size ,handshake* ws_handshake);
.def: EXPORTS PrepareSeverResponse
Calling Convention: __stdcall(/Gz)
Hope this makes it clearer.