• src/sbbs3/ctrl/makelibs.b

    From rswindell@VERT to CVS commit on Thursday, May 09, 2019 19:23:00
    src/sbbs3/ctrl makelibs.bat 1.12 1.13
    Update of /cvsroot/sbbs/src/sbbs3/ctrl
    In directory cvs:/tmp/cvs-serv21447

    Modified Files:
    makelibs.bat
    Log Message:
    Work-around for issue with the old implib version:
    Borland Implib Version 3.0.22 Copyright (c) 1991, 2000 Inprise Corporation
    and MSVC-generated DLLs with exported functions using _cdecl calling convention ... sometimes or with some verisons of some DLLs, implib won't add the underscore prefix to the exported function name which caused the build error: Error: Unresolved external '_total_users' ...

    Using coff2omf instead to convert the MSVC-generated import library (sbbs.lib) to the Borland/OMF flavor works, however. I'd seen this issue before but it went away when the number of symbols in the source DLL changes. Newer versions of implib appear to *not* have this issue so when we upgrade to a newer C++Builder, this work-around will no longer be necessary.


    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net