• src/conio/conio.vcxproj conio_sdl.vcxproj src/sbbs3/addfiles.vcxproj a

    From Rob Swindell@VERT to Git commit to sbbs/master on Mon Sep 14 20:04:16 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/05c45f172748485e32485d47
    Modified Files:
    src/conio/conio.vcxproj conio_sdl.vcxproj src/sbbs3/addfiles.vcxproj allusers.vcxproj ans2asc.vcxproj asc2ans.vcxproj baja.vcxproj chksmb.vcxproj src/sbbs3/ctrl/sbbsctrl.res src/sbbs3/delfiles.vcxproj dstsedit.vcxproj dupefind.vcxproj echocfg.vcxproj filelist.vcxproj fixsmb.vcxproj ftpsrvr.vcxproj jsexec.vcxproj load_cfg.vcxproj mailsrvr.vcxproj makeuser.vcxproj node.vcxproj ntsvcs.vcxproj qwknodes.vcxproj sbbs.vcxproj sbbscon.vcxproj sbbsecho.vcxproj src/sbbs3/scfg/scfg.vcxproj src/sbbs3/services.vcxproj sexyz.vcxproj slog.vcxproj smbactiv.vcxproj smbutil.vcxproj textgen.vcxproj unbaja.vcxproj websrvr.vcxproj src/sexpots/sexpots.vcxproj src/smblib/smblib.vcxproj src/uifc/uifc.vcxproj src/xpdev/xpdev.vcxproj xpdev_mt.vcxproj
    Log Message:
    Switch from static C runtime library to runtime DLL

    This fixes the stat() issue on Windows XP/2K3 by allowing sbbs to benefit
    from the run-time library updates that Microsoft releases periodically
    (like https://www.microsoft.com/en-us/download/details.aspx?id=53840).

    For more info on the stat() issue which caused all kinds of sbbs errors
    (e.g. creating directories initially, but a lot more): https://stackoverflow.com/questions/32452777/visual-c-2015-express-stat-not-working-on-windows-xp

    Since we are using cryptlib which requires the MSVC runtime DLL anyway
    (it is the default build behavior of MSVC), we weren't really gaining
    anything from statically linking the CRTL (LIBCMT.LIB). And for some reason,
    an up-to-date MSVC2019 still has (links-in) a LIBCMT.LIB file that includes this stat bug. All the online help resources I found just to seem to suggest updating the CRTL DLLs (on the target system), with no mention of any fixes available for the static CRTLs on the build system. But with the no gain
    from static linking anyway, I figured it was time to switch to DLL CRTLs.

    The debug builds are still statically linking the CRTL for no particular reason.

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