HDTenEightyP/NetNews huggingface dataset:
From: jeff@econBerkeley.EDU (Jeffrey C. Ely)
Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.tools
Subject: Windows Communications Code
Date: 1 Jan 1993 21:09:06 GMT
Organization: Econometrics Laboratory, U. C. Berkeley
Distribution: world
NNTP-Posting-Host: emily9.berkeley.edu


Is there anywhere I can look to find an example of a Windows program which
uses a communications device? (modem). 

By the way, it was I who started the thread on "unhelpful newgroup" (sic), 
and after many e-mail replies and the discussion here, I am now persuaded
that e-mail responses are best except in cases where the question is clearly
a FAQ *and* the responder has some expertise on the subject.  But, it might
also be advisable for the initial poster to summarize the responses if he feels
the problem may be common.  

Sorry for my initial impetuousness.
 
+++++++++++++++++++++++++++++++++|+++++++++++++++++++++++++++++++++++++++++
Jeff Ely                         |    "He said the Sun's not yellow...  
Department of Economics          |     It's Chicken!" 
UC Berkeley                      |
jeff@econ.berkeley.edu           |    

Newsgroups: comp.os.ms-windows.programmer.misc
From: turre@pcuf.fi (Jarkko Turunen)
Subject: Executing Windows or DOS application from Windows
Organization: The PC-users of Finland
Date: Sat, 26 Dec 1992 23:33:41 GMT

I am writing an application which should first unpack .ZIP's and later on
call an editor. Calling with WinExec is not difficult, but Windows keeps
executing my application while it should wait DOS or the editor to finish.
I can do a while loop with FindWindow, but problem is what to do inside
the loop. If I use GetMessage user can access my apps menus & buttons whichh
should not be allowed. DisableWindow will not help because user will not 
get back to the application if he, while in editor, switches task.
 
So I would like to wait for the tasks to finish with doing nothing in my
own app still allowing other applications to work. Help is appreciated in 
both DOS case and Windows case.
 
The application I am writing is a Windows 3.1 app and is written with MFC.
From: martens@prl.philips.nl (martens p)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: quick C and FAQ
Date: 21 Dec 92 12:46:45 GMT
Organization: Philips Research Laboratories, Eindhoven, The Netherlands

In article <1992Dec18.105314.10867@comp.lancs.ac.uk> davei@comp.lancs.ac.uk (Mr D Ingles) writes:
>In article <1992Dec14.115454.12708@prl.philips.nl> martens@prl.philips.nl (martens p) writes:
>>In article <Bz2I76.337@cs.columbia.edu> smadja@cs.columbia.edu (Frank Smadja) writes:
>>>1. What are the limitations of Quick C?  Can you link any library or DLL
>
>Can someone tell me how one goes about upgrading QuickC for Windows for use 
>with Windows 3.1 ? I heard somewhere that you had to use the libraries from
>Microsoft C7  to do it. If this is the case, which files do I need, and how 
>do I use them with QuicKC for Windows.
>
>Davei

That is how I got it work: just replace the libraries and header files of 
QuickC with the ones that come with MSC7. That way you can also use the 
macro's that implement message maps and get rid of the ridiculous switch
statements for processing messages. And then I discovered C++.

Peter.
Newsgroups: comp.os.ms-windows.programmer.misc
From: chris@chrism.demon.co.uk (Chris Marriott)
Subject: Re: How to load bitmaps from file 
Distribution: world
Organization: None
Reply-To: chris@chrism.demon.co.uk
X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19)
Date: Tue, 29 Dec 1992 20:33:56 +0000

The best source I've come across of sample code for reading and manipulating
graphics files under Windows is the book "Advanced Windows Programming"
by Martin Heller, published by Wiley.  Despite the name, virtually its entire
content is concerned with image processing under Windows.  It covers
BMP, PCX, GIF, TIFF, etc, files.

Chris
-- 
--------------------------------------------------------------------------
| Chris Marriott                           | chris@chrism.demon.co.uk    |
| Warrington, UK                           | BIX: cmarriott              |
| (Still awaiting inspiration              | CIX: cmarriott              |
|  for a witty .sig .... )                 | CompuServe: 100113,1140     |
--------------------------------------------------------------------------
 
Newsgroups: comp.os.ms-windows.programmer.misc
From: crchen@picasso ( * Birdy Array *)
Subject: What is Region??
Organization: National Chiao Tung University
X-Newsreader: TIN [version 1.1 PL8]
Date: Fri, 18 Dec 1992 01:42:32 GMT

Hi! All.
   There are many API function can mantain Region. But I can't understand 
   what a Region is. Who can tell me what's it or where I can get the better
   informatin of it?? 
   Thanks in advance...

-------------------------------------------------------------------------------
  ==   Sincerely, Birdy Array [Chao-Ruei Chen] | Institute of Computer Science
 (oo)  Open System Intergration Laboratory     |  and Information Engineering 
  \/   E-mail : crchen@picasso.csie.ntu.edu.tw |   National Taiwan University  
-------------------------------------------------------------------------------

Newsgroups: comp.os.ms-windows.programmer.misc,alt.binaries.pictures.utilities
From: whedon@netcom.com (Bill Whedon)
Subject: Re: Opinions on Microsoft QuickC for Windows?
Organization: Netcom Online Communications Services (408-241-9760 login: guest)
Distribution: na
Date: Thu, 31 Dec 1992 22:00:17 GMT

In article <1992Dec30.191610.3685@pony.Ingres.COM> bonobo@Ingres.COM (David Victor) writes:
>Has anyone out there had much experience with QuickC for Windows?  I was
>just wondering if I could get an opinion as to its usefulness.  Are there
>other CASE tools which blow away QuickCase:W?
>
I use QCWIN for prototyping prior to full build under MSC/C++ 7.0, and have
upgraded the QuickCase:W to the full product.  There is no better prototyping
setup I've found.  There are CASE tools which are less expensive than Case:W,
but none better, or, IMNSHO, even as good.  The Borland crowd will, of course,
disagree.  That is their mission, and I respect it, if not their opinions, to
which they are entitled.

Actually, though, dollar for dollar, you won't get a better deal than QC with
QC:W, no matter how hard you try.

Bill Whedon   whedon@netcom.com

-- 
-- If I ain't programmin' I ain't awake! --




Newsgroups: comp.os.ms-windows.programmer.misc
From: thomas@acadia.Kodak.COM (Thomas Kinsman)
Subject: Intercepting Windows Events
Followup-To: comp.os.ms-windows.programmer.misc
Keywords: EVENTS
Organization: Eastman Kodak Co., Rochester, NY
Date: Mon, 21 Dec 92 18:51:26 GMT



    There is  a  product  I've  seen  advertised  which  makes  noises  on
    different  windows  events  (opening, maximizing, minimizing, etc...).
    Is the ability to intercept Windows/3.1 events documented in the  SDK,
    and if so where?

    Thanks in advance.

    - Thomas B. Kinsman, Rochester, NY
--
thomas@acadia.kodak.com    Voice: 716/477-2831(w)	     Fax: 716/722-0160
Thomas B. Kinsman, Eastman Kodak Co., Flr 3, Bldg 65, RL, Roch., NY 14650-1816
Newsgroups: comp.os.ms-windows.programmer.misc
From: Bob Zigon <bobz@truevision.com>
Subject: Need more disk throughput under Win 3.1
X-Useragent: Nuntius v1.1
Date: Mon, 21 Dec 1992 19:35:34 GMT
Organization: Truevision, Inc


Q : I have run some tests that show I can get about 2mb/sec out of
       my hard disk controller on my EISA machine under DOS. I have
       written a simple Windows 3.1 app that is showing that I can't
       get anymore than 350kb/sec on the same machine. What can I
       do to improve the through put under Windows. Please get 
       creative. I would like to come as close to 2mb/sec as possible?


Bob Zigon
bobz@truevision.com
From: bobw@exucom.com (Bob Willer)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: How do you get enviroment variables?
Date: 3 Jan 93 19:42:40 GMT
Organization: ExuCom Multimedia Inc.
X-Newsreader: TIN [version 1.1 PL8]

How do you get the enviroment variables that are used by the system
with the SET command ie. in the autoexec.bat file ?

Bob Willer
Newsgroups: comp.os.ms-windows.programmer.misc
From: chris@chrism.demon.co.uk (Chris Marriott)
Subject: Re: Virtual Listbox Example 
Distribution: world
Organization: None
Reply-To: chris@chrism.demon.co.uk
X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19)
Date: Thu, 31 Dec 1992 19:24:36 +0000

In article <1605@twinkletoes.sbi.com> rpd@twinkletoes.sbi.com writes:

>Someone recently posted a message, which said that there was an
>example of a virtual listbox example available on ftp.uu.net.
>The files were supposed to be called vlbdocwh.zip and vlistsam.zip.
>I have had zero luck in finding these files.  Does anyone know
>where I can get a copy?
>
>Thanks for any help,
>
>Rick Daley
>rdaley@sbi.com
>

All the Microsoft file names have recently changed.  They now have
numerical names.  Look in directory:

/vendor/microsoft/developer-network/wintech

and download the index file (something-idx.zip).  That will give you the
abstracts of all the articles.

Chris
-- 
--------------------------------------------------------------------------
| Chris Marriott                           | chris@chrism.demon.co.uk    |
| Warrington, UK                           | BIX: cmarriott              |
| (Still awaiting inspiration              | CIX: cmarriott              |
|  for a witty .sig .... )                 | CompuServe: 100113,1140     |
--------------------------------------------------------------------------
 
Newsgroups: comp.os.ms-windows.programmer.misc
From: boba@miki.pictel.com (Bob Alexander)
Subject: Re: Help:Resource Workshop style toolbox
Organization: PictureTel Corporation
Date: Wed, 23 Dec 1992 17:42:05 GMT

>1. I am trying to implement a toolbox like the ones in Borland Resource
>   Workshop, which move along with the drawing window, and never go out of the
>   MDI frame.  What window style should I use? Are they child windows of the
>   drawing window or the MDI frame? And what message should I intercept? I am
>   using Borland C++ 3.1 & OWL. 

A good way to find out parent-child relationships is to use Borland's
WinSight (or Microsoft's Spy) to examine the toolbox window.  (I've
discovered all sorts of interesting stuff by using WinSight on
commercial applications.)

     Bob Alexander                                     boba@pictel.com
     -----------------------------------------------------------------
     Organizations don't have opinions; people do.  The above opinions
     do not reflect those of the directors, stockholders, managers, or
     other employees of PictureTel.


Newsgroups: comp.os.ms-windows.programmer.misc
From: shenoy@iastate.edu (Shiva Shenoy)
Subject: Re: Data links to Excel?
Organization: Iowa State University, Ames IA
Date: Mon, 21 Dec 1992 20:20:33 GMT

In <BzMEAu.KFD@news.chalmers.se> d6caps@dtek.chalmers.se (Per Bergland) writes:

>In article <724814244snz@chrism.demon.co.uk> chris@chrism.demon.co.uk writes:
>>In article <BzInst.853@news.chalmers.se> d6caps@dtek.chalmers.se writes:
>>
>>>Is it possible to use for instance Excel as a Chart Engine, feeding with
>>>data out of my own picking, and updating for instance once a minute?
>>
>>You should be able to do what you want with DDE.  I would suggest getting
>>hold of the "Excel Developer's Kit", obtainable from Microsoft at a low
>>price.  It explains all.

>So I called Microsoft Sweden, and they said "we're sorry, but the
>Excel Developer's Kit isn't available yet".
>What gives?

The Excel Developer's Kit is actually a book alongwith two disks, published
by MS Press. WHy not just go to a bookstore and have them get it for you
from the publisher?

Microsoft Excel Software Development Kit (Version 4)
ISBN 1-55615-521-2 
528 pages
Microsoft Press 
49.95 (US dollars)

-- 
Shiva Shenoy                           | e-mail: shenoy@iastate.edu 
2066 Black,                            | Office: (515)-294-0082
Dept. of Aero. Engg. & Engg. Mechanics | Home  : (515)-296-7640
Iowa State University, Ames, IA 50010  |
Newsgroups: comp.os.ms-windows.programmer.misc
From: rryan@panix.com (Rob Ryan)
Subject: Re: how to distinguish betwee
Date: Wed, 23 Dec 1992 04:34:06 GMT
Distribution: comp
Organization: Panix, NYC

In <1992Dec22.3151.2938@dosgate> chris.little@canrem.com (chris little) writes:

>...
>
>My question is how to determine if the modifier keys are down during a
>WM_LBUTTONDOWN message.

I'm entering this discussion a little late, so I apologize if I'm
misinterpreting your question but ...

When using WM_LBUTTONDOWN, checking the value of wParam will determine the
state of the shift, control, and middle or right mouse buttons.  Basically,
wParam will be the union of things like MK_CONTROL, MK_RBUTTON, MK_SHIFT,
and MK_MBUTTON, so check for those.

Hope this helps.

-- 
 Rob Ryan
    rryan@panix.com
Newsgroups: comp.os.ms-windows.programmer.misc
From: cameron@cosc.canterbury.ac.nz (cantua)
Subject: Re: Herc cards and 486's and Windows ! 
Reply-To: cameron@cosc.canterbury.ac.nz
Date: Thu, 24 Dec 1992 12:56:54 GMT

From article <725148498snz@chrism.demon.co.uk>, by chris@chrism.demon.co.uk (Chris Marriott):
> In article <Bzp9Av.4FF@cantua.canterbury.ac.nz> cameron@cosc.canterbury.ac.nz writes:
> 
>>
>>Do you have a dual display working on a 486 under
>>windows ?
>>
>> ......
>>
>>I've got  DualDisplay=1 in my system.ini..and the herc card
>>is a recent model.  The machine isn't slowed down in normal
>>DOS mode.. 
>>
>>SO what do I need to do to get the second display working
>>on the 486 ?  I've been through all available windows and
>>Turbo C docs.. but the only setting I could find was
>>the "dualdisplay=1" - make no difference..
>>
>>The vga card is a ET4000 is 1Mg RAM.. Machine is 33Mz TP
>>486
>>
>> ....
> 
> The reason for this slowdown is simple.  If you have an 8-bit secondary
> video card in your machine - which ALL mono card are - then the primary
> colour video card is *also* forced into 8-bit mode.  As you've discovered,
> 8-bit access to a video card makes Windows s-l-o-w.
> 
> There's absolutely no way around this - it's just the way the AT bus
> works, unfortunately.  If you must have dual displays, the only thing you
> could do (if you're rich!) is have an 8514/a card such as an ATI Ultra
> as your primary display, and 16-bit VGA as secondary.
> 
> Personally, I live with CodeView on a single monitor.  Not too bad, once
> you get used to it.
> 
> Chris
> -- 

Actually, I've found a temporary solution to my problem.. 
I found that by using the standard Super VGA drivers that 
come with windows ie: 800,600 16 Color,
all the problems have disappeared !! Screen updates are 
back to the speed they should be and no problems with the
disk controller.  I was using the ET4000
800x600 256 color drivers before..( with no problems until
I put the herc card in)..

So I guess switching down to 16 color mode is a reasonable
compromise. But is this what should happen ?? 

Cameron.
From: klooster@mswe.dnet.ms.philips.nl
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: SuperBase for Windows
Date: 22 Dec 92 06:57:37 GMT
Organization: Philips Medical Systems Nederland

I heard something about a new version of SuperBase for windows.
Are there people who have seen or worked with it? I would like
to have some more information. My most important questions are:
1) is it fast, compared for example with Clipper or Foxpro?
2) does it contain a good language, is it suited for developers
   or mostly for end-users?
3) can you link it with C programs?

All information is welcome.

Thank you very much,

Richard van der Klooster
Newsgroups: comp.os.ms-windows.programmer.misc
From: jtaylor@dseg.ti.com (Jeff Taylor)
Subject: Re: Microsoft ctl3d library
Organization: Texas Instruments, Incorporated
Date: Wed, 23 Dec 1992 18:50:42 GMT

In article <103071@netnews.upenn.edu> kris@circ.upenn.edu (Kris Gupta) writes:
>From: kris@circ.upenn.edu (Kris Gupta)
>Subject: Microsoft ctl3d library
>Date: 23 Dec 92 17:07:33 GMT
>FYI:
>
>The Microsoft 3d controls library (ctl3d) is located in the Microsoft 
>msdnlib forum on Compuserve or is also ftp'able at:
>
>ftp.uu.net:
>	1. Library and sample code: 
>		/vendor/microsoft/developer-network/techsamp/3-31.zip
>
>	2. Technical notes in the form of a help file:
>		/vendor/microsoft/developer-network/wintech/10-4.zip
>
>Hope this helps
>
>Kris
>
>---
>Kris B. Gupta  - Cardiothoracic Imaging Research Center
>Dept Radiology - Hospital of U of Pennsylvania
>Internet: kris@gynko.circ.upenn.edu
>
>

	Can these by used by Borland C++ programmers? Are they compatible, 
or only an extension of exsisting Microsoft tools?

	Thanks,

	JTAYLOR@LOBBY.TI.COM
Newsgroups: comp.os.ms-windows.programmer.misc
From: DRPORTER@SUVM.SYR.EDU (Brad Porter)
Subject: Re: Borland C++ 3.1 vs Visual Basic 2.0
Organization: Syracuse University
Date: Tue, 22 Dec 92 19:54:32 EST

In article <1992Dec20.171741.29641@eng.umd.edu>
equine@eng.umd.edu (Melinda L. Gierisch) writes:
 
>
>
>For the last 8 months my group has been developing a Windows
>application using the BC++ 3.1 Object Windows Library.  This
>program accesses Paradox tables using the Paradox Engine.  Someone in
>the group suggested using Visual Basic for much of the user interface
>because he believes it is more flexible and easier to use than OWL.
>No one else in the group has any experience with Visual Basic.  My
>questions are:
>
>1)  What is the "ramp up time" or learning curve for creating windows,
>dialogs, etc. with Visual Basic?  We needed about 3 months to get
>fully comfortable with OWL.
>
>2)  How easy / difficult would it be to combine Visual Basic windows
>and dialogs with BC++ functions for database access (these have
>already been written and are not OWL dependent)?
>
>If anyone out there has experience programming in both Visual Basic
>and C++ I would appreciate any help.
>
>Thanks in advance,
>Melinda Gierisch
 
The only thing I can respond to in this article is the question pertaining to
learning curve on Visual Basic.  When it comes to designing the interface
and creating the dialog box - one full day would get anyone remotely familiar
with programming up to speed.  I've written in C for DOS and Visual Basic is
hundreds of times easier with user interface.  I can't offer any advice on
ease of importing C++ code, or doing database work, but as for ease of design
and interface, I don't think VB can be beat.
                                     -Brad Porter
DRPORTER@SUVM
Newsgroups: comp.os.ms-windows.programmer.misc,comp.ms.windows.programmer
From: thomas@acadia.Kodak.COM (Thomas Kinsman)
Subject: MS Windows News Groups
Followup-To: comp.os.ms-windows.programmer.misc
Keywords: News Groups
Organization: Eastman Kodak Co., Rochester, NY
Date: Mon, 21 Dec 92 18:43:14 GMT

At our site, the News Group Administrator [NGA] says that
comp.ms.windows.programmer is not an official news group.  According to the
Powers That Be [PTB], the officially sanctioned group is
comp.os.ms-windows.programmer.misc
...tools, etc...  So, I can get comp.os.ms-windows.programmer.misc, but not
comp.ms.windows.programmer.

Assuming that the NGA knows what he's talking about, and that
comp.ms.windows.programmer was never created following the guidelines for
creating a group: is there any way to consolidate it into comp.os.ms-windows...
other than encourage people to do so?

[Please, I don't know enough about Nettequitte to deserve flames on this subject.]

		- Thomas

--
thomas@acadia.kodak.com    Voice: 716/477-2831(w)	     Fax: 716/722-0160
Thomas B. Kinsman, Eastman Kodak Co., Flr 3, Bldg 65, RL, Roch., NY 14650-1816
Newsgroups: comp.os.ms-windows.programmer.misc
From: doc@magna.com (Matthew J. D'Errico)
Subject: Re: Force DLL to unload
Organization: Magna Software Corporation
Date: Wed, 23 Dec 1992 17:35:00 GMT

In article <1992Dec22.205303.21411@microsoft.com> blakeco@microsoft.com (Blake Coverett) writes:
>The MSDN CD has an "unsupported tool" on it called WPS that amongst
>other things allows you to free an arbitrary DLL.  I suspect this tool
>may also be available on the MS BBS.  (I don't know this for sure.)

Windows Process Status is GRREAT !!  And will save you the "20 minutes
or so" <g> to hack something together...

The samples and technotes from the Microsoft Developer Network CD-Rom are
available via anonymous ftp from ftp.uu.net in :

	~ftp/vendor/microsoft/developer-network/...

I recommend it as you apparently do !  I'd be willing to email it to
anyone without FTP access (since it's freely distributable)...

-- Doc
Organization: K.U.Leuven - Academic Computing Center
Date: Monday, 21 Dec 1992 15:16:25 +01
From: Van Houtte Guy <FHCAA79@cc1.kuleuven.ac.be>
Newsgroups: comp.os.ms-windows.programmer.misc
Subject:    borland object new override???

In the borland c++ 3.0 classlib documentation, it says that the "new"
operator is overridden for the (virtual base ) class Object. However
in the source code, I don't find this. Is it implemented ? maybe
somewhere else ? The reason is that I need to allocate a lot of
objects in an MS-Windows program and need to know if I am going to
run out of handles. I tried allocating 10,000 associations and it
seemed to work but allocating 100,000 did not. Does anyone know what is
going on ?

Please reply to this forum or by E-mail to
fhcaa79@cc1.kuleuven.ac.be
or to fhcaa81@cc1.kuleuven.ac.be
Newsgroups: comp.os.ms-windows.programmer.misc
From: chris@chrism.demon.co.uk (Chris Marriott)
Subject: Re: Borland-izing Common Dialogs 
Distribution: world
Organization: None
Reply-To: chris@chrism.demon.co.uk
X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19)
Date: Mon, 21 Dec 1992 20:50:10 +0000

In article <TORSTEIN.92Dec21103132@itekiris.kjemi.unit.no> torstein@itekiris.kjemi.unit.no writes:

>In article <2B31FB9F.88D4@tct.com> jeff@tct.com (Jeff Witzer) writes:
>   I'm writing an app that uses Borland style dialog boxes and buttons.  I
>   would like to keep the interface consistant but haven't found a way to 
>   Borland-ize the <commdlg> File Save and File Open dialog boxes.
>
>   Does Borland have their own version?  (I couldn't find any public
> alternative
>   like thier BWCCMessageBox...I hoped to find a BWCCGetOpenFileName () and 
>   BWCCGetSaveFileName ())
>
>   I also tried to run Resource Workshop on my .exe but, of course, couldn't
> find
>   those dialogs to modify.
>
>   Should I give up and use the bland MicroSoft standard dialogs or is there
> hope?
>
>   jeff@tct.com
>

There's a VERY good solution now.  Microsoft have just released a DLL called
"CTL3D" which gives you 3D versions of *all* the standard Windows controls,
as well as nice grey backgrounds to dialogs.  According to its documentation,
these weill become standard in "a future version of Windows", and CTL3D is
now the "official" way to get "the 3D look" to your dialogs.

It's VERY easy to use.  You just make about 3 function calls and a "hook"
is installed, which automagically subclasses all the controls in your
dialogs, to make them 3D.

Best of all it's FREE!!!!  It's in the MSDNLIB area of CompuServe, so
should also be in the corresponding "mirror" directory of ftp.uu.net.

Hope this information is useful to you,

Merry Christmas!

Chris
-- 
--------------------------------------------------------------------------
| Chris Marriott                           | chris@chrism.demon.co.uk    |
| Warrington, UK                           | BIX: cmarriott              |
| (Still awaiting inspiration              | CIX: cmarriott              |
|  for a witty .sig .... )                 | CompuServe: 100113,1140     |
--------------------------------------------------------------------------
 
Newsgroups: comp.os.ms-windows.programmer.misc