[DGD] Re: Adding ANSI to Win32
Felix A. Croes
felix at dworkin.nl
Tue Sep 1 10:38:17 CEST 1998
"Wim van der Vegt" <wvd_vegt at knoware.nl> wrote:
[Wim's message reordered for clarity]
> From: Scott Maasen <scottm at wwn.net>
>[...]
> >When I attempt to run it.. it says: Gethostbyname: Not owner.
> >I've tried the squirrel method on this problem *Trying every combination of
> >the directions I can think of* to no result :(
> >I have a copy of the DGD.exe that was posted for win32.. it works great and
> >I've been rebuilding the mudlib.
> >ANY suggestions would be incredibly welcome. I just want to get ANSI color
> >with the lib. I love the fact that it runs in
> >Windows95. Right now the computer I'm using is at my home and I can run
> >this and still use my favorite software.
>
> I uploaded a patch (dgd_ansi) for adding ansi to lysator. It gives
> directions where to look and what to change for ansi support. It's a very
> simple adjustment (only one or two sourcelines to change).
>
> For the gethost message, you could install the net patch, it makes it
> dissapear.
If I understand Scott correctly, he is already using your "ANSI" patch.
Also note that the gethostbyname() problem he is having is not the
usual one for Win95, he mentions explicitly that he can run the
vanilla DGD without problems.
I think that his trouble stems from using Gnuwin32 to compile DGD --
not everyone has Visual C++. As a result, he is compiling with the
Unix connect.c, not the Win32 one. Does anyone else have experience
with compiling under Gnuwin32?
I was not aware that using the net package made the standard
gethostbyname() problem on Win32 disappear. I was under the impression
that winsock failed to initialize altogether if you are not connected
to the internet. I know that I have tried to eliminate it myself, which
merely moved the error to another socket call. Could someone please
confirm that using the net package eliminates the problem, which may
not be the same as the one that Scott is having?
Dworkin
More information about the DGD
mailing list