Path: csiph.com!feeder.erje.net!1.eu.feeder.erje.net!news.albasani.net!www.openwatcom.org!not-for-mail From: Frank Beythien Newsgroups: openwatcom.users.c_cpp Subject: Re: Creating Dos/4gw Dynamic Link Libraries? Date: Tue, 2 Jan 2018 13:47:11 +0100 Organization: OpenWatcom Lines: 37 Message-ID: References: NNTP-Posting-Host: p4ff8f93f.dip0.t-ipconnect.de Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: www.openwatcom.org 1514900783 18836 79.248.249.63 (2 Jan 2018 13:46:23 GMT) X-Complaints-To: news@www.openwatcom.org NNTP-Posting-Date: Tue, 2 Jan 2018 13:46:23 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 In-Reply-To: Content-Language: de-DE Xref: csiph.com openwatcom.users.c_cpp:3514 Am 02.01.2018 um 00:16 schrieb Johann 'Myrkraverk' Oskarsson: > Frank Beythien wrote: >> Am 01.01.2018 um 13:57 schrieb Johann 'Myrkraverk' Oskarsson: >>> Dear Open Watcom, >>> >>> How do you create dynamic link libraries for Dos/4gw?  So far >> >> I don't find DOS/4G DLLs mentioned in the docs, but I don't program >> Dos any more. > > See the Linker Guide, The OS/2 Executable and DLL File Formats, of > all places. > > I have found no explicit examples though.  And the message I included > in my original post shows that Open Watcom (thinks it) knows how to > make Dos/4G DLLs. I don't think so as neither the guides nor the wlink.lnk file with all system definitions for linking has an entry for Dos/4g dlls. Here: http://www.tenberry.com/dos4g/watcom/4gwtable.html it shows DLLs are only possible with the $999 price tag and not with the watcom included version 1.97. >> It would help if you posted a minimal (compiling!) example with the >> complete wcc386 and wlink cmdlines output to see which version you are >> using. > > What do you mean?  The makefile I listed shows the explicit wlink > command.  I am using Open Watcom 1.9 (in DOSBox for this exercise). Why can't you provide the terminal output from running wcc386 ... and the full source code so it gets reproducable for anyone who wants to help? CU/2 Frank