From my read of the documentation, is that you add the "Option" and the
.def file entries into the .lnk file.
Thanks.
Port them --- from where?
And what parts of them do you have to re-use?
Last I checked, OW did accept .def files as-is, for those few cases that
really need them.
From VAC++. The MS2WLINK documents say that it handles os2 .def files,
but it does not seem too.
I mean even something simple like:
LIBRARY COMPOSE INITINSTANCE TERMINSTANCE
PROTMODE
DATA MULTIPLE NONSHARED READWRITE LOADONCALL
CODE LOADONCALL
EXPORTS ComposeWindow
HandleRotate13
Thanks.
Michal
Kind of like this:
--------- in makefile -----
dw.dll: $(DWOJS)
$(LD) NAME dw @dw.lnk $(LDFLAGES) FILE {$(DWOJS)}
--------- dw.lnk ----------
SYSTEM os2v2_dll initinstance terminstance
OPTION manyautodata
OPTION DESCRIPTION 'Dynamic Windows for OS/2'
EXPORT dw_init.10
EXPORT dw_main.11
EXPORT dw_exit.12
EXPORT dw_beep.13
--- many more exports