Thank you for your reply.
I did as you advised. I compiled into an OBJ file the stndlone.c source and added it to the link sequence.
However, now I am getting different, unresolved external symbol, errors in the stndlone function during linking. Please see below---
Attempt to compile to C and link generated OBJ file:
---------------------------------------------------------
REM @echo off
REM
REM compile a BASIC program to exe using the Visual C compiler
REM under WINDOWS-XP
REM
SET LIB=C:\VC\lib;C:\VC\libVC
scriba -n -Co HELLO.c HELLO.SB
C:\VC\BIN\cl /Ox /GA6s /DWIN32 /MT /nologo /W0 /c /FoHELLO.obj HELLO.c
C:\VC\BIN\cl /Ox /GA6s /DWIN32 /MT /nologo /W0 /FeHELLO.exe HELLO.obj stndlone.obj C:\ScrBas\lib\libscriba.lib ws2_32.lib advapi32.lib
-------------------------------------------------------------------------------------
The Results:
C:\ScrBas\bin>REM @echo off
C:\ScrBas\bin>REM
C:\ScrBas\bin>REM compile a BASIC program to exe using the Visual C compiler
C:\ScrBas\bin>REM under WINDOWS-XP
C:\ScrBas\bin>REM
C:\ScrBas\bin>SET LIB=C:\VC\lib;C:\VC\libVC
C:\ScrBas\bin>scriba -n -Co HELLO.c HELLO.SB
C:\ScrBas\bin>C:\VC\BIN\cl /Ox /GA6s /DWIN32 /MT /nologo /W0 /c /FoHELLO.obj HELLO.c
HELLO.c
C:\ScrBas\bin>C:\VC\BIN\cl /Ox /GA6s /DWIN32 /MT /nologo /W0 /FeHELLO.exe HELLO.obj stndlone.obj C:\ScrBas\lib\libscriba.lib ws2_32.lib advapi32.lib
stndlone.obj : error LNK2019: unresolved external symbol _alloc_InitSegment referenced in function _libscriba_LoadBinaryProgram
stndlone.obj : error LNK2019: unresolved external symbol _alloc_Alloc referenced in function _libscriba_LoadBinaryProgram
stndlone.obj : error LNK2019: unresolved external symbol _scriba_destroy referenced in function _stndlone
stndlone.obj : error LNK2019: unresolved external symbol _report_report referenced in function _stndlone
stndlone.obj : error LNK2019: unresolved external symbol _scriba_Run referenced in function _stndlone
stndlone.obj : error LNK2019: unresolved external symbol _scriba_SetFileName referenced in function _stndlone
stndlone.obj : error LNK2019: unresolved external symbol _scriba_LoadConfiguration referenced in function _stndlone
stndlone.obj : error LNK2019: unresolved external symbol _GlobalDebugDisplayFlag referenced in function _stndlone
HELLO.exe : fatal error LNK1120: 8 unresolved externals
Don