__cdecl forcing prefix with underscore

时间秒杀一切 提交于 2019-12-04 07:39:35

You should use .DEF file:

EXPORTS
    HTMLayoutClassNameA = HTMLayoutClassNameA
    HTMLayoutClassNameW = HTMLayoutClassNameW
    HTMLayoutClipboardCopy = HTMLayoutClipboardCopy
    ...

Here we have

externalname = internalname 

The Borland C/C++ compiler has an option to turn underscore generation on symbols on and off. -u (the default) generates underscores on symbol names. Add -u- to the command line and see if that helps. (I'm not sure where to do this in CodeRad, but I'm pretty much sure to remember that it could be done somewhere in the IDE).

use -vu compiler option to not prefix underbars to exported symbol names in bcc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!