cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/20/08:17:03

From: "Johan Venter" <jventer AT writeme DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <37D80FBE DOT BFBC8703 AT pepparkakor DOT demon DOT nl>
Subject: Re: 2 questions
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Message-ID: <TVmF3.21260$ei1.41010@newsfeeds.bigpond.com>
Date: Mon, 20 Sep 1999 11:54:50 +1000
NNTP-Posting-Host: 139.134.164.109
X-Trace: newsfeeds.bigpond.com 937818867 139.134.164.109 (Mon, 20 Sep 1999 19:14:27 EST)
NNTP-Posting-Date: Mon, 20 Sep 1999 19:14:27 EST
Organization: Telstra BigPond Internet Services (http://www.bigpond.com)
Lines: 36
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Roger <roger AT pepparkakor DOT demon DOT nl> wrote in message
news:37D80FBE DOT BFBC8703 AT pepparkakor DOT demon DOT nl...
> Hi,everyone.
>
> I have want to do a little program,but I want to know a few things
> first.

I take it you want to develop this as DOS program compiled with DJGPP to be
run in a Windows 95/98 DOS box? Is this correct?

> Is it possible to size the doswindow,in my program? I want to have a
> little window,but I can't make it.

I don't think this is possible from a DOS program (although stranger things
have been accomplished).

> Then I wonder how I can communicate with another computer in a network.I
> wanna try it,but I have no idee what port or who I do.

If you just want straight access to a networked computer that you know the
name of, you could probably try opening a file or directory in your program
with the \\ style Windows network locator.

Try this (note: untested):

FILE *f = fopen("\\\\somemachine\\c\\test.txt", "r");

Cheers,

--
Johan Venter
ICQ 3643877
surf.to/djgppig



- Raw text -


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