www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/01/20:00:39

From: "DeHackEd" <Not DOT given AT out>
References: <359958D5 DOT 9C25253F AT geocities DOT com>
Subject: Re: DLL's please tell me how
Date: Wed, 1 Jul 1998 19:53:18 -0400
Lines: 19
Message-ID: <u#SVouUp9GA.220@upnetnews03>
Newsgroups: comp.os.msdos.djgpp
NNTP-Posting-Host: d10-bn48-blvl-pda.attcanada.net [142.194.170.74]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

It's possible, but not quite in the Windows context. The final EXE will not
tolerate any missings references (unless you hack about), but if you want to
check this out:

This address is on DJ's page:

http://www.delorie.com/djgpp/dl/beta/dll-940219.zip

There is another utility out there, but I don't have an address. I think this
one is easy enough to use. Requires C++ to compile, but links to C.
--
"DeHackEd"

My Email address in the header is fake (spammers). Email me at this address:

http://www.geocities.com/cgi-bin/homestead/mail.pl?dehacked



ming from gcc; I think the compiled code is incompatible with
the linker RSXNTDJ uses. For example try a simple "Hello world" program
using printf(), make sure to save it with just a ".c" extension, compile it
with the -Zwin32 switch and you get a console program that works. Now just
change the extension to ".cpp" and BINGO, the compile fails (usually at the
link stage).

>> I've also had some problems with patch. I dl'ed the
>> Platform SDK from microsoft, copied the include files
>> to c:\rsxntdj\include\mssdk, and ran patch < patch.dif.
>> This just scrolled an error message to the effect of
>> "Path file not found. Skip? [n]" across my screen for
>> quite some time until I got impatient and hit ^C.
>
>Usually, you need to invoke `patch' with -p0 switch.  If that doesn't
>work either, you will need to figure out from which directory to
>invoke `patch' to make it work, or reply to those prompts with the
>correct file names.
>
>(And impatience is not a good advisor when setting up software, at
>least in my experience.)

The problem here is that the MSSDK include files have changed and are now
incompatible with the dif file. It is possible to go through the dif file
(it's text) and find the changes yourself, though I wouldn't wish that on
anyone.

---
<jot AT electrotex DOT com>
John Stoneham
Beaumont, TX



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019