HDTenEightyP/NetNews huggingface dataset:
From: pr@umiacs.umd.edu (Jesus Rodriguez)
Newsgroups: comp.windows.ms.programmer
Subject: GCC for Windows?
Date: 24 Jul 92 16:44:42 GMT
Distribution: na
Organization: University of Maryland Institute for Advanced Computer Studies



DO any of you netters know if there exists a GNU C compiler for Windows?
If so, do you know where I can get it?

Thanks in advance

Jesus
pr@umiacs.umd.edu
From: "herb chong" <herb.chong@channel1.com>
Newsgroups: comp.windows.ms.programmer
Subject: dos real memory
Date: 29 Jul 92 14:42:47 EST
Reply-To: "herb chong" <herb.chong@channel1.com>
Distribution: comp
Organization: Channel 1 Communications

KK>So how do I send data to the card?  A small example of code would
KK>be greatly appreciated.

you either are going to have to do DPMI calls or write a VXD to control 
the hardware.

Herb...

Herb.Chong@Channel1.com


---
  WinQwk 2.0 a#314  Are you a Klingon, or is that a turtle on your head?
--
Channel 1 (R)   Cambridge, MA
Newsgroups: comp.windows.ms.programmer
Subject: NETBIOS in Windows Apps
From: gallaghe@vax.sonoma.edu (Mycal)
Date: 30 Jul 1992 14:03 PST  
Distribution: world
Organization: Sonoma State University
News-Software: VAX/VMS VNEWS 1.41    

Has anyone done any netbios stuff in windows?  I am writing a network app,
but netbios is/ or atleast seems to not be stable.  I'm using win 3.1.

some of my functions work in enhanced mode but not in standard mode.

If you have got netbios to work reliably, please drop me a note.

thanx mycal

gallaghe@sonoma.vax.edu -or-
mycal@netronix.com
From: perrigo@mprgate.mpr.ca (Ian Perrigo)
Newsgroups: comp.windows.ms.programmer
Subject: DIB's & Palettes
Keywords: DIB Palette
Date: 27 Jul 92 19:58:44 GMT
Organization: MPR Teltech Ltd


Here's the scoop: I'm loading a 256 colour DIB, and I don't get the right
colours displayed in my app (but Paint displays them correctly). Can I create
a logical palette using the bmiColors[] array in the BITMAPINFO structure in
the DIB file?
Any example code would be much appreciated.
When I move to a DIB that has > 256 colours, must I deal with this seperately?
It appears that the bmiColors array is no longer used, and that the RGB values
are in the bitmap array (three bytes per pixel). 

Specs:
486-50
ATI Graphics Ultra
Windows 3.1
BorlandC++ 3.1 with OWL

Thanks in advance,
Ian.
Newsgroups: comp.windows.ms.programmer
From: moss@moss.TTI.COM (Moss)
Subject: Re: Install program
Reply-To: moss@moss.TTI.COM (Moss)
Organization: Citicorp/TTI
Date: Fri, 24 Jul 1992 21:02:31 GMT

If you need a simple installation program for your app, I suggest
you purchase EDI Install from Eschalon Development. It costs only $50.
There is no way to justify writing your own at this price.
Contact: Robert_Salesas@mindlink.bc.ca

I am a satisfied customer.

Les Moss                      moss@tti.com
Citicorp TTI
3100 Ocean Park Blvd.  (310) 450-9111, ext. 2982
Santa Monica, CA  90405
Newsgroups: comp.windows.ms.programmer
From: kit@phoenix.oulu.fi (Ilpo Karjalainen)
Subject: Choosing bitmaps for OWNERDRAW controls
Organization: University of Oulu, Finland
X-Newsreader: Tin 1.1 PL4
Date: Mon, 27 Jul 92 06:43:04 GMT

Hi, could somebody give me detailed description which DRAWITEMSTRUCT fields
and values should I use to determine which bitmap is requested to draw
in an ownerdraw button. 
I currently design buttons that need to draw three different states: normal,
pressed down and grayed. I didn't get straight answer from SDK manuals, they
just refer to itemAction field but not telling which value means which.
(Struct definition made me believe that I should use itemState instead!)

Any piece of code, any help is welcome!

-Ilpo Karjalainen

P.S. Environment is MSC 6.0 & SDK 3.0
--
Ilpo Karjalainen - Dept. of Information processing science, Oulu University
kit@sunrise.oulu.fi, kit@tolsun.oulu.fi, tel. +358-81-554 6241 (voice)


Newsgroups: comp.windows.ms.programmer
From: brian@ilinx.wimsey.bc.ca (Brian J. Murrell")
Subject: need source to *any* printer driver
Keywords: printer driver source
Organization: InterLinx Support Services Inc.
Date: Tue, 21 Jul 92 20:22:10 GMT

I need to write one and only ever one printer driver for windows.  I 
therefore don't want to shell out big bucks for a DDK which I will only
ever use once!  

I understand that technically, the DDK doesn't do anything special to the
c code needed to make the driver.  Is this true.  I'm hoping somebody who
has written a printer driver would be able to let me have the source so I
can modify it for my particular output device.

What I want is to take a client area, and using the print interface, create
a tiff from it.  I have all of the tiff routines, but don't have any idea
how to read the "printed page(s)".  Any help would be appreciated.

brian
-- 
Brian J. Murrell                                        brian@ilinx.wimsey.bc.ca
InterLinx Support Services, Inc.                        uunet!van-bc!ilinx!brian
North Vancouver, B.C.
        Platform and Brand Independent UNIX Support - R3.2 - R4 - BSD
Newsgroups: comp.windows.ms.programmer
From: srt@vestek.com (Steve Turley)
Subject: Re: Launching my App from an icon
Organization: Vestek Systems, 388 Market San Francisco 415-398-6340
Date: Thu, 30 Jul 92 18:34:28 GMT

I'm writing an application (in Visual Basic) that has a number of
options.  I'd like the user to be able to create
a number of icons that he could launch, each of which will start the
app with a different option. To illustrate, imagine a calendar program.
I'd like the user to be able to have a "July" icon that would start
the program and display his appointments for July.

Forgive me if this question seems naive, I'm just getting started
with windows...

Thanks in advance.

Steve Turley
srt@vestek.com
From: bjorn@ludd.luth.se (Bjorn Fahller)
Newsgroups: comp.windows.ms.programmer
Subject: Re: Internationalization support in Windows ????
Date: 29 Jul 92 15:28:18 GMT
Organization: Lule} H|gskolas datorf|rening ( Ludd )

In <1992Jul29.050703.25472@APS.Atex.Kodak.COM> bcs@kodiak.epps.kodak.com (Brett Sorenson) writes:


>	Does anyone know if Window 3.0 or 3.1 provide any support besides what
>	you can get from the 'win.ini' file.

Unfortunately it doesn't. I expected the win3.1 API to do so, but it doesn't.

>       I need to be able to use the
>	long date format in my windows application, but I find it hard to 
>	believe that there isn't an API in windows which you would pass it
>	the long date string from 'win.ini' and it would pass you back a 
>	structure that tells you stuff like : the order (MDY, YDM ...), the
>	delimeters between each, whether or not day of the week was specified.
>	Is there any public domain DLL's out there that can do this???

I've written a shareware DLL that does this (and more). It's called "The INTL
Package" and can be retrieved from cica as pub/pc/win3/misc/intl.zip

   _
/Bjorn.
-- 
Bjorn Fahller     Phone:              |The opinions above are not necessarily
Trollnasvagen 3A  Intl:+46 920 226870 |those of... Hey! Wait a minute. Do you
S-951 61 Lulea    Natl:0920-22 68 70  |seriously expect Me, a student, to carry
Sweden            << space for rent >>|the official voice of the University?
From: kenl@telxon.UUCP (Ken K. Lambach)
Newsgroups: comp.windows.ms.programmer
Subject: Programming timer < 1 ms
Keywords: timer ms programming
Date: 29 Jul 92 23:27:03 GMT
Organization: Telxon Corporation,  Akron OH

I am beginning to write my first true Windows application, and already
I am stumped.  I need to program the timer to notify me at a rate
greater than 1 ms (roughly 30 microseconds).  Is there a way to do this ?

I will be using Borland C++ ver 3.1 with Application Frameworks, if that
makes any difference.

Any tips are greatly appreciated.  Please email me your responses as
I don't always get a chance to check the news feed.  If there is
sufficient interest I will post responses to the net.  Thanks in
advance for your help.

Newsgroups: comp.windows.ms.programmer
From: ketil@edb.tih.no (Ketil Albertsen,TIH)
Subject: Re: New Microsoft Developer Network News
Reply-To: ketil@edb.tih.no
Organization: T I H / T I S I P 
Posting-Front-End: Winix Conference v 92.05.15  1.20 (running under MS-Windows)
Date: Tue, 21 Jul 1992 11:19:19 GMT

In article <1992Jul17.081644.20494@microsoft.com>, alistair@microsoft.com (Alistair Banks) writes:


>In article <16180007@hplsla.hp.com> dougp@hplsla.hp.com (Doug Passey) writes:
>> [...]
>
>This question should have been asked in comp.os.ms-windows.programmer.win32

Didn't you notice that it WAS asked in comp.os.ms-windows.programmer.win32?

(Okay, okay, the question was posted to both. But when you criticize others 
for not watching in which conference they are when writing, the very least
we could expect is that you check to which conferences the entry was
posted.)
From: ran@doc.ic.ac.uk (Robert A Nicholls)
Newsgroups: comp.windows.ms.programmer
Subject: 256 Colours in VB
Date: 22 Jul 92 14:57:52 GMT
Organization: Department of Computing, Imperial College, University of London, UK.

Please excuse me if this is a common problem, and I'm sure it must be, but
how does one get 256 colours out of Visual Basic? I have been told that PCX
Toolkit for Windows and QuickPak Pro for Windows can produce 256 colours. Is
this the only way to go? How about directly accessing the Windows API?

Another question, which may be related to the above, does anyone have any
information about Microsoft's Professional Toolkit for Visual Basic 1.0? Is
the toolkit worth the price?

Many thanks for any help you can give me.
Newsgroups: comp.windows.ms.programmer
From: maru@enea.se (Martin Runesson)
Subject: Decompresson CCITT Group 4 
Organization: Enea Data AB
Date: Thu, 23 Jul 1992 07:49:29 GMT


Hey,

I'm looking for a software package( C-libraries or standalone software)
that decompress compressed TIFF images. The compression format is
CCITT Group 4 (Fax Group4).

I'm working with  both PC:s and Mac:s and I need the package for
both environments.


Thanks!



Martin Runesson


-- 
 ----------------------------------------------------------------------------
|  ENEA Data  		 TEL +46 8 792 25 00   |     Martin Runesson M.Sc.   |
|  Stockholm - SWEDEN	 FAX +46 8 768 43 88   |         maru@enea.se        |
 ----------------------------------------------------------------------------
From: bcs@kodiak.epps.kodak.com (Brett Sorenson)
Newsgroups: comp.windows.ms.programmer
Subject: Internationalization support in Windows ????
Date: 29 Jul 92 05:07:03 GMT
Reply-To: bcs@kodiak.Atex.Kodak.COM
Organization: Atex Publishing Systems, Inc.


	Does anyone know if Window 3.0 or 3.1 provide any support besides what
	you can get from the 'win.ini' file.  I need to be able to use the
	long date format in my windows application, but I find it hard to 
	believe that there isn't an API in windows which you would pass it
	the long date string from 'win.ini' and it would pass you back a 
	structure that tells you stuff like : the order (MDY, YDM ...), the
	delimeters between each, whether or not day of the week was specified.
	Is there any public domain DLL's out there that can do this???
	
	Any help would be appreciated!!

	Matt
Newsgroups: comp.windows.ms.programmer
From: skip@mitre.org (Skip Guild)
Subject: Re: help: load an icon
Organization: The MITRE Corp
Distribution: comp
Date: Fri, 24 Jul 1992 11:56:39 GMT

In article <199222.1228.6323@channel1> herb.chong@channel1.com (herb chong) writes:

>CM>     I posted a similar question last week but have not
>CM>     seen an answer yet.

>there is definitely a new Win 3.1 function to retrieve icons out of an 
>arbitrary EXE file. i can't remember what it is and a quick perusal of the 
>Tech Reference manuals doesn't remind me of what it is called. it lets you 
>select icons by their order of occurence and to return a count of how many 
>are in the EXE file, i think.

It's Windows 3.1 function -

HICON ExtractIcon(hinst: THandle; ExeFileName: PChar; IconIndex: Word): 
  HIcon;
From: hassan@cup.portal.com (hassan monu alam)
Newsgroups: comp.windows.ms.programmer
Subject: codeview on second monitor
Date: Sat, 25 Jul 92 17:44:25 PDT
Organization: The Portal System (TM)

{I'm trying to rund Codeview on a second monitor. The first is 
a NEC 3DS with a Paradise card. The second is a monchrome monitor
with the cheapest card I could find at Frys. When I run Codeview,
it comes up with the debugging screen on the main monitor. The second
monitor stays blank.

Can people suggesg what I may be doing wrong?

Thanks

hassan
Newsgroups: comp.windows.ms.programmer
From: marshall@tfh.enet.dec.com (Hunting the Snark)
Subject: Accelerator keys and EnableKbdHandler
Organization: Digital Equipment Corporation
Date: Mon, 27 Jul 1992 06:22:51 GMT


I asked this question a couple months ago and got no response, so excuse me for
being a pest, I'll try to ask it a little differently this time.

I am writing an application that consists of a single window composed of many
child windows. I have enabled the KbdHandler in order to TAB between the childs
as in a dialog box. I intercept WM_KEYUP messages to process the arrow keys, 
Spacebar, Enter, and the numeric keypad. Everything works fine except that the 
numeric keypad causes Windows to beep; otherwise the key functions as it should
though.

Now, in addition to the above, I'm trying to add accelerator keys to my menu
items. I've defined various CNTRL+<letter> combinations in an accelerator table
and assigned them the same constants as the menu commands. The table gets
loaded but any attempt to use one just beeps with no other response at all.

I've been told that Dialogs cannot have menus and therefore no accelerators.
Presumably, the method that EnableKbdHandler activates can only deal with the
dialog style keys and doesn't know what to do with the rest of the keyboard
and hence the beeps. But the NUMPADx keys seem to still get passed on anyway,
so why not the CNTRL+<letter> keys?

If anyone out there can make sense of what I've just asked could you please
help. I'm using TPW+OWL if that makes any difference.

Sm


Newsgroups: comp.windows.ms.programmer
From: mclellan@vela.acs.oakland.edu (Candy M. McLellan)
Subject: Re: HELP: Load an icon from a .EXE file
Organization: Oakland University, Rochester MI.
Date: Tue, 21 Jul 1992 17:20:30 GMT

In article <1992Jul21.144036.26772@hyper.hyper.com> bonneau@hyper.UUCP (Paul Bonneau,,) writes:
>In article <1992Jul21.023757.24588@vela.acs.oakland.edu> mclellan@vela.acs.oakland.edu (Candy M. McLellan) writes:
>
>If you don't have version 3.1, send me mail.
>
>cheers - Paul.

Paul,

	I guess I just don't know the 3.1 API as well as I thought
	I did - I was not aware of ExtractIcon (at least not in
	the API anyway).

	Why I have your expertise,

	How can I keep a Bitmap Selected into memory with an
	Owner-Draw ListBox?

	The ODA messages seem to work on a item by item basis
	with no sequence (asynchronous) with lp->hDC having
	no beginning.

	IOW, I want to select a bitmap into memory for the first
	item in a re-paint and then not select again for further
	items (this speeds things up considerable when doing
	one's own custom controls).

	However, as I said, the Owner-Draw does not seem to have
	a synchrous state where one can tell when the hDC is
	first being claimed for any given # of item re-paints.

	I thought of subclassing ListBox but I don't see how
	one could intercept WM_PAINT for the hDC I'm referring to

	Any suggestions are greatly appreciated.

	Regards

Newsgroups: comp.windows.ms.programmer
From: mstowski@seas.gwu.edu (Mike Mstowski)
Subject: Write File Viewer
Keywords: WRITE FILE VIEWER
Organization: George Washington University
Distribution: comp
Date: Fri, 24 Jul 1992 13:07:50 GMT

Does anyone have source code for a MS-Write file viewer?
The data structures are not completly documented in the VOL 4.
of the SDK resource manual.  We have no idea what some of the data
structures do?  Any source code to help me get started would be
greatly appreciated! 

THANKS IN ADVANCE.


Xref: sparky comp.windows.ms.programmer:7450 comp.os.ms-windows.programmer.misc:1113 comp.os.ms-windows.programmer.tools:593
From: aku@tik.vtt.fi (Arto Kujala)
Newsgroups: comp.windows.ms.programmer,comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.tools
Subject: DLL problem
Date: 31 Jul 92 09:38:09 GMT
Organization: Technical Research Centre of Finland, Laboratory for Information Processing (VTT/TIK)


Problem:

I have written a DLL with BC++ (TCW) 3.0. I use Win 3.1. My DLL seems
to be fine when testing from Visual Basic ... first time. When I close
VB (or stop running the project) and try again nothing seems to
happen and then I get a very nice message :
          VB caused a general protection error in module KRLN386.EXE
at 0001:1806.

Do you know what possibly could be wrong in my DLL or elsewhere?

--aku@tik.vtt.fi
Newsgroups: comp.windows.ms.programmer
From: kovert@wam.umd.edu (Todd Kover)
Subject: Re: Install program
Organization: Insufficient Memory Software
Date: Wed, 22 Jul 1992 04:38:11 GMT

In article <1992Jul21.210437.25221@berlioz.nsc.com> stacey@desktop.nsc.com (Stacey Toland) writes:
>Does anyone know of an easy way to automatically install a group
>file? 
>
>My software is complete and now I want to write an installation
>program that will create a group file which will appear in the
>program manager. I want to do this so the user won't have to go
>and create a new program group and item for my software.

The SDK (I don't have the 3.1, yet, but know it's in the 3.0, in the
thin overview book) gives a description of the DDE messages you send
to program manager, to add a group.  You can have it use a specific
group file, or add individual icons to a group that it creates.

-Todd


-- 
Todd Kover  //  | #include  <std/disclaimer.h> | "Murphy's Law of Dating II:
          \X/   | Internet: kovert@wam.umd.edu |  If you like her, she lives
CIS: 70621,2376 | Fido: 1:109/447 & 1:261/5016 |  in a different state."
           "Profanity is the Langauge that programmers know Best."
From: SSCHEMA@ibm.gwdg.de (Stefan Schemat)
Newsgroups: comp.windows.ms.programmer
Subject: MIDI OUT under Win 3.1
Date: 31 Jul 92 12:34:30 GMT
Organization: GWDG, Goettingen

Hi,
does anybody knows how to play a single MIDI note under
Win 3.1? We just need a little sample function.
Thanx Stefan (SSCHEMA@ibm.gwdg.de)
Newsgroups: comp.windows.ms.programmer
From: c2s4027@tamsun.tamu.edu (Cedric Sims)
Subject: Re: What Sun PC-NFS Version works with Windows 3.1 ?
Organization: Texas A&M University, College Station
Date: Thu, 30 Jul 1992 21:03:39 GMT

In article <465.2a74fb6b@cai.com> graco01@cai.com writes:
>Currently I am running Sun PC-NFS Version 3.0.1.   Will this version work with
>Windows 3.1?  If not, what version will I need to upgrade to.
>
>Thanks in advance.
>
>-- 
>Dean Grammas..............................................dxg@cai.com
>
>   "All I ask is a chance to prove that money can't make me happy."
>.....................................................................

I have had problems running PC-NFS 3.0.1 in Win 3.1.  It does not
operate reliably (frequent crashes and lockups).  If possible,
upgrade to PC-NFS 4.0.  It works well with Win 3.1 and has special
drivers for the control panel.  I have had no problems under Win 3.1
with PC-NFS 4.0.

Good Luck,
Ced.

--------------------------------------------------------------
 Cedric J. Sims                          Texas A&M University
                                    Computing Services Center
 cedrics@tamu.edu                     (SELL)  Room 216 Teague
 +1 409 862 4104               College Station, Tx 77843-3142
--------------------------------------------------------------
Organization: University of Illinois at Chicago
Date: Wednesday, 29 Jul 1992 21:25:22 CDT
From: Manuel M. Flores <U15803@uicvm.uic.edu>
Newsgroups: comp.windows.ms.programmer
Subject: Win dBASE Apps

Can anybody suggest a good database package that would allow customization?
So far Ive tried ObjectVision(too slow), ToolBook(way too slow), SuperBase4
(seemed fast but would take alot of time to set up), Visual Basic(cant seem
to get a good dBASE DLL - any suggestions?).

Ive had the greatest success with Delrina Perform Pro for Windows. Its not
really a database package or even a front end but rather a forms filler. Seems
to work OK but its kinda quirky and doesnt allow alot of application customizat
ion. Id be interested to hear from anyone who has put together a successful
complex windows based database system of any sort.

Manuel M. Flores
U15803@UICVM
From: ngorelic@MUSETTE.CR.USGS.GOV (Noel S. Gorelick)
Newsgroups: comp.windows.ms.programmer
Subject: Questions, round two...
Date: 22 Jul 92 15:19:43 GMT

Since I got such great response from the first set of questions,
I'll try my luck with round number two:

How does one cause a static window to respond to input?  I have a
fairly complex arrangement of static windows that I want to be able
to click on and get a response from...  Straight subclassing doesn't
work.  The subclass procedure never even gets called for the mouse
events.

(Somewhere in the Petzold book, he says that statics trap the
NCHITTEST message to disable mouse events.  Where and how do I
re-enable them?)

(Email, please, our news server just bit the dust)

Noel (ngorelic@musette.cr.usgs.gov)
Newsgroups: comp.windows.ms.programmer
From: johler@.uucp (Thomas Johler)
Subject: Re: WM_COMMNOTIFY treatment question ?
Organization: Technische Universitaet Muenchen, Germany
Date: Tue, 21 Jul 1992 21:03:56 GMT
X-Newsreader: Tin 1.1 PL4



In a reply to my previous posting, rik@digibd.com
writes:

> 
> EnableCommNotification is only supported in Windows 3.1.  It allows a window
> to be notified when its input buffer hits a receive water-mark, when its 
> output buffer falls below a transmit water-mark, and notification of a change
> in status.
> 
> It is documented in the 3.1 SDK manual.
> 

But my problems are others:
1. I own Win 3.1, but I do not own the 3.1 SDK (nor the manual)
2. I get the WM_COMMNOTIFY messages correctly, but when trying to read from 
   the comm-port I always get only one (though I know there are more)
   character.
3. These charecters are (seemingly) arbitrary chosen from the comm-input
   stream. I don't know how, or better what mechanisms, read out correctly
   comm-port input after having received a WM_COMMNOTIFY message.

Maybe you know some help ?

Thanks in advance (again :-)  ),
	   Thomas



--
-------------------------------------------------------------------------------
johler@informatik.tu-muenchen.de

Munich University of Technology,  Department of Computer Science, FRG
Xref: sparky comp.windows.ms.programmer:7300 comp.os.ms-windows.programmer.misc:947
From: mmclagan@invlogic.com (Mike McLagan)
Newsgroups: comp.windows.ms.programmer,comp.os.ms-windows.programmer.misc
Subject: EnableWindow(hWnd,FALSE) when window has focus
Distribution: world
Date: Wed, 22 Jul 92 01:54:12 GMT
Organization: Innovative Logic Corporation

Hi,

   Got a curious one for everyone, and hopefully some sort of quick response.
I've seen this happen in Win 3.1 and it's rather strange.  We have a program
that does EnableWindow(false) and then about 15 lines later does a GetFocus
and ends up with a 0?!  Has the window that was enabled eaten the focus up
somehow?  The docs for win 3.1 sdk don't mention this little glitch!  Has
anyone else encountered this?

   Mike was here...

// email   -> "Mike McLagan" <mmclagan@invlogic.com>
// UUCP    ->  ...uunet!invlogic!mmclagan
// snail   -> Innovative Logic Corp, P.O. Box 3247 Laurel, MD, USA 20709-3247
// ma bell -> (301)206-7692
// ILC doesn't like my opinions, so I'm giving them to you without consent!
Newsgroups: comp.windows.ms.programmer
From: pbh@athena.mit.edu (Paul B Hill)
Subject: Re: Virtual Listbox
Organization: Massachusetts Institute of Technology
Date: Mon, 27 Jul 1992 18:04:18 GMT

See the Simtel archive, PD1:<MSDOS.MSJOURNAL>msjv5-3.zip 

This contains vlib.c, etc. The article was "Creating Windows List Boxes that
Support Virtualized Scrolling" by Robert A. Wood.