HDTenEightyP/NetNews huggingface dataset:
From: poffen@rushmore (Russ Poffenberger)
Subject: Re: Has Anyone got BC++ 3.1 TDW working w/ Fahrenheit 1280D?
Organization: Schlumberger Technologies, ATE division, San Jose, Ca.
X-Newsreader: Tin 1.1 PL4
Date: Mon, 31 Aug 92 20:23:07 GMT

rec@coquina.ucsd.edu (Richard Currier) writes:
: In article <37058@sdcc12.ucsd.edu> pluto@cs.ucsd.edu (Mark Plutowksi) writes:
: >
: >Has anyone got Borland's Turbo Debugger for Windows (v.3.1)
: >to work with a Fahrenheit 1280D display card?
: >
: You too I see....The closest I've gotten is to use the SVGA.DLL downloaded
: from CSERVE but I is clunky. At least It no longer crashes. TDW is still
: useless in it's present form. Borland MUST be working on a full windows
: version. If they can get all of the rest of TCWIN working they can do
: the rest. I think they just wanted to get the compiler on the market
: so as not to get blown away by MS and Zorlowtech. If they are really 
: smart, they will include at least a limited integrated debugger with
: the TCWIN IDE. The best feature of the old TC was using the integrated
: debugger on small jobs where turnaround speed was important to get the
: job done. Pick up the newest version of ORCHID31.EXE from the Orchid BBS.
: Just for the record...Orchid superboard 486/50,F1280/D, TCWIN V3.1 upgrade.
: (runs ULTIMA VII like a champ)
: -- 

Look for s3.dll on CI$ in the Borland forum. Rename it to tdvideo.dll. I 
haven't tried it (I use a mono monitor for debugging) but it is said to work
from another user I have talked to.

Russ Poffenberger               DOMAIN: poffen@sj.ate.slb.com
Schlumberger Technologies       UUCP:   {uunet,decwrl,amdahl}!sjsca4!poffen
1601 Technology Drive		CIS:	72401,276
San Jose, Ca. 95110             Voice: (408)437-5254  FAX: (408)437-5246
From: wwn8108@tamsun.tamu.edu (Weldon Nash)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Device Driver Programming for Windows ???
Date: 1 Sep 92 18:17:28 GMT
Article-I.D.: tamsun.1992Sep1.181728.22386
Organization: Texas A&M University, College Station


	I was wondering if anyone out there might have any information leading
to information or just plain old information on making a device driver for
windows.  I am working on a project to use windows as a platform for digital
spectrum analysis.  I have a card that I have made that samples my input and
provides an interrupt signal.  Now all I need to know is how to process that
interrupt and put that data into a buffer that my program can read.

	Any ideas??  Also, anything that can be OWL specific would be great
but I doubt that it will be.  Thanks.  Please respond via e-mail.


						-Trey


wwn8108@tamsun.tamu.edu
Electrical Engineering Dept.
Texas A&M University
From: jonas.fogelberg@udac.uu.se (Jonas Fogelberg)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Garbled screen with CodeView 3 and SVGA
Date: 26 Aug 92 17:57:09 GMT
Organization: UDAC, Uppsala University, Sweden


I am having trouble with the displaying of CodeView 3 when running
in 800*600 resolution. When CodeView starts up the screen gets garbled,
but the Windows screen still looks OK. I am having no problems with
my regular DOS full screen or DOS windowed programs (which probably
uses the screen in a similar manner).

Everything is working ok in 640*480 resolution, but it shure would be
nice to use 800*600. Running CodeView 4 solves the problem, but the
application and linker I am using cannot use CodeView 4.

Is this problem the video drivers fault, or is there perhaps some 
setting in SYSTEM.INI which would solve this problem (excluding b000-b7ff
doesn't help, which somebody suggested).

Any help is appreciated.

Jonas

--
Just my own personal humble opinions...
Jonas Fogelberg, UDAC (Uppsala University Computing Centre), Sweden.
EMAIL: jonas.fogelberg@udac.uu.se. PHONE: +46 18187878. FAX: +46 18187770.
Newsgroups: comp.os.ms-windows.programmer.misc
From: lavigne@spaghetti.cis.ohio-state.edu (david lavigne)
Subject: Re: PETZOLD's COLOR PROGRAM AFU??
Organization: The Ohio State University Dept. of Computer and Info. Science
Distribution: usa
Date: Sun, 30 Aug 1992 02:08:07 GMT

In article <1992Aug28.004811.7803@cis.ohio-state.edu> lavigne@spaghetti.cis.ohio-state.edu (david lavigne) writes:
>Has anybody else had the following problem with the colors program is PETZOLDs
>PROGRAMMING WINDOWS book.
>
>The program is not giving up some resource and will eventually cause windows to
>UAE or whatever the new term is.  This happens after moving the scrollbox 
>thumbs for quite a while.  Even terminating the program does not free the 
>resources. 
>
>I have checked and double checked the code and cannott see any area from 
>typing in the code, and I can't see anything obvious wrong with the 
>masters code.
>
>I am using BC++ 3.1 and would greatly appreciate any help.
>
>Thanks.
>David.
>
I have solved the problem by Calling DeleteObject with the handle returned from
the SetClassWord call. (Thus Calling DeleteObject after Setting the background
 brush to a new value-- Opposite of the way given in the book)

I have two ideas why this fixed the problem and I wonder
If some kind soul could tell me which one it is and why.

1. DeleteObject cannot use the value returned from GetClassWord for some reason.
	(Even after various casts)

2. The online help for DeleteObject says not to delete something that is
selected into a device context.  Is the background brush in the register
 class call selected into a device context by windows?

3. For some reason, the handle for the background brush in the window class
data structure cannot be used to delete the object pointed to.  

Any insights would be greatly appreciated.
Thanks.
David.

PS.  To the person who was in contact with me by email:
	I lost your mail to me, so I could not send you these results.
	Send me some more mail and well see if we can figure out why these
	changes work.


Newsgroups: comp.os.ms-windows.programmer.misc
From: pmueller@ux4.cso.uiuc.edu (Peter Andrew Mueller)
Subject: Re: TDW and Video Drivers
Organization: University of Illinois at Urbana
Date: Sat, 29 Aug 1992 07:51:37 GMT

Monroe.Thomas@ttlg.UUCP (Monroe Thomas) writes:

>RG>Has anyone had problems running Borland C++ 3.1 Turbo Debugger

yes, i have the same video card.

>RG>When I run TDW using the 800x600 16 color VGA driver (comes with
>  >Windows 3.1) it runs fine.

the problem lies in ATI's drivers.  if you call their BBS (1-416-756-4591)
you can either:
- download the .DLL that fixes the problem. [i think the file is called
  TDVIDEO.DLL]
- get the new version of the drivers (should fix the problem :-)

when i fixed the problem, i remember having to actually CALL ATI to 
install the drivers (their instructions didn't work right)
if you have any problems email me a messge and i'll give you the RIGHT 
instructions.

peter.
--
----------------------------------------------------------------------------
Peter Mueller
pmueller@ux4.cso.uiuc.edu
DISCLAIMER: Help! Help! I'm being repressed

From: Monroe.Thomas@ttlg.UUCP (Monroe Thomas)
Sender: postmaster@ttlg.UUCP
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Printer Fonts
Date: 25 Aug 92  22:11:06 mst

DW>I just received Quick C for Windows and am attempting to write my
  >first application.  I have managed to print out my data with an abort dialog
  >box.  I am trying to figure out how to change the printer font.  I have
  >Programming Windows by Charles Petzold and I am unable to figure out how to
  >change the Printer Font.  Does anyone know of another book or have some
  >sample code of how to do this? Thank you.


Sure, you need to fill in the attributes of a LOGFONT structure,
and then select that font into the printer device context.

Eg.

    HFONT   hfontPrinter;
    HFONT   hfontOld;
    LOGFONT lf;

    // initialize structure to zero, fill in attributes as desired
    memset(&lf, 0, sizeof(LOGFONT));
    lf.lfWeight = FW_NORMAL;
    lf.lfHeight = -10;
    lstrcpy(lf.lfFaceName, "MS Sans Serif");

    // get handle to new font
    hfontPrinter = CreateFontIndirect(&lf);

    // select font into printer device context
    // when doing so, hfontOld will contain
    // handle to old printer font
    hfontOld = SelectObject(hdcPrinter, hfontPrinter);

    ... // printing code //

    // put old font back into printer DC, and delete new font
    // object since it is no longer needed
    SelectObject(hdcPrinter, hfontOld);
    DeleteObject(hfontPrinter);

    ... // other clean up code


-Monroe

 * OLX 2.2 * MT: Those are my initials, not the state of my head!

 * Origin: Through the Looking Glass (42:100/14)
Newsgroups: comp.os.ms-windows.programmer.misc
From: dspascha@eos.ncsu.edu (DAVID SCOTT PASCHAL)
Subject: Re: Dual monitor question
Originator: dspascha@c00015-118dan.eos.ncsu.edu
Reply-To: dspascha@eos.ncsu.edu (DAVID SCOTT PASCHAL)
Organization: North Carolina State University, Project Eos
Date: Wed, 2 Sep 1992 15:23:01 GMT


In article <1992Sep2.093238.1@cortex>, mboucher@cortex.prospect.com (Mike Boucher) writes:
|> Newsgroups: comp.os.ms-windows.programmer.misc
|> Path: taco!gatech!destroyer!sol.ctr.columbia.edu!cortex.prospect.com!mboucher
|> From: mboucher@cortex.prospect.com (Mike Boucher)
|> Subject: Re: Dual monitor question
|> Organization: Cortex Corporation, Waltham, MA, USA
|> Message-ID: <1992Sep2.093238.1@cortex>
|> Lines: 21
|> Sender: news@ctr.columbia.edu (The Daily Lose)
|> Date: Wed, 2 Sep 92 10:32:38 GMT+5:00
|> X-Posted-From: cortex.prospect.com
|> X-Posted-Through: sol.ctr.columbia.edu
|> 
|> In Message-ID: <ANDERS.92Sep2113154@ipcsun1.his.se>, Anders Eklund writes:
|> 
|> >I have a question about dual monitors. I'm going to use it when I
|> >debug my programs in both DOS and Windows environments and I use
|> >Borland C++ 3.1 & AF. My question is about what kind of graphics I can
|> >use or mix? Can I use two SVGA graphic-cards? I heard someone said
|> >that one of the cards must be a CGA card, but he didn't seem to know
|> >much about anything, so I was not convinced.
|> 
|> I tried having two SVGA monitors on my 486/33.  I got the same image on both
|> monitors.  Our resident PC guru said something along the lines of they have
|> the same "address", and you couldn't have them both.  So I went out and got a
|> $29 monochrome card and it works fine.
|> 
|> good luck.
|> 
|> Mike
|> -- 
|> Mike Boucher			mboucher@cortex.prospect.com
|> Cortex Corp			"Don't take life too seriously, you'll never
|> Waltham, MA, USA		 get out of it alive!"
|> 

Hi.  That's correct that you can't use two EGA or (S)VGA cards at the same
time.  Originally there were two video cards -- the CGA and MDA.  They were
designed to be used separately or together, because the CGA's I/O port base
address was 3Dxh and its regen buffer address was 0B8000h, and the MDA's
port base address was 3Bxh and its regen buffer address was 0B0000h.  The EGA
and (S)VGA are able use any CGA- or MDA-compatible text or graphics mode using
the same port and buffer address, so for example you could have a VGA using
CGA modes and at the same time be using an MDA, or you could have a VGA using
the MDA text mode (or the EGA monochrome-compatible graphics mode) and at the
same time use a CGA.  However, the reason you can't mix EGA or (S)VGA cards
in the same computer is that they utilize certain ports in the 3Cxh range,
and in their native graphics modes the video buffer is located at 0A0000h.
This can't be changed, so you can't double-up these cards unless you use a
specially-designed card that uses totally different port and buffer address
and specially-written software or video drivers that support it.

Tschuess,
David Paschal
Newsgroups: comp.os.ms-windows.programmer.misc
From: whedon@netcom.com (Bill Whedon)
Subject: Re: Rubber Banding in C/C++
Date: Wed, 26 Aug 92 06:24:38 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 

In article <1992Aug25.141019.25493@bcrka451.bnr.ca> carr@bnr.ca (John Carr) writes:
>
>
>  Does anybody know how to rubber band in MS-Windows with C or
>C++ code (preferably OWL)? I would like to be able to drop a
>single anchor point (Point1) and then drag a second point around
>(Point2), a rectangle will be continually drawn and redrawn from
>Point1 to Point2 as I drag Point2 around. I would like to have
>the rectangle redraw use XORing so as to avoid corrupting the
>background. Any help with this would be much appreciated.
>
Sure.  Trap the WM_LBUTTONDOWN message to start rubberbanding.  You have to
get the current location of the mouse pointer, and start drawing a rectangle
using a hollow brush and the XOR pen.  While the left button is down, (set
an indicator which you reset on WM_LBUTTONUP), trap the WM_MOUSEMOVE 
message and (1) redraw the original rectangle with XOR, then (2) draw one 
from your base coordinate (saved when the WM_LBUTTONDOWN was sensed) to the
new mouse coordinates.

If you want to leave the final rectangle on the screen, don't XOR it again
when the WM_LBUTTONUP is sensed, otherwise, do.  You can also capture the
pointer to keep it within the client area you're interested in.

Remember to use static variables to hold your start and end points.

There is an example of this (not a hollow rectangle, but an XORed screen
area) in Petzold's "Programming Windows", Microsoft Press, ISBN 1-55615-264-7
 
Cheers,
Bill Whedon


Newsgroups: comp.os.ms-windows.programmer.misc
From: castanos@wam.umd.edu (Jose Alberto Castanos)
Subject: Changing font in edit controls
Keywords: font, edit controls, ObjectWindows
Organization: Workstations at Maryland, University of Maryland, College Park
Date: Mon, 31 Aug 1992 16:59:28 GMT

    Hello, 

    I'm relatively new to Windows programming and was hoping 
someone could help me with the following:

    I'm working on an ObjectWindows application that derives
a window from the TFileWindow class.  I need to change the font 
of the Editor window and cannot find a way to do this.  According 
to the ObjectWindows User's Guide this could be done, but no details
are given on how to do it.
     My question is how can the font in an edit control be changed?

     Any help would be greatly appreciated.

-------------------------------------------------------------------------------
Jose A. Castanos       | Computer Science Dept. |"If a person never contradicts
(castanos@wam.umd.edu) | University of Maryland | himself, it must be that he 
                       | College Park, MD       | says nothing." -M. de Unamuno
-------------------------------------------------------------------------------
From: ebrown@bud_light.kodak.com (Eric Brown)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Autoloading VB Custom Controls
Date: 4 Sep 92 15:58:18 GMT
Reply-To: ebrown@tap.kodak.com
Organization: Eastman Kodak Company


I got VisualBASIC and VB Pro. How do I get all the controls to always
come up in the tool palette? The only way I've figured out is to create
a project file with all the contorls in it and then start with that 
everytime. Is there a more elegant way?

Thanks in advance,
Eric.
ebrown@tap.kodak.com
--
From: simon@minster.york.ac.uk
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: VB and DLLs
Date: 25 Aug 92 20:43:23 GMT
Organization: Department of Computer Science, University of York, England
X-Newsreader: Tin 1.1 PL5

I'm trying to get a Visual Basic application to talk to a DLL,
with a conspicuous lack of success.

The original version of the DLL was written using Zortech C++,
which I gather gets its start-up code wrong.  However, re-compiling
it using Microsoft C7 doesn't seem to have solved the problem,
and I'm beginning to suspect flawed understanding :-)

The perplexing thing is that the application works fine when
it's run from within the VB environment.  When I "Make .EXE",
and run it, however, I get a dialogue box saying "Error in loading
DLL."

I *know* it must be possible, as there are demonstration programs
out there which run with their own DLLs.  If anyone's got any good
ideas - preferably with source code they could let me have to see
where I'm going wrong - I'd be grateful.

Thanks in advance,


-- Si

--------------------------------------------------------------------
Simon A. Dobson

Dept. of computer science, University of York, Heslington, York, UK.
simon@minster.york.ac.uk                            (+44 904) 433378
--------------------------------------------------------------------
            "There must be more to being a talking dog than this..."
Newsgroups: comp.windows.ms.programmer,comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.tools
From: devilbis@oieng.mke.ab.com (Warren C DeVilbiss)
Subject: Information wanted on database engines for Windows.
Originator: devilbis@csd4.csd.uwm.edu
Keywords: database, tools
Organization: Computing Services Division, University of Wisconsin - Milwaukee
Distribution: na
Date: Fri, 28 Aug 1992 12:29:21 GMT


Does anyone have any experience running database engines under Windows?  There
seems to be a number of Windows engines, such as Paradox, dbVISTA, CodeBase,
etc.

I am looking for insight into the database to select.  My requirements are:

.  Redistributable DLL, royalty free.
.  Prefer medium model.
.  Reasonably good support.
.  Prefer file format compatible with commercial database tools.

If anyone would like to throw their two cents in, I'd be more than happy
to listen.

Thanks in advance.  If I get enough response, I'll post a summary.  Please
email your responses to devilbis@oieng.mke.ab.com

Warren DeVilbiss			devilbis@oieng.mke.ab.com
Allen-Bradley Company			devilbis@csd4.csd.uwm.edu
Milwaukee, WI  53045			(414) 382-2826
From: anders@ipcsun1.his.se (Anders Eklund)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Dual monitor question
Date: 2 Sep 92 09:31:54 GMT
Distribution: comp.os.ms-windows.programmer.misc
Organization: University of Skoevde, Skoevde


Hi there folks,

I have a question about dual monitors. I'm going to use it when I
debug my programs in both DOS and Windows environments and I use
Borland C++ 3.1 & AF. My question is about what kind of graphics I can
use or mix? Can I use two SVGA graphic-cards? I heard someone said
that one of the cards must be a CGA card, but he didn't seem to know
much about anything, so I was not convinced.

anders
--

 |\/\/\/|
 |      |           -- Anders Eklund  anders@his.se --
 |      |           -- Connectionist Research Group --
 | (o)(o)           -- Computer Science  Department --
 C      _)          -- University of Skovde, Sweden --
  | ,___| 
  |   /        Hi! I'm Bart Simpson, the ultimate sig virus.	 
  /---\      Just throw away your sig and copy this one instead. 
Newsgroups: comp.os.ms-windows.programmer.misc
From: PAULETTI@biel.be.tech.ascom.ch (Pauletti Andreas)
Subject: Re: Can't load WINDEBUG.DLL?!
Organization: Ascom Tech Ltd., Corporate Services, Division for Research 
Date: Mon, 31 Aug 1992 14:42:14 GMT
X-News-Reader: VMS NEWS 1.11

In <1992Aug31.031025.10090@cucs5.cs.cuhk.hk> lam836@cucs18.cs.cuhk.hk writes:

> 	After I switched from Win 3.0 to 3.1, everytime I load a
> program in TDW, it says "Can't load WINDEBUG.DLL", any idea?
> 

Make sure that WINDEBUG.DLL is located in the WINDOWS directory
where all other DLL files of Windows normally are.

andreas pauletti
Newsgroups: comp.os.ms-windows.programmer.misc
From: ekalenda@netcom.com (Edward J Kalenda)
Subject: Re: Dual monitor question
Date: Thu, 03 Sep 92 08:16:21 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Distribution: comp.os.ms-windows.programmer.misc

From article <ANDERS.92Sep2113154@ipcsun1.his.se>, by anders@ipcsun1.his.se (Anders Eklund):
> 
> Hi there folks,
> 
> I have a question about dual monitors. I'm going to use it when I
> debug my programs in both DOS and Windows environments and I use
> Borland C++ 3.1 & AF. My question is about what kind of graphics I can
> use or mix? Can I use two SVGA graphic-cards? I heard someone said
> that one of the cards must be a CGA card, but he didn't seem to know
> much about anything, so I was not convinced.

You can use a monochrome card with CGA, EGA, VGA, and SVGA. You can also
use a 8514/A (8914/A?) with the graphics cards. I don't remember the
exact name of the card, but it is an IBM adaptor which uses different
addresses than any of the others.

There is a mention of all this in setting up Codeview in the C7.0 docs.
-- 

Ed
ekalenda@netcom.COM
From: pluto@cs.ucsd.edu (Mark Plutowksi)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: TDW and Video Drivers
Date: 28 Aug 92 18:30:00 GMT

gordy@endor.uucp (Robert Gordy) writes:

>Has anyone had problems running Borland C++ 3.1 Turbo Debugger
>for Windows using certain video drivers?  I spent a couple
>of hours fighting with TDW last night before I realized it
>was the video driver.  If I use any of the drivers that
>came with my Ultra Graphics Board or the 8514 driver that
>came with Windows 3.1, TDW will not only bomb out (ie. lock
>up the system) but when I try to cancel the task with Cntl-Alt-Del,
>it gives me a GPF and brings me back to the DOS prompt.

>When I run TDW using the 800x600 16 color VGA driver (comes with
>Windows 3.1) it runs fine.

>Other details:
>	486 50 Mhz (DX2) processor
>	ATI Ultra Graphics Board w/1 Mg
>	Crystal Scan 15" monitor (1248 x 1240)
>	Windows 3.1/DOS 5.0
>	Borland C++ w/Application Frameworks 3.1

>Thanks in advance for the help.

>Rob Gordy



YES.  I'm using a Fahrenheit 1280D display
card.  BCW 3.1's TDW locks up when I use
the 800x600 or 1068x768 drivers. 
It locks up when it is supposed to
switch to Windows mode.  I then to a Ctrl-Alt-Del,
and then, if I'm lucky, it returns to the the 
Windows mode.  Eventually, however, it bombs
rather ungracefully, invoking a reboot.


LISTEN UP BORLAND!!  So far, TDW is worthless to me
because of this.  It is The Big Sore Point in an otherwise
seamlessly crafted product.  


= Mark

From: linas@hparc0.aus.hp.com (Linas Petras)
Date: Tue, 1 Sep 1992 01:27:31 GMT
Subject: "Status Line" Style C Code ??
Organization: HP Australasian Response Centre (Melbourne)
Newsgroups: comp.os.ms-windows.programmer.misc
X-Newsreader: Tin 1.1 PL4

Can anyone point me to some PD code that implements a "status line" window (ie
something like the bottom of the FileManager window) in C ??

-- 
Linas Petras
The comments are my own and do not represent	Hewlett-Packard Aust Ltd.
the views of my employeer			Phone: +61 3 895 2744
						Internet:linas@hparc0.aus.HP.COM
Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.tools
From: anderson@mayo.edu (Alfred I. Anderson)
Subject: MONEY to be made: VB & Grid Control!
Organization: Mayo Foundation
Date: Tue, 1 Sep 1992 13:45:24 GMT

Several days ago I posted a message asking if anyone had information on a 
GRID control (like that distributed with the Visual Basic Professional 
Toolkit) that provided the ability to have character attributes of Forecolor 
and FontSize to be set on a Cell-by-Cell basis at run-time.

I got an unexpected number of responses from people asking me to let them 
know if I find such a control - they want it too.

In fact, I think people might even PAY for such a control!


(The original note read:  
Microsoft distributes the GRID control as an enhancement to Visual Basic in 
the Professional Toolkit.  It is a very useful control!

Queston: How can the character attributes of forecolor and fontsize be set 
on a CELL by CELL basis?

It is easy to give the entire grid these attributes.  However, I can't find 
a way to adjust the attributes on a cell basis.  For example, all numbers 
appearing in Column 1 should be in black unless they are negative in which 
case they should appear in red.  Or, every 5th row should be printed in a 
bold-face font, other rows printed in a normal font.

Can anyone suggest a way of doing this?)



Alfred
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Alfred Anderson                Internet:    anderson@Mayo.edu
Mayo Foundation - Rochester MN 55905
-----------------------------------------------------------------