🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms
Article #13953

Another question...

#13953
From: Mike Morris
Date: Thu, 08 Feb 1990 07:40
39 lines
2616 bytes
I've only been reading this newsgroup for a month or so, so please pardon
me if I am asking an old question, but...

I'm writing my first "real" program for Windows 2.11, and would like
to include a feature in the "About <application-name>..." menu item.
Since this application will be running on over 250 386sx machines, I fully
expect to have to support several different versions simultaneously.
I'd like to be able to tell the user 'click on the "About..." item and
tell me what you see'.

I want the About item to bring up a window which has, among other things:
"<application name> Version NN.NN, dated MM/DD/YY, at HH:MM"
in the window.  I cannot find any reference in any book about
getting file information from the system.  It's obvious it can be done,
just look at the "Long..." option in the MS-DOS window.  But how?
I think I can put the rev number string into a #define in the .H file...
If I can't get the file date/time, is there a way that I can read the
system date and time during the compile process and stuff them into a #define ?
Years ago when I programmed on a HP-1000, with a 2645 terminal, the editor
had a neat feaure where it would recognize a certain special format of 
date/time string in the source code and automatically update it. 
Too bad nobody has put it into a MS/PC-DOS editor...

My environment is Microsoft C version 5.1, the SDK kit, either the
notepad editor for quick fixes or the Norton editor when under dos...

BTW, has anybody gotten the MAKE/RC/CL/Link process to run under
windows?  It'd be nice to not have to bring up windows up to iconedit,
dialog box edit, and down to edit/compile/link, and up to test.

Lastly, is there a way to "reset" the Windows loader "memory changed"
announcement?  I recently began using 386max to stuff my Novell drivers
into high memory.  386max claims to be a compatible replacement for HIMEM.SYS
and SMARTDRIVE, but I can't install (i.e. SETUP) windows while it's running.

Mike Morris                      Internet:  Morris@Jade.JPL.NASA.gov
                                 Misslenet: 34.12 N, 118.02 W
#Include quote.cute.standard     Bellnet:   818-447-7052
#Include disclaimer.standard     Radionet:  WA6ILQ
Technical Details
Message-ID: <2773@jato.Jpl.Nasa.Gov>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!jato!jade!morris

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!jato!jade!morris
From: morris@jade.jpl.nasa.gov (Mike Morris)
Newsgroups: comp.windows.ms
Subject: Another question...
Message-ID: <2773@jato.Jpl.Nasa.Gov>
Date: 8 Feb 90 07:40:33 GMT
Sender: news@jato.Jpl.Nasa.Gov
Reply-To: morris@jade.Jpl.Nasa.Gov (Mike Morris)
Lines: 39