HDTenEightyP/NetNews huggingface dataset:
From: rryan@panix.com (Rob Ryan)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Re: DebugOutput() probs : was Re: MSC 7.0 windows debug mode and 'Cant read from device AUX'
Date: 21 Dec 92 17:49:14 GMT
Distribution: comp.os.ms-windows.programmer.tools
Organization: Panix, NYC

In <1992Dec21.130416.10774@titan.inmos.co.uk> jeremy@cheetah.inmos.co.uk (Jeremy Thorp) writes:

>|> The main thing is that you need a line in your .DEF file that says:
>|> 
>|>   IMPORTS		_DebugOutput=KERNEL._DebugOutput
>|> 
>|> Also, this is a Windows v3.1 routine, so it won't work if you have
>|> Windows 3.0.  I'm not sure why this import is needed.  It is a documented
>|> function of the Windows 3.1 API, so you really shouldn't need to do this,
>|> but you do.  Also, the docs don't seem to reference to DBF_APPLICATION.
>|> Perhaps they simply expect everyone to use TRACE().
>
>I have tried (on previous occasions) the IMPORTS thing, and it
>enables the program to link ok.
>
>However, I have NEVER got DebugOutput to actually output anything. I
>am using the DBWin program provided in the SDK to display messages.
>OutputDebugString, and TRACE both work, DebugPut doesn't - ever!
>
>Does anyone know what I am doing wrong?

In dbwin, do you have the "application" box checked under trace in the
settings dialog box?  If this isn't checked, nothing will be produced.
You don't need to provide the name of the application, but make sure
that the "Application" box is checked.

-- 
 Rob Ryan
    rryan@panix.com
Newsgroups: comp.os.ms-windows.programmer.tools
From: blakeco@microsoft.com (Blake Coverett)
Subject: Re: DebugOutput() probs : was Re: MSC 7.0 windows debug mode and 'Cant read from device AUX'
Date: 23 Dec 92 11:41:28 GMT
Organization: Microsoft Canada Inc.
Distribution: comp.os.ms-windows.programmer.tools

In article <1992Dec21.130416.10774@titan.inmos.co.uk> jeremy@cheetah.inmos.co.uk (Jeremy Thorp) writes:
>However, I have NEVER got DebugOutput to actually output anything.
>I am using the DBWin
>program provided in the SDK to display messages. OutputDebugString, 
>and TRACE both work,
>DebugPut doesn't - ever!
>
>Does anyone know what I am doing wrong?

DebugOutput is only implemented in the debug kernel.  The entry point is
there in the retail kernel but it's a NOP.  (Now of course since we should
all be testing against the debug kernel this shouldn't be a problem,
right? :-)

-Blake
-- 
#include <std/disclaimer.h>                       blakeco@microsoft.com
Mail Flames, Post Apologies.                      ...!uunet!microsoft!blakeco
Newsgroups: comp.os.ms-windows.programmer.tools
From: swhall@eng.auburn.edu (Steven Wayne Hall)
Subject: Re: Use of Hungarian notation
Reply-To: swhall@eng.auburn.edu
Organization: Auburn University Engineering
Date: Tue, 22 Dec 1992 16:59:55 GMT

I too was wondering about this.  I Charles Petzolds' book, he describes the Hungarian
Notation and it's meanings.  TO get a job at Microsoft, is knowledge of this required?
How many comapanies have adopted this notation, and why has noone in the UNIX world 
adopted these ideas??
---

    +================================================================+
    | /* Steven W. Hall */  | A theory can be proved by experiment;  |
    | Computer Engineering  | but no path leads from experiment to   |
    | Auburn University, AL | the birth of a theory.		     |
    |  	       	            |					     |
    |swhall@eng.auburn.edu  | Albert Einstein (1879-1955)            |
    +================================================================+

Newsgroups: comp.os.ms-windows.programmer.tools
From: guzman@python.cis.ohio-state.edu (jonatan guzman)
Subject: Toolbars and Status Lines
Organization: The Ohio State University Dept. of Computer and Info. Science
Date: Tue, 22 Dec 1992 22:04:02 GMT

I finally get MDI under control, and now everywhere I look apps have toolbars
and status lines.

I have seen several inquiries on these subjects here, so would our resident
guru please post the available information?

Hopefully, locations of C++ libraries :) that encapsulate these functions into
easily pluggable components. Commercial or PD

That, and/or the complete "how to" guide for t-bars and s-lines.

Thanks all!

	Jon -- guzman@cis.ohio-state.edu
From: cparker@centerline.com (Charles Parker)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Re: Linked Lists...
Date: 24 Dec 1992 15:44:21 GMT
Organization: CenterLine Software
Distribution: world
Reply-To: cparker@centerline.com
NNTP-Posting-Host: 140.239.2.37

In article 92Dec23114213@pellava.uta.fi, ps@uta.fi (Pertti Suomela) writes:
>In article <1gkia2INN31u@escargot.xx.rmit.OZ.AU> rcskb@minyos.xx.rmit.OZ.AU (Kendall Bennett) writes:
> > cclark@trentu.ca (J. Chris Clark) writes:
> > >In article <1992Dec11.080213.6552@ugle.unit.no>, mariusk@solan.unit.no (Marius Kjeldahl) writes...
> > >>You should look into the CLASSLIB objects. I think they've got the most
> > >>usual lists, stacks, heaps and more adt covered in CLASSLIB. OWL for instance
> > >>uses CLASSLIB.
>
> > >Specifically, it's called the "container class library".  I looked at it
> > >once, considered using it, then decided that the overhead (probable run-time
> > >and my learning/frustration time) wasn't worth it for a doublly-linked list
> > >and I wrote the procedures in about an hour.
>
>The implementation of lists in CLASSLIB is quite braindead. For
>example, you cannot insert or delete items in the middle of the list.
>I cannot imagine any use for such a list.

I have been using the Borland CLASSLIB for almost 2 years, and have found
it to be flexible, powerful, and basically, despite the increase (for small
apps) in program "fat", totally indispensable. While many programmers 
prefer to stay away from the "rooted" hierarchy, it certainly saves alot
of coding time, leaving the programmer to ponder how to use a container
class, rather than how to build it.

WRT to the opinion that the List class is 'braindead' because
it does not allow node insertions, I would have to argue that  the
List class was never intended for such a purpose. If you are doing
insertions into the middle of a list, then you are doing it because
the list is sorted, in which case you could easily use a Dictionary,
SortedArray, or even BTree, and save yourself the trouble of having
to traverse a list to find the correct insertion point.

BTW, in regard to the remark:
>I cannot imagine any use for such a list.

I have used the List class to great effect, happily, in easily twenty
different classes. I would say that I have been payed off for the 
"overhead" in a big way.

---
---------------------------------------------------------

Charles Parker			  Phone.(800) 669 9165
Technical Support			(617) 498 3321
CenterLine Software, Inc.	    Fax.(617) 868 6655

                                       cyberspace
momma, don't let yer children grow up to be ^ cowboys ...
---------------------------------------------------------
From: e91ne@efd.lth.se (Nicklas Ekstrand)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Drag and drop files in MFC?
Date: 28 Dec 92 16:54:58 GMT
Organization: Lund Institute of Technology, Sweden


Hello all programmers!
I'm trying to use the drag and drop files with Microsoft Foundation Classes (MFC) but have a litle bit of problem. I get some strange errors. If there is anyone having some sourcecode to demonstrate how to drag and drop files with MFC I would be happy if you could mail it to me.

Thanks in advance

Nicklas.

-- 
----------------------
Nicklas Ekstrand (e91ne@efd.lth.se) Lund Institute of Technology, Sweden
Newsgroups: comp.os.ms-windows.programmer.tools,comp.os.os2.programmer
From: ramesh@news.cis.ohio-state.edu (Tharuvai S Ramesh)
Subject: Choreographer
Organization: The Ohio State University Department of Computer and Information Science
Date: Thu, 31 Dec 1992 06:00:54 GMT

Has anybody used this product? Any opinions?
This is what I know -- its an object-oriented user interface development
tool that runs under both OS/2 PM and Windows 3.0.
Appreciate your inputs.
Happy New Year!
Ramesh
From: muffy@remarque.berkeley.edu (Muffy Barkocy)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: looking for 32-bit C compiler
Date: 23 Dec 92 10:41:11
Organization: Natural Language Incorporated
Distribution: world
Reply-To: jerry@nli.com
NNTP-Posting-Host: remarque.berkeley.edu


Posted for a co-worker.  Please send all replies to: jerry@nli.com

I'm a software developer looking for another 32-bit C compiler for use
on a PC running Windows 3.0/3.1.  I'm currently using Metaware's
compiler & Windows ADK but have run into their limitation of a stack
size that must be less than 64K.  I need a 32-bit compiler that supports
a 1Mb stack, more than 16Mb address space, supports standard Windows
calls including DDE, and will allow me to call functions in a 16-bit
DLL.  Optionally, I would like to create a small 32-bit DLL that I can
access from the main program.  Does anyone know of such a C compiler???

<<jerry@nli.com>>


--

Muffy Barkocy                      | ~Can you tell me how much bleeding/it
muffy@mica.berkeley.edu            |  takes to fill a word with meaning and/
"amorous inclinations"? Aha! I'm   |  how much how much death it takes/to give
not "not straight," I'm *inclined*.|  a slogan breath?~ - Bruce Cockburn
Newsgroups: comp.os.ms-windows.programmer.tools
From: scott@MAS.ML.COM (Scott Strool)
Subject: WINGen	
Keywords:  object vision prototype screen designer
Organization: Municipal Analytics & Systems, Merrill Lynch & Co.
Date: Tue, 22 Dec 1992 18:45:16 GMT

Has anybody tried WinGen. Its supposed to create source out of ObjectVision
.ovd files. It can also be used with OV to generate C code. How is the database
support.
From: rscott@vineland.pubs.stratus.com (Richard Scott)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Re: Use of Hungarian notation
Date: 24 Dec 1992 16:23:19 GMT
Organization: Stratus Computer Inc, Marlboro MA
Distribution: comp
NNTP-Posting-Host: attila.pubs.stratus.com

I humbly add this post in hopes of staving off the Nth annual "Why Hungarian  
Notation is the (A) Salvation of the World or (B) Bane of Existence (pick one)"  
contest.  Is there a summary of the pros and cons in a FAQ file somewhere?
-----
Richard Scott
Stratus Computer, Inc.
rscott@vineland.pubs.stratus.com
From: khamsi@ll.mit.edu (Sarir Khamsi)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Use of Hungarian notation
Date: 22 Dec 92 13:26:24 GMT
Distribution: comp
Organization: MIT Lincoln Laboratory

Yo,

I have just started programming in Windows and was wondering if there
was anyone out there who knows if Hungarian notation for variables is
widely used or recomended. Thanks in adance.
--
Sarir (Riri) Khamsi - khamsi@ll.mit.edu
MIT Lincoln Laboratoy
244 Wood St.
Lexington, MA 02173
USA
Newsgroups: comp.os.ms-windows.programmer.tools
From:  Fyodor@msoft.msk.su (Fyodor Zubanov)
Subject: Re: Is here anyone using Visual Basic 2.0 ?
Date: Sun, 20 Dec 1992 12:20:02 GMT
Reply-To: Fyodor@msoft.msk.su
Organization: Microsoft Moscow

>       Is here anyone using Visual Basic 2.0 ?
>
>

Yes, I was waiting for VB 2.0 for a long time and believed
that all our willings will be introduced in it.
Now I have it and can say: It's truth, most of properties
users wanted to see are implemented (I mean inheritance,
mdi, preserve redim, multiple-selection list box, variant
type of data and so on). BUT the size of VBRUN200.DLL is
greate enough. Of course the sizes of exe-files is smaller,
then in VB 1.0, but when you summirize .exe & vbrun200
you'll get more Kbytes. This is very sufficient in setup
programs. For example my very sofisticated setup program,
written in VB 1.0 contained 8 forms, some controls produced
via calls of API functions and several functions in dll.
The size of this program was 175K (exe)+15K (dll). Now
after rebuilding (including new features of Vb 2.0) I have
140K (exe)+ 8K (dll). But with the new vbrun it takes more
place on the floppy. :(
>From the other hand it's almost impossible to run VB 2.0
applications on AT286 with 1M of memory - computer sleeps.
The main reason - this giant dll.

So the best way is to wait VB 3.0 without any vbrun dll. :)

Fyodor.
-- 
=================================================================
        Fyodor Zubanov          fyodor@msoft.msk.su
        Moscow, Russia          Ph. 007.095.151-4685
=================================================================

Newsgroups: comp.os.ms-windows.programmer.tools
From: andrew@cursci.demon.co.uk (Andrew Trotman)
Subject: Tools to make Demos anywhere?
Distribution: world
Organization: Current Drugs
Date: Mon, 21 Dec 1992 17:27:55 +0000

Anyone got any ideas on what to use to make demos of our Windows apps?

We have used Dan Bricklin's DEMO II for dos, we want something like this
but for windows.

We don't really want to write vast swags of code to tell our apps to be
demos, we'd rather put together a demo from screen dumps and the like.


Any ideas anyone?   PD or Commercial, we don't mind either way.


Andrew
andrew@cursci.co.uk

Newsgroups: comp.os.ms-windows.programmer.tools
From: skhandwa@encore.com (Sunil Khandwala)
Subject: Re: Toolbars and Status Lines
Organization: Encore Computer Corporation
Date: Wed, 23 Dec 1992 20:25:52 GMT

guzman@python.cis.ohio-state.edu (jonatan guzman) writes:

>I finally get MDI under control, and now everywhere I look apps have toolbars
>and status lines.
>I have seen several inquiries on these subjects here, so would our resident
>guru please post the available information?
>Hopefully, locations of C++ libraries :) that encapsulate these functions into
>easily pluggable components. Commercial or PD
>That, and/or the complete "how to" guide for t-bars and s-lines.

PC-Techniques DEC/JAN 93 has a how-to on status lines, they also did a
how-to on toolbars in AUG/SEP 92 issue (I think).

Sunil. K.

Newsgroups: comp.os.ms-windows.programmer.tools
From: rryan@panix.com (Rob Ryan)
Subject: Re: Use of Hungarian notation
Date: Tue, 22 Dec 1992 19:45:36 GMT
Distribution: comp
Organization: Panix, NYC

In <9212220826.PN09838@LL.MIT.EDU> khamsi@ll.mit.edu (Sarir Khamsi) writes:

>I have just started programming in Windows and was wondering if there
>was anyone out there who knows if Hungarian notation for variables is
>widely used or recomended. Thanks in adance.

It is pretty widely used (in C/C++ anyway) and is definitely
recommended.  It makes code much more readable.  There are often
variations from programmer to programmer, but the biggies "sz", "n",
"f", "hwnd", etc. are pretty consistent and make it infinitely easier
to (a) allow someone else to read and understand your code; and (b)
allow you to understand your code having been away from it for a
while.

Definitely use Hungarian naming.  It takes so little effort and makes
your code much more readable.

-- 
 Rob Ryan
    rryan@panix.com
Newsgroups: comp.os.ms-windows.programmer.tools
From: hbchen@cse.uta.edu (Hsing B Chen)
Subject:  Help needed  
Organization: Computer Science Engineering at the University of Texas at Arlington
Date: Fri, 25 Dec 1992 05:38:14 GMT

  I used MSC/7.0 and have get a problem.  When I used PWB and tried to
compiled a c program, I got the error mesage
  R6907 not enough extended memory on exec.
  I would appreciate that if you could tell me how to configure my pc
and set it to protected mode.  Thanks.

HB Chen
D
From: mills@athena.lkg.dec.com (George Mills)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Re: Need BMP format
Keywords: bitmap, bmp
Date: 22 Dec 92 14:50:27 GMT

It's in Volume II of the Windows API.
Also I believe both SDK and Borland compilers include it in the
On-Line help.
From: 2ftptimely@kuhub.cc.ukans.edu
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Problem: Linker doesn't like CHOOSEFONT
Date: 20 Dec 92 23:59:47 CST
Organization: University of Kansas Academic Computing Services

I am having trouble using the CHOOSEFONT type. I have
both Borland's Turbo and Borland C++ packages but am
currently using Turbo C++ for Windows because of space
problems. I have copied the commdial.h header file
and converted commdial.dll to commdial.lib using the
object convertor program (I might mean commdlg here -- the
source isn't handy). Anyway, I KNOW that CHOOSEFONT is
defined in the .lib file I made (checked it with TDUMP).
Still, in my program I get a link error. The linker doesn't
recognize the symbol CHOOSEFONT. The .lib file is in
the tcwin/lib directory where my other include files are.
Does anyone know what my problem is?  Thanks. (I am developing
for Windows 3.1).

Please respond to me at
frazier@hawk.cs.ukans.edu

Thank you again for your help

George F. Frazier
University of Kansas

Newsgroups: comp.os.ms-windows.programmer.tools,comp.os.ms-windows.programmer.win32
From: thomas@sunshine.Kodak.COM (Thomas Kinsman)
Subject: GUIDE TO CREATION OF DIB IMAGES
Followup-To: comp.os.ms-windows.programmer.misc
Keywords: DIB BMP Format
Organization: Precambrian Electronics, Rochester, NY
Date: Wed, 23 Dec 92 21:51:10 GMT



    I just posted my own notes on creating DIB and  BMP  image  file  on
    comp.os.ms-windows.programmer.misc.   This  is  just to let you know
    where to find it if you need it.

    Someday, perhaps I will contribute it to an FTP site, but  this  way
    people  will  know it exists and can inform me of corrections that I
    should have made.  I wrote it a long time ago.

    If you are currently experiencing a holiday, I hope  that  it  is  a
    pleasant one.

    Cheers!


--
    Thomas B. Kinsman, Rochester, NY, thomas@acadia.kodak.com
    "Practice random kindness and senseless acts of beauty."	-anon
Newsgroups: comp.os.ms-windows.programmer.tools
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:37:48 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
Newsgroups: comp.os.ms-windows.programmer.tools
From: chris@chrism.demon.co.uk (Chris Marriott)
Subject: Re: Landscape Mode Printing 
Distribution: world
Organization: None
Reply-To: chris@chrism.demon.co.uk
X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19)
Date: Tue, 22 Dec 1992 22:12:44 +0000

In article <1992Dec22.095037.25822@cuug.ab.ca> mcneillb@cuug.ab.ca writes:

>I have a problem concerning printing in Landscape mode in
>Windows 3.1 in a program that I am writing with Borland C++
>version 3.1.  What is frustrating about this is that
>everything works when I print Portrait mode but nothing
>prints under Landscape mode (Laserjet IIIsi or Roland 9
>pin).  I'm under the impression that there is no difference
>in my code for Portrait and Landscape modes since windows
>handles the print orientation.  Could I be wrong??  It
>wouldn't be the first time!  I have tried some other source
>code (DLGDEMO4 from PC-Magazine July 1992 by Ray Duncan, for
>example) and have found that these programs also fail to
>print in Landscape mode.
>
>If I use landscape mode the window does not refresh from the
>print dialog box and the program hangs on the EndPage
>function until I cancel the print job.  Nothing is sent to
>the printer.  Something is sent to the Print Spooler (a
>StartDoc or StartPage) but no record of anything to
>physically print.  If I click anywhere other then the cancel
>print job button in my abort print dialog, I might have to
>cntrl-alt-del the program to kill it.  I know that my
>printer works with Landscape mode since NotePad and other
>applications print Landscape mode just fine.  Could my
>problem be something that I'm missing or could it be some
>undocumented function or what?  
>
>Any help would be greatly appreciated.
>
>Blake McNeill
>
>@cuugnet.cuug.ab.ca
>
>Does a psychic's phone ever ring??
>
>
>

Sounds like a bug in your printer driver?  Why not try installing another
printer driver - one of the well-known ones such as PostScript or HP
LaserJet - and see if the problem still occurs.  Set the printer port to
"file" if you don't actually have another printer.

BTW, I've written lots of Windows software that does landscape-mode
printing, and it all works fine!

Chris
-- 
--------------------------------------------------------------------------
| Chris Marriott                           | chris@chrism.demon.co.uk    |
| Warrington, UK                           | BIX: cmarriott              |
| (Still awaiting inspiration              | CIX: cmarriott              |
|  for a witty .sig .... )                 | CompuServe: 100113,1140     |
--------------------------------------------------------------------------
 
Xref: sparky comp.os.ms-windows.programmer.tools:1791 comp.os.msdos.programmer:11564 comp.sys.ibm.pc.programmer:663
From: dfa@rabbit.physiol.unimelb.edu.au (David Abbott)
Newsgroups: comp.os.ms-windows.programmer.tools,comp.os.msdos.programmer,comp.sys.ibm.pc.programmer,comp.windows.ms.programmer
Subject: Re: Borland C++ 3.1 vs Microsoft C/C++ 7.0
Followup-To: comp.os.ms-windows.programmer.tools,comp.os.msdos.programmer,comp.sys.ibm.pc.programmer,comp.windows.ms.programmer
Date: 22 Dec 1992 00:02:39 GMT
Organization: University of Melbourne
Distribution: world
NNTP-Posting-Host: rabbit.physiol.unimelb.edu.au
X-Newsreader: TIN [version 1.1 PL8]

Richard Kooijman (Richard.Kooijman@dnpap.et.tudelft.nl) wrote:

: Now we are using C 6.0, which is as bug ridden as C 7.0 (a bit less
: in fact, but they are both NOT professional compilers, but
: over-priced do-it-yourself tools).

: I admit we don't have 6.01 or 6.0A but Microsoft Netherlands wants you
: to specifically point out where the bugs are in the compiler
: otherwise you don't get a update. Go figure, that isn't our job!
: We paid for a compiler but get something with bugs WE have to find!

You want some bugs,  just take a look at the file cl-7-bug.zip in the
c directory of the SIMTEL20 msdos archives.  It has half a dozen or so 
small demonstration files which show up serious bugs in MSC 7.0 and
6.0.  According to the author,  all the demonstration files work with 
C 6.01,  none work with C 7.0,  and some don't work with C 6.0. That's
right,  some of the bugs in 6.0 that were fixed in 6.01 are back again
in 7.0.  That sort of thing is unforgivable really. 

By the way,  is that "get an update only if you can document a bug" a
general Microsoft policy,  or somehting peculiar to Microsoft
Netherlands?  Perhaps someone from Microsoft may care to comment!

I havn't been following this thread,  but let me say I'm not trying
to promote Borland C++ either. 
Any company releasing a huge program like that with such a pathetic
installation program needs to re-organise its priorities just a
little.  I keep thinking they've got to do it better soon,  but alas
each new release uses the same  old "you work out exactly how
much space your selections will take,  then feed in every disk
(whether its needed or not) and I'll install it for you but if you're
wrong and end up just 1K short of space,  I'll delete everything for
you and you can start all over again" program! I could go on and on
about all the deficiencies in Borland's install program but you've
probably got the general idea by now!

--
David Abbott                | Email: dfa@rabbit.physiol.unimelb.edu.au
School of Physics & Dept. of Physiology | Phone: +61-3-344-5465
The University of Melbourne, Australia. | Fax:    Available on request.
From: yding+@pitt.edu (Yijun Ding)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: BMP format (solitary)
Keywords: bitmap, bmp
Date: 23 Dec 92 15:30:39 GMT
Organization: University of Pittsburgh

I am interested to write a poker game.  Is the bitmap of cards used
in solitary game available in public or I have to make my own?

Thanks in advance.

-- 
//Yijun Ding, Pittsburgh //Go your way, be happy.
Newsgroups: comp.os.ms-windows.programmer.tools
From: tfj@apusapus.demon.co.uk (Trevor Jenkins)