delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/29/13:20:42

From: elf AT netcom DOT com (Marc Singer)
Message-Id: <199605291710.KAA07795@netcom15.netcom.com>
Subject: Re: Windows for djgpp
To: A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk (A.Appleyard)
Date: Wed, 29 May 1996 10:09:59 -0700 (PDT)
In-Reply-To: <16BEEA922D5@fs2.mt.umist.ac.uk> from "A.Appleyard" at May 29, 96 03:54:18 pm
MIME-Version: 1.0
Sender: elf AT netcom DOT com

>   It seems to me that a start at implementing djgpp for Windows would be for
> me to know how a djgpp program could:-
>   (0) Detect whether it was running under Windows or not.

This is documented by MS.  I believe it is available in their knowledgebase.

>   (1) Not create a DOS box but run directly under Windows.

Only possible when linking to the Windows DLLs.  There is a version of
GCC being ported by the Cygnus folks that generates Windows 95 EXEs.

>   (2) Find the screen mode & the apparent address of the start of the screen:
> it could do all screen-saving and screen-restoring itself if it had to.

I don't understand your suggestion.

>   (3) Call function n from Windows function-list qwerty, e.g. CHECKRADIOBUTTON
> (checks a specified button and removes checks from all others) is #96 in
> Windows function-list USER.EXE
>   (4) Access Windows fonts etc: this I suspect is included in (3).
>   (5) Access Windows's various standard internal mode etc parameters.

Have you looked at RSXWIN?

 -- Marc Singer

- Raw text -


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