HDTenEightyP/NetNews huggingface dataset:
From: poffen@rushmore (Russ Poffenberger)
Subject: Re: TDW and Video Drv
Organization: Schlumberger Technologies, ATE division, San Jose, Ca.
X-Newsreader: Tin 1.1 PL4
Date: Mon, 31 Aug 92 20:28:49 GMT

barry.rosetti@rose.com (barry rosetti) writes:
: 
: Date Entered: 08-29-92 18:41
: P(> >Has anyone had problems running Borland C++ 3.1 Turbo Debugger
: P(> >for Windows using certain video drivers?  I spent a couple
: P(> >of hours fighting with TDW last night before I realized it
: P(> >was the video driver.  If I use any of the drivers that
: P(> >came with my Ultra Graphics Board or the 8514 driver that
: P(> >came with Windows 3.1, TDW will not only bomb out (ie. lock
: P(> >up the system) but when I try to cancel the task with Cntl-Alt-Del,
: P(> >it gives me a GPF and brings me back to the DOS prompt.
: 
: Yes, I ran into the same problem BUT...
: Here's a quote from the readme file about TDW and the DLL drivers:
: 
:     From time to time we have new DLLs for new video cards. These DLLs,
:     when available, can be downloaded from Compuserve, BIX, GEnie, and our
:     local BBS (408-439-9096). As new video cards and modes appear on the
:     market, we will be creating new DLLs for them. If the card you use
:     isn't supported by one of our DLLs, please contact Tech Support for
:     the latest video DLL information. Our main Tech Support phone number
:     is 408-461-9133.
: 
: I downloaded the latest drivers and lo and behold TDW worked.
: 

Right. What you have to remember is that TDW basically writes directly to the
video card. It must do this in order to work properly. You can't use Windows
API services from within the debugger, it just won't work in the Windows
environment.

Because of this, you need a dll for each different kind of chipset, such
as Et4000, S3, etc.

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: Monroe.Thomas@ttlg.UUCP (Monroe Thomas)
Sender: postmaster@ttlg.UUCP
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: TDW and Video Drivers
Date: 28 Aug 92  19:22:08 mst

RG>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.

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

RG>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


TDW will also work if you can get VESA drivers for your video card.
VESA is a common SVGA interface.  The VESA drivers are usually TSR's
that are loaded at boot time.  Some video cards have a VESA BIOS
tho'...

I don't know where you will find VESA drivers for your video card,
though.

-Monroe

 * OLX 2.2 * "You're a mangy cur," Tom barked doggedly.

 * Origin: Through the Looking Glass (42:100/14)
Newsgroups: comp.os.ms-windows.programmer.misc
From: johnrp@well.sf.ca.us (John Panzer)
Subject: Re: grumble, grumble, damn help files...
Organization: Whole Earth 'Lectronic Link
Date: Tue, 1 Sep 1992 03:58:02 GMT


The problem is that the text {bml printer.bmp} is an RTF bitmap inclusion
command (which is why you want it in there) - but Word assumes you really
want the literal text "{bml printer.bmp}", and therefore escapes the whole
thing when saving as RTF.

You should get the result you want by inserting a bitmap using the Word menu
commands and clicking on the "Link to file" checkbox when it asks you which
bitmap to insert.  When the resulting Word file is saved in RTF format,
you'll get the correct RTF include command.

John Panzer
johnrp@well.sf.ca.us
Newsgroups: comp.os.ms-windows.programmer.misc
From: stevesi@microsoft.com (Steven Sinofsky)
Subject: Re: Combining Regions in MFC (gripe)
Date: 03 Sep 92 22:02:32 GMT
Organization: Microsoft Corporation
Distribution: usa

The docs are in error on this one.  Thanks for the report.

In article <1831f9INN68k@agate.berkeley.edu> bchen@diva.Berkeley.EDU (Benjamin Chen) writes:
>I was trying to do the following to combine a circular and rectangular
>region:
>
>    CRect bbox;
>    CRgn circle, rect, combine;
>    int status;
>
>    status = circle.CreateEllipticRgnIndirect( bbox );
>    status = rect.CreateRectRgn(top, left, right, bottom);
>    status = combine.CombineRgn(&circle, &rect, RGN_DIFF);
>
>This did not work by itself.  CombineRgn() returned ERROR.
>I needed to add the following statement beforehand:
>
>    status = combine.CreateRectRgn(0, 0, 0, 0);
>
>in order for the CombineRgn() to work, apparently to initialize the
>destination CRgn to some arbitrary dummy region.  This info is nowhere 
>in the MFC docs.  I only tried this after reading the API docs
>(Programmer Reference, Vol 2., p 63) where it states:
>    
>    To use CombineRgn MOST EFFCIENTLY, hrgnDest should be a 
>    trivial region ....
>
>So it probably isn't MFC's "fault".  Still, the note should be reflected
>in the MFC docs.  Also, "MOST EFFICIENTLY" should be deleted from the text 
>since it doesn't work AT ALL if you don't create a trivial region (which
>seems to be a little hacky anyway). Oh, well, just venting some frustration.
>
>    BC
>
>-- 
>Benjamin Chen
>Office:   550-A4 Cory Hall, 2-4332
>UUCP:     !ucbvax!diva!bchen               
>HEPNET:   LBL::"bchen@diva.Berkeley.EDU"


-- 
Steven Sinofsky
stevesi@microsoft.com
Disclaimer: I don't speak for Microsoft, BillG does that.
From: JRBANGA@poppy.ucdavis.edu (JULIO RODRIGUEZ BANGA)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: VB + Fortran
Date: 24 Aug 92 02:06:22 GMT
Organization: University of California, Davis
X-News-Reader: VMS NEWS 1.20


  Hi, everybody!
  I'd like to create GUIs to some Fortran 77 scientific programs (data
input/output, graphics, etc.).
  I was thinking about using MS Visual Basic to create the front end, and MS
 Fortran to compile the Fortran kernel.

  Has anyone gone through the same experience?
  Any suggestions/advices/comments?
  Is there a better way to do it?
  Thanks a lot in advance!
 
   Julio R. Banga
   University of California, Davis
Newsgroups: comp.os.ms-windows.programmer.misc
From: ban@ifi.unizh.ch (Bela Ban)
Subject: Icons...
Organization: University of Zurich, Department of Computer Science
Date: Wed, 2 Sep 92 08:12:06 GMT

I'm in need of a function that retrieves an icon from an icon-file (*.ico).
Has someone done it before ?
The function should look like: HICON create_icon_from_file( char* filename );
I was successful with monochrome icons, but not with color icons (16 colors).
Any suggestions ?
Cheers, Bela
Newsgroups: comp.os.ms-windows.programmer.misc,comp.sources.wanted,aus.wanted
From: jeff@extro.ucc.su.OZ.AU (Jeffrey Smartt)
Subject: (Borland) Memory allocation routine wanted
Keywords: memory borland
Organization: Sydney University Computing Service, Sydney, NSW, Australia
Date: Mon, 31 Aug 1992 06:09:29 GMT

G'day,

some time ago there was an article in Dr Dobbs (I think!) that contained an
algorithm (and source) for a replacement to the Borland memory allocation
routine under windows.  If anyone knows where the source to this is would you
please Email me.

Thanks,
Jeff.
-- 
--------------------------------------------------------------------------------
Jeffrey Smartt, Smartt Designs Pty. Ltd.      Internet: jeff@extro.ucc.su.oz.au
G.P.O. Box 619, Sydney, NSW, Australia, 2001.
Ph: +61-18-219955.   [(018)219955]            Fax: +61-2-983-9046  [(02)9839046]
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Borland Resource Workshop question
From: vcurley@zeus.calpoly.edu (Vince Curley)
Date: Fri, 28 Aug 1992 22:56:39 GMT
Organization: California Polytechnic State University, San Luis Obispo

In article <Bsw5GJ.BDu@apollo.hp.com> nelson_p@apollo.hp.com (Peter Nelson) writes:
>>A good reference?  The best.  It can be obtained from your friendly
>>neighborhood bookstore.  The full title is "Programming Windows" and
>>it is by Charles Petzold.  It is a great introductory text with plenty
>>of examples and it is written in plain English.  When I was working
>>every programmer had this book at their desk.
>
>  Yes, this is a very good book.   If you can hold off a month
>  or so, the 3.1 version is supposed to come out in September.
>
>  BTW, it might be a good idea to order the examples on floppy --
>  it will save a LOT of typing.   (does anyone know if they are
>  downloadable from any BBS?)
>
>---peter

Right, the 3.1 would be good, especially it he decided to cover OLE, etc.
There was a major discussion (argument?) a couple months ago about the
samples and the whole ugly mess boiled down to:  They are copyrighted.
If they are available on an ftp site or BBS they should not be.  This is
not my opinion, it's just the way copyrights work.  Anyway, you
understand...

Vince
-- 
     Vince  "Windows,  Windows,  Windows"  Curley
  vcurley@demeter.calpoly.edu        CIS: 71055,3423
From: death@acca.nmsu.edu (Jeff Garzik)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Edit controls and OLE
Summary: wondering how to link in objects into edit control
Date: 31 Aug 92 00:21:15 GMT
Organization: New Mexico State University

I am making a program which creates an edit window (through OWL) and I
want to be able to link objects into it.  How do I display the objects in
the edit control?  Basically, I want to know how to:

Display the icon and/or bitmap related to the object in the edit control,
and have the text flow around it.  Basically a cheap word processor.
--
"Only sheep need a leader." - Nomeansno

death@acca.nmsu.edu
Newsgroups: comp.os.ms-windows.programmer.misc
From: jprice@magnus.acs.ohio-state.edu (Jeffrey R Price)
Subject: phone # for FarPoint Tech...
Organization: The Ohio State University
Date: Thu, 3 Sep 1992 13:57:33 GMT

In the September 92 issue of Windows Tech Journal
(pg 25) there is an add from

FarPoint Technologies, Inc.
P.O. Box 309, 75 Walnut Street
Richmond, Ohio  43944
phone: (614) 765-4333

The business number is "not in-service" and Information
has no record of the company.

*** Anyone know how to reach 'em?
Newsgroups: comp.os.ms-windows.programmer.misc,comp.os-.ms-windows.programmer.tools
From: plummer@hercules.cs.uregina.ca (Dave Plummer)
Subject: HELP! Drawing in a Dialog Box...
Originator: plummer@hercules.cs.uregina.ca
Reply-To: plummer@hercules.cs.uregina.ca (Dave Plummer)
Organization: University of Regina, Regina, Saskatchewan
Date: Fri, 28 Aug 1992 01:10:20 GMT

Here's the situation:  Using ObjectWindows under TCC+/Win, I have a main
windows derived from TDialog.  I have a bitmap that I need to refresh
when it the window gets repainted, but it is on top of a Borland shadow
box custom control.  I've tried hooking into a couple of control color
messages, but no matter what I try, it always seems that the dialog itself
gets refreshed overtop of whatever I draw, although I can see it being
redrawn first.  How do I do the final rendering of my window after windows
(or bwcc.dll) is done drawing all of the button and backgrounds?  If you've
been through this (or just happen to know the answer), please email me!

Secondly, one of the original problems I was having was that the HWindow
field of my derived class is not valid in my constructor.  I got around it
by setting a global variable in my InitMainWindow(), but this is obviously
not the best practice.  What and where is the soonest I can get my HWindow
for the dialog/window I have created?

Thanks,
Dave "Paitiently waiting for Petzold Ed 3" Plummer

Newsgroups: comp.os.ms-windows.programmer.misc
From: mccreary@sword.eng.hou.compaq.com (Ed McCreary)
Subject: grumble, grumble, damn help files...
Organization: Compaq Computer Corp.
Date: Fri, 28 Aug 1992 13:43:08 GMT


A curious problem with generating a help file.  I'm using Word 2.0 to
create the RTF file and then HC 3.00a to compile it.  

The problem is with inserting a bitmap into the file.  I use the
command {bml printer.bmp} and then some text.  But, instead of a
bitmap, I get the text {bml printer.bmp}.  Does this have to be
typed in a particular font?  Is there a limitation as to what 
can precede or follow it?

Enquiring minds want to know before I throw my laptop out off a ten story
tower.



--
McCreary@sword.eng.hou.compaq.com     Computers are like Old Testament gods;
Me? Speak for Compaq?  Yeah, right.   lots of rules and no mercy.
"By this time my lungs were aching for air..."               Joseph Campbell
Newsgroups: comp.os.ms-windows.programmer.misc
From: howard@maccs.dcss.mcmaster.ca (Howard Betel)
Subject: Help with dialog msgs, please
Organization: Department of Computer Science, McMaster University
Date: Mon, 31 Aug 1992 02:36:37 GMT

The following code, was extracted from the case WM_COMMAND section
of the dialog box. When moving from one edit control to another with both
fields being empty a EN_KILLFOCUS is sent to both edit controls.

Could someone please help me change the following code so that a
EN_KILLFOCUS message is sent to the leaving field.

I have been able to determine that it looks like the MessageBox is causing
a EN_KILLFOCUS message to be sent to the target field.

----------------------------------------------------------------------------
case dfEPsword: /* Edit Control                             */
  switch(HIWORD(lParam))
  {
    case EN_KILLFOCUS:
        GetDlgItemText(hWndDlg, dfEPsword, epsword, 10);
	if (strlen(epsword) != 8)
	/* Check length of EDSNET Current Password		*/
	{
           MessageBeep(NULL);
           MessageBox(hWndDlg,
              "EDSNET Current Password must be a 8 character alphanumeric string.",
              "EDSNET Current Password",
              MB_ICONHAND|MB_OK);
           SendDlgItemMessage(hWndDlg,
              dfEPsword,
              EM_SETSEL,
              NULL,
              MAKELONG(0, 0x7ffff));
           SetFocus(GetDlgItem(hWndDlg, dfEPsword));
           return FALSE;
        }
    break;
  }
break;

case dfEAPsword: /* Edit Control                            */
  switch(HIWORD(lParam))
  {
    case EN_KILLFOCUS:
	GetDlgItemText(hWndDlg, dfEAPsword, eapsword, 10);
	if (strlen(eapsword) != 8)
	/* Check length of EDSNET Alternate Password	*/
	{
           MessageBeep(NULL);
           MessageBox(hWndDlg,
              "EDSNET Alternate Password must be a 8 character alphanumeric string.",
              "EDSNET Alternate Password",
              MB_ICONHAND|MB_OK);
           SendDlgItemMessage(hWndDlg,
              dfEAPsword,
              EM_SETSEL,
              NULL,
              MAKELONG(0, 0x7ffff));
           SetFocus(GetDlgItem(hWndDlg, dfEAPsword));
           return FALSE;
        }
    break;
  }
break;

Thanks,

-- 
Howard Betel                                    Howard@maccs.dcss.McMaster.CA
Dept of Computer Science                     ...!unet!utai!utgpu!maccs!howard
McMaster University
From: barry.rosetti@rose.com (barry rosetti)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: TDW and Video Drv
Date: 29 Aug 92 23:53:21 GMT
Article-I.D.: rose.1992Aug29.225324.6163
Organization: Rose Media Inc, Toronto, Ontario.
X-Gated-By: Usenet <==> RoseMail Gateway (v1.70)


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

Yes, I ran into the same problem BUT...
Here's a quote from the readme file about TDW and the DLL drivers:

    From time to time we have new DLLs for new video cards. These DLLs,
    when available, can be downloaded from Compuserve, BIX, GEnie, and our
    local BBS (408-439-9096). As new video cards and modes appear on the
    market, we will be creating new DLLs for them. If the card you use
    isn't supported by one of our DLLs, please contact Tech Support for
    the latest video DLL information. Our main Tech Support phone number
    is 408-461-9133.

I downloaded the latest drivers and lo and behold TDW worked.

Good luck,
---
   RoseReader 1.70 P002147: It's better to dump core than to fade away.
   RM 2.00 : RoseNet<=>Usenet Gateway : Rose Media 416-733-2285
From: leadfoot@bigbootay.sw.stratus.com (Mark Curtis)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Buglist for MSC 7.0 ?
Date: 27 Aug 92 01:34:35 GMT

In article <1992Aug26.201349.7635@microsoft.com>, stevesi@microsoft.com (Steven Sinofsky) writes:
|> Information on updates, problems and workarounds for Microsoft C/C++ 7.0
|> is available on Compu$erve.  At this time, this information is not
|> available on USENET.

Why not?  Not everyone uses Compu$$$$.  Almost everyone reading this
gets USENET access via work, almost free.  Who needs Compu$$$?
From: Monroe.Thomas@ttlg.UUCP (Monroe Thomas)
Sender: postmaster@ttlg.UUCP
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: grumble, grumble, damn h
Date: 28 Aug 92  19:20:06 mst

EM>A curious problem with generating a help file.  I'm using Word 2.0 to
  >create the RTF file and then HC 3.00a to compile it.

EM>The problem is with inserting a bitmap into the file.  I use the
  >command {bml printer.bmp} and then some text.  But, instead of a
  >bitmap, I get the text {bml printer.bmp}.  Does this have to be
  >typed in a particular font?  Is there a limitation as to what
  >can precede or follow it?

You *may* need to include a section in your help project file (.hpj) with
the heading of [BITMAPS]. Ie:

[BITMAPS]
printer.bmp

This *should* make things work!

EM>Enquiring minds want to know before I throw my laptop out off a ten story
  >tower.

Aieeee!  Don't do it!

-Monroe

 * OLX 2.2 * "I'll get blood from you yet," Tom probed vainly.

 * Origin: Through the Looking Glass (42:100/14)
Newsgroups: comp.os.ms-windows.programmer.misc
From: dtam@fraser.sfu.ca (Dominic Pok Man Tam)
Subject: display file > 64k in windows
Organization: Simon Fraser University, Burnaby, B.C., Canada
Date: Fri, 4 Sep 1992 17:58:11 GMT

Hello,
 
I want to display a file which will be greater than 64K in windows. I know that
the edit control in windows can only display text smaller than 64K. What can I
do?
 
Regards.

Newsgroups: comp.os.ms-windows.programmer.misc
From: lavigne@spaghetti.cis.ohio-state.edu (david lavigne)
Subject: PETZOLD's COLOR PROGRAM AFU??
Organization: The Ohio State University Dept. of Computer and Info. Science
Distribution: usa
Date: Fri, 28 Aug 1992 00:48:11 GMT

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 
typeing 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.



Newsgroups: comp.os.ms-windows.programmer.misc
From: jaksa@sdf.lonestar.org (Robert Jaksa)
Subject: how to hook hardware interrupt vectors??
Organization: sdf Public Access UNIX, Dallas--unrestricted free shell access
Date: Thu, 27 Aug 1992 00:31:23 GMT

I want to hook hardware interrupt vectors under ms-windows.  Can
anyone give me some examples or point me in the right direction?  
(I do have the ms-windows developer's kit for version 3.1.)

Thanks in advance,
Rob Jaksa
-- 
| Robert P. Jaksa           d@############ |333   The Kennen Group, Inc.      |
| Internet: jaksa@sdf.lonestar.org       # |333   Executive Suite 932         |
|                              #         # |333   14255 Preston Road          |
| #########################################+333   Dallas, TX 75240-8537       |
From: che358w@vaxc.cc.monash.edu.au
Newsgroups: comp.windows.ms.programmer,comp.os.ms-windows.programmer.misc
Subject: Re: Setting Client Area to entire screen
Date: 4 Sep 92 11:09:01 +1000
Organization: Computer Centre, Monash University, Australia

In article <1992Aug28.074510.6581@adobe.com>, epperson@adobe.com (Mark Epperson) writes:
> In article <1992Aug11.233710.18600@u.washington.edu> goble@hardy.u.washington.edu (Brian Goble) writes:
> %%How do Win apps such a WinGif (and many other graphics/paint programs)
> %%implement their "Full Screen" option?  That is, what are they doing to
> %%make their Client Area the entire screen (no windows stuff at all--it's
> %%all client area).
>
> Start by moving the windows upper left corner off up and left so that
> the client areas origin is in the upper le~t corner of the screen. Then
> resize the window to make the client area the same size a~ the screen.
>
> MarkEppyrson

  I think that these apps. use a windows style that does not include border,
caption, system menu etc  and set w=getsystemmetrics(sm_cxscreen) and similarly
for the height and of course x=0, y=0 I don't have my references here so I
can't tell you exactly but I think that style:=ws_popup brings up an appropriate
sort of window or else try style:=style or(not ws_caption and ws_sysmenu). I
don't think that's exactly right but you get the idea.

Samantha Lane
CHE358W@vaxc.cc.moansh.edu.au
From: hill@netcom.com (Tom Hill)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: WndProc comes a crashing down! (Borland C)
Keywords: windows borland c++ help!!
Date: 28 Aug 92 18:08:25 GMT
Article-I.D.: netcom.!ydnzhh.hill
Organization: Netcom - Online Communication Services  (408 241-9760 guest)

In article <6036@pdxgate.UUCP> jayward@rigel.cs.pdx.edu (Jay Ward) writes:
>...
>No matter what I try my WndProc crashes after processing
>the WM_CREATE message.
>...
>long FAR PASCAL WndProc (HWND hwnd, WORD message, WORD wParam, LONG lParam)
>{
> char szBuffer[10], szCurr_dir[MAXDRIVE], szPct_dir[MAXDRIVE];

MAXDRIVE is 3

>HDC				hdc;
>PAINTSTRUCT		ps;
>
>switch (message)
>	{
>	case WM_CREATE :
>//		hdc = GetDC(hwnd);
>		init(hwnd);
>		ALERT("Done with init()");
>		sprintf(szCurr_dir, "The current directory is: %s", oldpath);

Since the string is longer than three chars, your stack is now corrupt

>               sprintf(szPct_dir, "The PCTOOLS directory is: %s", envpath);

Ditto
>...
>          ||  Jay Ward || jayward@rigel.cs.pdx.edu  || 
>          ||=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-||
>          ||        Portland State University       ||
>          ||            Portland, Oregon            ||

Tom Hill