HDTenEightyP/NetNews huggingface dataset:
From: pk64380@kaarne.cs.tut.fi (Kuusisto Pasi Petri,,,SIG,64380)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: WHAT THE FUCK!?: Memory: 8,742KB Free, System Resources: 0% Free
Date: 11 Jan 1993 11:22:01 GMT
Organization: Technical University of Tampere, Dep. of Computer Science ,Finland 
Distribution: world
Reply-To: pk64380@kaarne.cs.tut.fi
NNTP-Posting-Host: kaarne.cs.tut.fi
Originator: pk64380@kaarne.cs.tut.fi

From article <C0KF1y.Eqz@newsserver.technet.sg>, by ipser@solomon.technet.sg (Ed Ipser):
> 
> Well, I've narrowed it down. I'm NOT running out of memory, my memory
> requirements are in fact quite modest. I'm running out of "system resources".
> Just what are these system resources that I'm exhausting?
> 
> It is not the case that I have a bunch of icons, pens, brushes or what
> have you. I have only a handful of each and I always deallocate them when
> done. That is not the problem.
> 
> I DO have a number of windows proportional to the size of the document. In 
> the current case, something like 650 windows. Larger documents would require
> still more windows and the current test is rather modest in size and
> complexity compared to what I envision the user doing.

  <some stuff deleted>
 
> So, can anybody tell me how to allocate more system resources? I've got
> plenty of memory, available disk space, etc. Speed of execution does not
> seem to be a problem. My application runs just as fast for 650+ windows
> as it does for 10 windows.
> 
> Or is there some inherent stinginess to the MS Windows system that it won't
> allow me to have so many windows regardless of how much memory and disk
> space I have?

   You got it! There is! 650+ windows will definitely eat it up. Sorry ...
 
> Help me, please!
   
   Tough luck, you lose ...

-zi
Newsgroups: comp.os.ms-windows.programmer.misc
From: jagrant@emr1.emr.ca (John Grant)
Subject: how does Windows know the physical dimensions of my monitor!?!?!
Organization: Energy, Mines, and Resources, Ottawa
Date: Thu, 7 Jan 1993 00:16:44 GMT

The docs say that the following:
	xsize=GetDeviceCaps(hdc,HORZSIZE);
	ysize=GetDeviceCaps(hdc,VERTSIZE);
returns the dimensions of the physical display (mm).
How does it know these values for monitors????

First of all, who am I talking to when I call GetDeviceCaps?
The display driver?  Windows?

If I am talking to the display driver, does it return these values by:
    1. looking them up from a table in the driver
    2. asking the graphics card for the values
    3. computing them from the resolution of the card and the
       size of a single pixel.  If so, does it get the size of
       the pixel from:
	  (a) a table in the driver
	  (b) asking the graphics card for the values

I have a VGA Wonder and a NEC 3D.  When I use ATI's VSETUP program, I
can tell it that I have a NEC 3D.  Presumably VSETUP has a table of monitor
dimensions and sets that in the card's config table.  The Windows driver
can then ask the *card* how big the monitor is.  But what if I hook up
another monitor that VSETUP doesn't know about?  What then?

The size is returned correctly on my system, but
the values returned on a NEC 6G (*huge beast*) are incorrect (smaller
than they should be).  That system is running a #9 24-bit card
in 1280 X 1024 resolution.  When it was set up, there was no way to
tell the card which monitor was being used.

I would appreciate it if somone who knows driver internals could
poke around in the DDK for an answer.

-- 
John A. Grant						jagrant@emr1.emr.ca
Airborne Geophysics
Geological Survey of Canada, Ottawa
Newsgroups: comp.os.ms-windows.programmer.misc
From: blakeco@microsoft.com (Blake Coverett)
Subject: Re: Screensaver wanted!
Date: 04 Jan 93 17:19:24 GMT
Organization: Microsoft Canada Inc.

In article <16B4A13B04.DRPORTER@SUVM.SYR.EDU> DRPORTER@SUVM.SYR.EDU (Brad Porter) writes:
>Help!!!  Freeware or shareware that needs to be written!  Here's what's needed:
>            A Windows screensaver, accessible through the Control Panel/Desktop
>            area, that allows you to specify a program to run.  In other words,
>            when I click setup I want to be able to input a command line just
>            like when I click Run in the program manager.  There are numerous
>            DOS screensavers, and I can write full-screen animations in VB,
>            but none of these can be run through the Windows Screensaver
>            area.  This can't be all that difficult to program if you're
>            familiar with writing Windows screensavers, which I'm sure someone
>            here is, but it would be invaluable in my opinion.

It sounds like you have VB, in that case you can make screen savers directly
as long as you know a couple of tricks.  Those .SCR files are really just 
Windows executables with a different name that obey a couple of standard rules.

Make the module description "SCRNSAVE : Your Title Here".
(In VB you do this by setting the Application Title when you make the .EXE)

If your app is started with a "/s" switch display your saver.

If your app is started with "/c" display your configuration dialog.

Since you aren't using the SCRNSAVE.LIB that comes with the SDK you will
need to manage exiting and passwords yourself.

A section named [ScreenSaver.Your Title Here] in control.ini is the customary
place to store your configuration info.

-Blake
-- 
#include <std/disclaimer.h>                       blakeco@microsoft.com
Mail Flames, Post Apologies.                      ...!uunet!microsoft!blakeco
Newsgroups: comp.os.ms-windows.programmer.misc
From: kevin@iti.gov.sg (Kevin Patt (SE))
Subject: Needed: White Paper on Borland's OWL and Microsoft's MFC,
Organization: National Computer Board, Singapore
Date: Fri, 8 Jan 1993 08:28:54 GMT

Hi,

    I am looking for the above paper.  I appreciate any pointers
given.  Thanks!

-Kevin.

-- 
Kevin Patt                                     Information Technology Institute
Associate Member of Technical Staff            Singapore 
Email: (Internet) kevin@iti.gov.sg             Tel: (65) 772-0471 
       (BITNet)   kevinpatt@itivax.bitnet      Fax: (65) 779-5966        
Newsgroups: comp.os.ms-windows.programmer.misc
From: kress@kentrox.uucp (Bill Kress)
Subject: HELP!!!!!
Organization: ADC Kentrox - Portland, Oregon
Date: Mon, 4 Jan 1993 18:31:52 GMT

This is my third posting on this, I haven't gotten a responce yet, and it's getting frusterating, I thought Microsoft read this forum.

I need to slow down my comm transmission character pacing.  In the DCB      
structure there is an entry for TxDelay, in about 80% of the documentation
that I found it said that it was the ammount of time between character
transmission (perfect!) but gave no value, is it in MicroSeconds, Seconds, or
what? (nanoseconds?)
The other source that I found (the programmers reference vol. 3) says that
this value is "Not currently used."

Is there anyone out there who actually knows about this?  it would be pretty
usefull, and if it doesn't exist I'd like to know if it will later.
From: jkubicky@cco.caltech.edu (Joseph J. Kubicky)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Questions about Windows for Workgroups
Date: 6 Jan 1993 00:26:48 GMT
Organization: California Institute of Technology, Pasadena
NNTP-Posting-Host: punisher.caltech.edu


I have a few questions about Windows for Workgroups.  First, can it
coexist with another network on the same physical cable (I'm already
hooked to a local ethernet of Suns, PCs, etc. - if I get W4W, can I
connect up just the PCs on the net?).   Second, what's the story with
programming under it - specifically, is there a socket-like interface
for passing messages between machines, and, if so, is there an documented
API for this available.  Third, how stable is it?

Thanks,

Jay Kubicky
jkubicky@cco.caltech.edu
From: holmesme@cpva.saic.com
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Aarrgghh.  ProtoGen!  Anybody?
Date: 4 Jan 93 14:09:47 PST
Distribution: world
Organization: Science Applications Int'l Corp./San Diego

In article <lk7g2oINN2jj@nada.cs.utexas.edu>, f254@cs.utexas.edu (Fall Class Account) writes:
> I have been having trouble "making" the c++ code generated by ProtoGen
> using Borland C++ 3.1.  (I get a lot of linker error for "undefined
> symbols") and do not know what I am doing wrong. The .prj file ProtoGen
> creates is loadable in BC++ for compiling/making... Am I right?  Or am I
> supposed to add some .lib in my .prj?  If anyone has any experience/ideas
> in this, please post them here!
> 
> Thank you very much in advance.
> 


Ain't Protogen, I am asuming version 2.2 that was available from 
Borland, fun.  Try checking the Include and Library Directory
settings under the Generate menu.  Make sure they are pointing
to the right directories.  Hope this helps.


+---------------------------------------+--------------------------+
|                                       | Internet                 |
|  Michael Holmes                       | HOLMESME@cpva.saic.com   |
|                                       |                          |
+---------------------------------------+--------------------------+
From: odysee@pyton.DoCS.UU.SE (Tobias Thomson)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Help... With parsing sLongDate
Date: 11 Jan 93 19:54:03
Organization: Dept, of Computer Systems, Uppsala University, Sweden.
NNTP-Posting-Host: pyton.csd.uu.se

If someone else have got A GOD idea of how to parse it. I have a lot
of bad ones my self.

Another question: I wan't my program to run in every WIndows-language
when compiled so I can't use STRINGTABLE in my .rc file. Where to place
this static data.


Thanks in advence

T. Thompson

odysee@csd.uu.se
Newsgroups: comp.os.ms-windows.programmer.misc
From: chris@chrism.demon.co.uk (Chris Marriott)
Subject: Re: Changing the mouse arrow 
Distribution: world
Organization: None
Reply-To: chris@chrism.demon.co.uk
X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19)
Date: Wed, 6 Jan 1993 20:30:26 +0000

In article <1993Jan6.152604.9593@midway.uchicago.edu> epc1@midway.uchicago.edu writes:

>
>I would like to change the mouse arrow in my application to an hourglass
>or a clock when it's performing a long, cpu intensive calculation in order
>to reassure the user that something is still occuring.  
>
>Does anyone know where I can get a public domain pixmap of a hourglass
>or a clock for such an effort?
>
>Thanks.
>

You don't need one - Windows provides one for you!  Just say:

    HCURSOR hHourGlass = LoadCursor( NULL, IDC_WAIT );

and use that.  Refer to the documentation of the "LoadCursor" function for
a list of all the standard cursors which Windows provides.
-- 
--------------------------------------------------------------------------
| 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: Steve_Goyette@mindlink.bc.ca (Steve Goyette)
Subject: Re: Toolbar Support Available (C++)
Organization: MIND LINK! - British Columbia, Canada
Date: Sat, 9 Jan 1993 05:14:13 GMT

Hi,

        I would definately be interested in taking a look.  How could I get
it from you
--
------------------------------------------------------------------------------

Steve Goyette                    |       Email : Steve_Goyette@MindLink.BC.CA
Software Engineer                |       Cserve: 71763,1435
Abstract Automation Limited      |       Phone : (604) 421-8864
                                 |       Fax   : (604) 421-7722 (Call first)
-------------------------------------
From: kburrows@sumax.seattleu.edu (Kevin Burrows)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: does GetPrivateProfileString work with lpszEntry= NULL?
Date: 5 Jan 93 09:38:32 GMT
Article-I.D.: sumax.1idd6oINNmkj
Organization: Seattle University
NNTP-Posting-Host: sumax.seattleu.edu

In article <1993Jan5.034504.10386@emr1.emr.ca> jagrant@emr1.emr.ca (John Grant) writes:


>I'm trying to get GetPrivateProfileString() to work for the case
>where lpszEntry is NULL - no success.  

>Suppose I have the following in my xxx.ini file:
>	[stuff]
>	abc=xxx
>	def=yyy
>	ijk=zzz
>Then, supposedly I should be able to get the whole [stuff] section with
>char buffer[100];
>	GetPrivateProfileString("stuff",NULL,"failed",buffer,
>			sizeof(buffer),"xxx.ini");
>and yet I only get "failed" and I should get:
>	"xxx\0yyy\0zzz\0\0"
>or so it says in the docs.
       ^^^^^^^^^^^^^^^^^^^
Take another look at the docs...

I have successfully used a GetPrivateProfileString call which is similar 
to yours; I am puzzled by why your call is failing.  Perhaps this 
observation may be useful:

    When lpszEntry is NULL, GetPrivateProfileString returns the 
    keynames NOT their values. Therefore, you should expect buffer to 
    contain:
         "abc\0\def\0ijk\0\0"

Good Luck.

Kevin
kburrows@sumax.seattleu.edu
Newsgroups: comp.os.ms-windows.programmer.misc
From: HEAGYWS@ctrvax.Vanderbilt.Edu ()
Subject: Visual Basic Tutor?
Organization: Vanderbilt University
Date: Thu, 7 Jan 1993 21:55:17 GMT
X-News-Reader: VMS NEWS 1.24

Forgive me if this is the wrong group for this question.

Is anyone aware of any tutorial programs for Visual Basic?  A friend
just bought the newest version, I believe it is 2.0 and is having
some problems with some of the more difficult concepts.  If there
is a FAQ or another group that may be of more help, feel free to
point me toward it.

Please respond via e-mail.

Thanks...Win

heagyws@ctrvax.vanderbilt.edu
=---------------------------------------------------------=


Newsgroups: comp.os.ms-windows.programmer.misc
From: jcp29389@uxa.cso.uiuc.edu (I Spike - Therefore I Am)
Subject: displaying bitmaps in my application
Organization: University of Illinois at Urbana
Date: Wed, 6 Jan 1993 04:02:43 GMT

how do i do it??

i would like the bitmap displayed when the program first starts and remain
for a short amount of time.

please email any responses.  thanks alot.

-- 
   _/    _/   _/_/_/		Jay Pardee
  _/    _/     _/		pardee@cs.uiuc.edu	University of Illinois
   _/_/     _/_/_/					 Urbana-Champaign
From: salmeniu@robocop.cs.hut.fi (Jaakko J Salmenius)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: NETBIOS-Calls: Help needed BADLY
Date: 7 Jan 1993 13:07:41 GMT
Organization: Helsinki University of Technology, Finland
Distribution: inet
Reply-To: salmeniu@niksula.hut.fi (Jaakko J Salmenius)
NNTP-Posting-Host: robocop.cs.hut.fi

In article   writes:
>!howland.reston.ans.net!sol.ctr.columbia.edu!ira.uka.de!Sirius.dfn.de!solaris.rz.tu-clausthal.de!sun.rz.tu-clausthal.de!instm

>I badly need help with my NETBIOS-Project. As I am using a
>multi-tasking-environment, i'd like to send messages when the
>netbios-calls with "no wait"-option return from operation.
>Normally you fill the NCB_POST - Variable in your NCB-BLOCK
>with the address of your interrupt-handler. My thought was to
>let my interrupt-handler send a message. Unfortunately nothing
>happens. The Problem seems to be the proc-address. Do I have to
>use MakeFarProc ? (If so, which hInstance...) Is there an aprop.
>DPMI-Routine ? (If so, which ?)

I haven't use NetBIOS with Windows but OS/2, where NCB_POST doesn't
contain an interrupt handler but a system semaphore handle. You're
right, according various documentation NCB_POST contains an interrupt
handler in Windows.

What might cause your problem is the interrupt handler itself. At least
in OS/2 you are not allowed to call any system functios (alt least a very
limited amount) during your stay in the interrupt handler. What
you're doing is sending a message that for sure is a system call.
Try to set up a flag during the NetBIOS interrupt and check the flag
afterwars when your' re not in interrupt any more.

Hope this helps.

	Jaakko


--
Jaakko Salmenius	| Helsinki University of Technology
salmeniu@niksula.hut.fi	| The believable ski heroes, at least in my opinion,
phone +358 0 805 5951	| are the ones who ski the extreme and watch Star Trek.
Newsgroups: comp.os.ms-windows.programmer.misc
From: chris@chrism.demon.co.uk (Chris Marriott)
Subject: Re: How do I rotate text or a bitmap? 
Distribution: world
Organization: None
Reply-To: chris@chrism.demon.co.uk
X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19)
Date: Fri, 8 Jan 1993 19:30:30 +0000

In article <1993Jan7.211926.11912@physics.ucla.edu> mmccarri@physics.ucla.edu writes:

>I could rotate a bitmap pixel by pixel, but it seems like a
>lot of work given the various color formats.  Is there an
>easier (and faster) way?
>

Write your application under Win32s and use the "World Transforms" that
Win32 gives you.  Rotation is then just as easy as translation and
scaling now are.

>Speaking of bitmaps, I am drawing a large, multi-color bitmap
>(a frequeny-time spectrogram) using the Rectangle() function
>to fill in each df dt block.  This also seems like too much 
>work since I have to create a pen and a brush with the desired
>color, select these objects, draw the rectangle, and then delete
>both objects.  This is repeated 100,000 times or so and is very
>slow.  I experimented with the SetPixel() function instead, but
>it is even slower!  Also, SetPixel() will not dither the color
>if I am running on a paletteless display.  Any suggestions?
>

1.  Use PatBlt rather than Rectangle - it's a lot faster.
2.  Create all the brushes you need at the start, do the drawing,
    then delete all the brushes at the end.
3.  SetPixel will *never* create a dithered colour, whether or not
    the display is palette-based.

>Thanks,
>-Mike-
>-- 
>Dr. Michael McCarrick                   UCLA Department of Physics
>Plasma Physics Lab                              405 Hilgard Avenue
>mmccarri@physics.ucla.edu                    Los Angeles, CA 90024
>

Chris
-- 
--------------------------------------------------------------------------
| Chris Marriott                           | chris@chrism.demon.co.uk    |
| Warrington, UK                           | BIX: cmarriott              |
| (Still awaiting inspiration              | CIX: cmarriott              |
|  for a witty .sig .... )                 | CompuServe: 100113,1140     |
--------------------------------------------------------------------------
From: stanke@sol.cs.uni-sb.de (Oliver Stanke)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Difference between a dialog-box and an window
Date: 7 Jan 1993 12:16:52 GMT
Organization: Computational Linguistics Dept., U Saarbruecken
NNTP-Posting-Host: sol.cs.uni-sb.de
X-Newsreader: TIN [version 1.1 PL8]

Hi Folks out there,

can anyone tell me the big difference between a dialog-box (normally created
with an resource, non-modal) and a standard-window (with push-buttons, 
scroll-bars etc.)
Is it possible to emulate with a standard-window the properties of a 
dialog-box ? 

Please give me a response or mail to
stanke@sol.cs.uni-sb.de

Thank you
Oliver
Newsgroups: comp.os.ms-windows.programmer.misc
From: simon@guk.auspost.com.au (Simon Carter)
Subject: Dynamic background screen
Organization: Australia Post
X-Newsreader: TIN [version 1.1 PL6]
Date: Sun, 10 Jan 1993 22:57:10 GMT

Can someone let me know where I can found sample TPW code that allows
the background screen to be updated dynamically.

Thanks in advance

Simon
--
+----------------------------------------------------------------------+
|  Simon Carter: 3rd Year Elec/Comp Sci, Monash University, Clayton    |
|           Net: simon@auspost.com.a                                   |
|    ___  @mail: 14 Canterbury Rd, Heathmont, Victoria 3135, Australia |
|   (o o) Quote: /simon% find -greatquotes -print >>.signature         |
+ooO-(_)-Ooo-----------------------------------------------------------+
From: deitsch@sol.crd.ge.com (Andy Deitsch)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: BC++ "BorDlg" problem
Date: 12 Jan 93 15:15:00 GMT
Reply-To: deitsch@sol.crd.ge.com
Distribution: na
Organization: GE Research & Development

c2s4027@tamsun.tamu.edu (Cedric Sims) writes:

>  You need to link the following libraries :
>
>       IMPORT.LIB
>       BWCC.LIB
>
>  They must be linked in that order! Very important.


Hmm, I only link BWCC.LIB and it seems to work fine.  What does import.lib
do and will it cause problems later if I don't link with it?

-- 
_________________________________________________________________________
Andy Deitsch                             email    : deitsch@crd.ge.com  
GE Corporate Research & Development      phone    : (518) 387-7207   
Schenectday, NY 12301                    dial comm: 833-7207     
Newsgroups: comp.os.ms-windows.programmer.misc
From: mavmav@mksol.dseg.ti.com (michael a vincze)
Subject: TPW screen blanker
Organization: Texas Instruments
Date: Tue, 5 Jan 1993 19:14:05 GMT

Does anyone know where I can obatin example Turbo Pascal for Windows code
for the following:

	1.	Screen blankers (to generate *.SCR files.)  I know that these
		are really *.EXE files renamed, but how what are the tricks
		in implementing them?
	2.	Programs that can be tied to the File Manager so I can execute
		commands from the File Manager menu.

All help is greatly appreciated.

Best regards,
Michael Vincze
mav@asd470.dseg.ti.com
Newsgroups: comp.os.ms-windows.programmer.misc
From: blakeco@microsoft.com (Blake Coverett)
Subject: Re: Getting rid of Help Engine on WM_SYSCOMMAND ?! 
Date: 08 Jan 93 05:54:32 GMT
Organization: Microsoft Canada Inc.

In article <1993Jan7.162242.7587@tandem.com> stu@Tandem.COM writes:
>I have an application with associated help.  When the user exits
>the application via the File|Exit command, I call WinHelp() with
>HELP_QUIT in order to cause the help engine to close its window
>and exit.  This works just fine.
>
>However, if the use exits via the close menu item on the windows
>system menu, I can't get rid of the darn help engine!
>
>I've tried processing the WM_SYSCOMMAND message and looking for
>the SC_CLOSE event; I process it just fine, call WinHelp() with
>HELP_QUIT but the help engine stays around!

WM_CLOSE is the normal place to handle this.  It works for me.

>I started trying commercial window applications and have found
>that all Microsoft applications exhibit the same behavior I'm
>experiencing.  Borland applications such as the Resource
>Workshop and the IDE however, correctly dispose of the help
>engine no matter how they are exited!

Hmm... I just tried this with Word, Excel, PowerPoint and Access and they
all close the help engine correctly when you exit via the system menu.
Which MS apps are you talking about?

-Blake (alright, so I'm being defensive)
-- 
#include <std/disclaimer.h>                       blakeco@microsoft.com
Mail Flames, Post Apologies.                      ...!uunet!microsoft!blakeco
From: rose@galtee.cs.wisc.edu (Scott Rose)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: RTF specs?
Date: 5 Jan 93 14:52:57 GMT
Organization: University of Wisconsin, Madison -- Computer Sciences Dept.

From article <1993Jan2.182827.22290@wariat.org>, by sjsobol@wariat.org (Steven J. Sobol):

> Does anyone know how to get ahold of the specs for RTF?

Reported to be on the second "pre-release" of the Microsoft Developers' CD.
Newsgroups: comp.os.ms-windows.programmer.misc