I have a need to recompile old program(MSHELL) made with IBM C/Set2.
During compilation I get library dde4mbs.lib not found. Is there a
replacement for this library on VAC3? Or do I need IBM C Set/2 to compile
this? If so does someone have a copy of it? I am also attaching makefile
from mshell source with this post for someone willing to help to take a look
at it.
# basic settings
CCBASE = icc /c /Gd- /Se /Re /ss /Ms /Gm+ /Q+ /Fo$*.obj /Gs- /Kb+
LINKBASE = link386 /nod /map
# switches for debug and retail
DEBUGCFLAGS = /Ti+
RETAILCFLAGS = /DNDEBUG
DEBUGLINKFLAGS = /cod
# to build non-debug version: NMAKE NDEBUG=1 ( case sensitive )
!ifndef NDEBUG
# debug version
BIN = debug
CC = $(CCBASE) $(DEBUGCFLAGS)
LINK = $(LINKBASE) $(DEBUGLINKFLAGS)
!else
# retail version
BIN = retail
CC = $(CCBASE) $(RETAILCFLAGS)
LINK = $(LINKBASE)
!endif
all: $(BIN)\mshell.exe
# make target directory if necessary
!if [ mkdir $(BIN) 2>nul ]
!endif
OBJ = $(BIN)\MSHELL.OBJ $(BIN)\CREATE.OBJ $(BIN)\OBJECT.OBJ $(BIN)\MENU.OBJ
$(BIN)\DLG.OBJ
H = MSHELL.H DEF.H
SRC = *.c *.h *.rc *.dlg *.ico *.def makefile readme license.txt
LIBS = DDE4MBS OS2386
$(BIN)\dlg.obj: dlg.c $(H)
$(CC) dlg.c
$(BIN)\menu.obj: menu.c $(H)
$(CC) menu.c
$(BIN)\create.obj: create.c $(H)
$(CC) create.c
$(BIN)\object.obj: object.c $(H)
$(CC) object.c
$(BIN)\mshell.obj: mshell.c $(H)
$(CC) mshell.c
$(BIN)\MSHELL.EXE: $(OBJ) mshell.def mshell.res
$(LINK) $(OBJ), $(BIN)\MSHELL.EXE, $(BIN)\MSHELL.MAP, $(LIBS), MSHELL
rc mshell.res $(BIN)\MSHELL.EXE
cd $(BIN)
mapsym mshell
cd ..
mshell.res: mshell.dlg mshell.rc mshell.ico
rc -r mshell.rc
zip:
nmake source.zip
nmake mshell.zip
source.zip: $(SRC)
if exist source.zip erase source.zip
pkzip2 source $(SRC)
mshell.zip: retail\mshell.exe readme license.txt mshell.abs source.zip
if exist mshell.zip erase mshell.zip
pkzip2 mshell $**
>Hi,
>
> I have a need to recompile old program(MSHELL) made with IBM C/Set2.
>During compilation I get library dde4mbs.lib not found. Is there a
>replacement for this library on VAC3? Or do I need IBM C Set/2 to compile
>this? If so does someone have a copy of it? I am also attaching makefile
>from mshell source with this post for someone willing to help to take a look
>at it.
>
I don't know the answers to your questions. However, if this
program is that old, is it 16 bit or 32 bit?
There are a number of DDE*.DLL files under my VAC directory.
I would suspect one of them has the functions that were previously
in DDE4MBS.DLL.
What happens if you delete the reference to DDE4MBS.DLL from
your makefile? The compile should then fail with unresolved
references, but a list of those references might offer a clue on
where to look for replacement functions.
Aidan Grey
Tero
"Aidan Grey" <apg...@nospam.con> kirjoitti viestissä
news:ncterlabfcnzpba...@news.execulink.com...
Tero,
I think I emailed you the exe file, but if you want to try mshell with
Open Watcom try this:
http://www.mgreene.org/tmp/mshell_ow.zip
I clean up and made a wmake makefile. You can get the new version of
Open Watcom:
ftp://ftp.openwatcom.org/watcom/devel/open-watcom-c-os2-1.6-rc2.exe
Mike
Tero
"Michael Greene" <o...@mgreene.org> kirjoitti viestissä
news:buM8h.3$Ey...@newsfe18.lga...