HDTenEightyP/NetNews huggingface dataset:
From: ddetws@Arco.COM (ddetws)
Newsgroups: comp.windows.ms.programmer
Subject: Freeing USER data segment memory
Date: 8 Apr 92 21:37:38 GMT
Organization: ARCO Oil and Gas Company

HELP!!!

I'm working on a Windows app that does not free system resources properly.
The GDI segment is OK, but my USER segment is growing. It doesn't seem
to grow larger the same amount each time. I looked for any MakeProcInstance
calls without FreeProcInstance calls, but this doesn't seem to be the 
problem. I only use one MakeProcInstance call, other than dialog boxes,
and save the pointer to a global variable. I FreeProcInstance when 
processing the WM_DESTROY message. ( Could this be the problem? My
app sure doesn't have any trouble finding the function. ) By the way my 
app loses 4 to 6K to the USER segment each time it is run and exited.
Does this sound like an application problem, or maybe a Windows (heaven
forbid!) problem?

Any hints or advice would be greatly appreciated. Post or E-Mail will
be fine.

Thanks in advance,

/**************************************************************************\
|             Tommy Sager                       P. O. Box 1792             |
|             ddetws@Arco.com              Odessa, Texas 79760             |
|           "Let's just assume it's Friday afternoon." - Unknown           |
\**************************************************************************/
Newsgroups: comp.windows.ms.programmer
From: kting@cse.unl.edu (Kea Ting)
Subject: book on writing games.
Keywords: games
Organization: University of Nebraska - Lincoln
Date: Thu, 16 Apr 1992 21:26:16 GMT


Hi,
    Does anyone know any good book that teach us how to write games ? Or
any book that give a general idea to the reader how one can write a game.
    It can be in any programming language, I just need to get some idea
how to write a game. Does any special tools needed to write games ? Or 
there is such thing as game generator (as for compiler, we have compiler
generator). 
     Thanks.


  soon

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

University Of
Nebraska-Lincoln

------------------------
From: ms-isv@uunet.uu.net (Microsoft - ISV Archive)
Subject: Re: Level of DPMI support in Win3.1?  Anybody Know?
Organization: UUNET Technologies Inc, Falls Church, VA
Date: Fri, 10 Apr 1992 00:15:09 GMT

In article <ku1ViB1w164w@rjck.UUCP> rob@rjck.UUCP (Robert J.C. Kyanko) writes:
>
>Windows 3.0 is supposed to be DPMI 0.9 compatible.  Does anybody know if
>Windows 3.1 supports DMPI 1.0, or how about the -REALBREAK stuff?  I have
>a program which is written with Pharlap's latest client/server which requires
>this -REALBREAK which Win 3.0 does not support.

Windows 3.1 supports the same level 0.9 of DPMI as Windows 3.0, with some
bugs fixed.

Alistair Banks, Microsoft Systems Division
Newsgroups: comp.windows.ms.programmer
From: sgil@netcom.com (Steve Gilbert)
Subject: Re: BCC TDW Doesn't Work Under Win 3.1
Date: Tue, 07 Apr 92 23:47:31 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 

In article <prao.702673242@hcfmail> prao@bluemoon.ucsb.edu writes:

>Soo... there *is* a fix, a new WINDEBUG.DLL.  When will it come out?  Dunno.
>I would definitely expect it in the windows v3.1 SDK, to ship in 4-6 weeks.
>It will probably be in the w3.1 update from Borland as well, shipping in
>4-6 weeks (sigh).  I have heard a rumor they may release a quick update,
>containing a new windows.h file (implib it yourself I supose) and a updated
>WINDEBUG.DLL.  This is just a rumor however.

Do you [or anyone else] have any idea what Borland's ugrade policy for 3.1
is going to be like? I just got BC++ 3.0 three weeks ago;  will the
upgrade be free, or can I look forward to yet another $50-$100 "special"?
[ie: should I return the 3.0 I now have for a refund, since I'm well
within the 60-day money back period, and order it again in a few weeks, or
tough it out?]
--
Steve Gilbert				(sgil@netcom.com)
From: hanley@fyi.crd.ge.com (Christopher W Hanley)
Newsgroups: comp.windows.ms.programmer
Subject: Developer's Tools for Windows 3.1
Keywords: windows tools
Date: 8 Apr 92 18:15:33 GMT
Reply-To: hanley@fyi.crd.ge.com (Christopher W Hanley)
Organization: GE Research & Development


Hi all, I am new to this groups and noticed that this week Microsoft
introduced Windows 3.1 with a lot of hoopla.

I am interested in becoming a Windows developer and would like to 
know which tools are going to support 3.1

Is microsoft still distributing Toolbook with Windows and will windows 3.1
have a version which supports the multi-media extensions?

Is Plus going to support 3.1, further, does plus support stand alone 
applications or does the user have to have plus to use its stacks?

What are the various C++ implementations, which one is cheapest/best,ect?


Many Questions,
Thanks in advance,

Chris Hanley
hanley@fyi.crd.ge.com
From: plutchak@pilsner.geo.brown.edu (Joel Plutchak)
Newsgroups: comp.windows.ms.programmer
Subject: Windows 3.1 and QuickC problems
Date: 10 Apr 1992 14:53:06 GMT
Organization: Brown University Planetary Geology
Distribution: na
NNTP-Posting-Host: pilsner.geo.brown.edu


   Well, I've installed Windows 3.1.  Everything looked OK-- I had
none of the problems others seem to have had with startup, mouse
cursors, display, etc.  However, my big test was to see if my own
application-under-development ran.  So, I started up QuickC/Win,
and started my application.  It looked good, until it tried to put
up my OpenFile... dialog box, at which point it UAE'd (an old-style
UAE, i.e. without the extra info that 3.1 is supposed to provide).
On a whim, I tried running the same application outside the QuickC
environment, and it worked!  I was able to get to my dialog box,
open files, display graphics, etc., from within my program.  Also,
while trying to trace down exactly where the problem is, I reliably
hang the machine while tracing the dialog-handling function.  After
doing the Windows-intercepted ctrl-alt-del, the culprit is pegged
as being WINDBG.  One final note on this problem is that other
dialogs (e.g. the ubiquitous About... entry) in my program work
fine.
   I tried doing most of the suggested things like rebooting with
"vanilla" autoexec and config files, but the symptoms remain the same.
My last attempt, to be made this weekend, will be to totally remove
Win3.1, restore 3.0, and do a custom reinstall to a different directory.
  The only other anomaly I've noticed so far is that when I run with
the new 3.1-specific Tseng ET4000  256-color drivers, I get a UAE
from GDI.EXE upon exiting my application.  This doesn't show up when
I install the MS-supplied SVGA 16-color driver, so I suspect that
problem is display-driver specific.
   Meanwhile, if anybody else had has seen and solved problems like
this already, or even just wants to commiserate, I'd like to hear about
it.
--
Joel Plutchak, Research Programmer/Analyst
plutchak@porter.geo.brown.edu -or- PGGIPL::PLUTCHAK (VMS: Just say NO!)
Favorite sci.geo.meteorology quote: "Joel dissipated over China on 7 September."
Newsgroups: comp.windows.ms.programmer
From: gregde@microsoft.com (Greg Demichillie)
Subject: Re: delete operator
Date: 14 Apr 92 15:45:13 GMT
Organization: Microsoft Corp.

In article <1992Apr6.004508.8350@cs.mcgill.ca> storm@cs.mcgill.ca (Marc WANDSCHNEIDER) writes:
>
>
>	Does the C++ Delete operator often cause the system to hang in
>Windows 3.x programming...?  [This might be a faq, so if it is, could
>somebody point me to such a faq...]
>
>	I've been trying to make sure that I clean up after myself in
>this program I'm writing, but for some reason, when I delete one object
>(and not another of the same type), the system just hangs, and the app
>freezes up forcing a soft reboot...
>
>	Should I be using a windows memory allocation function...?
>

There is nothing magical about the delete operator regarding memory 
deallocation.  It is a user-definable function.  Many C++ implementations
just map operator new and delete to malloc and free.  You need to check
what your particular development systems does.

One problem you may be having is that you might be deleting a C++ object
that represents a Windows object (i.e., brush, pen, window etc...) and
you may end up deleting a Windows object that is currently selected into
a DC.  

Hope this helps.

-Greg
 
-- 
Greg DeMichillie
Software Design Engineer - Application Frameworks (AFX)
gregde@microsoft.com
From: mikka@sssab.se (Mikael Karlsson)
Newsgroups: comp.windows.ms.programmer
Subject: EM_SETWORDBREAKPROC
Date: 10 Apr 92 16:27:29 GMT
Reply-To: mikka@sssab.se
Organization: Scandinavian System Support AB
Posting-Front-End: Winix Conference v 92.04.07  1.20 (running under MS-Windows)

Help!

I desperately need someone to tell me how to implement a WordBreakProc for 
use with EM_SETWORDBREAKPROC. An example would be greatly appreciated.

Thanks,

/Mikael
From: oliverk@cabezon.uucp (Oliver Kozber)
Newsgroups: comp.windows.ms.programmer
Subject: BORLAND Products don't work under Win 3.1 in High-Res Graphics Mode
Date: 10 Apr 92 18:00:43 GMT
Article-I.D.: cabezon.1992Apr10.180043.11558
Distribution: usa
Organization: Logic Automation Inc of Beaverton Oregon

I just received Windows 3.1 and installed the 
'8514/a' graphics driver shown in the install
selection. This works great with my ULTRA 
graphics card and all my applications except for
BORLANDs. All the popup windows are scaled 
wrong, the edit fields and list boxes overlap
and break out of the popup window. I think 
the BWCC.DLL does not work with this driver.
I haven't found any other product that causes
any problems except BORLANDs. This is a driver
that is supplied with all copies of 3.1, you'd
think that it should work?



Oliver Kozber
Logic Automation Inc.
=======================================================
From: aruggeri@phoenix.Princeton.EDU (Anthony R. Ruggeri)
Newsgroups: comp.windows.ms.programmer
Subject: .WAV file format
Date: 7 Apr 92 03:00:18 GMT
Distribution: usa
Organization: Princeton University
Originator: news@ernie.Princeton.EDU

I just upgraded to Windows 3.1, which finally has built-in support for
my SoundBlaster card, but the Sound Recorder and Media player do not
load anything except Windows .WAV files... making my .VOC library
useless.  Does anyone know the .WAV file format so I can do manual
conversions from different formats?  All I need to do is put a .WAV
header on raw samples.
Newsgroups: comp.windows.ms.programmer
Subject: <None>
From: collis_m@qis.dofasco.ca (Mark Collis)
Date: 2 Apr 92 13:02:43 GMT
Organization: Dofasco Inc, Hamilton, Ont. Can.
Nntp-Posting-User: collis_m


  You mention about the copy left and other ways of protecting intelectual
property.  Also mentioned in previous posts was a case of someone takeing
code previously released to public domain and doing a port and charging
a fee for.  This was my only quibble.  I didn't want any one making money
on code that I laboured over without compensating me.
 
  As for releasing the source, I've have made it a point to freely 
distribute the source to anyone who has asked for it.

  After reviewing the line of discusion, I do believe that I'm starting to
sound like a tight fisted miser with my code and money.  This is not the 
case.  Anything that I release with my name on it reflects my abilities.
I have run into cases where source has been modified and released in
order to make people and various software packages look bad.

  Lastly, I personally believe that if you are releasing something as 
shareware, that it would be best sent out as PD ware.  If you are serious
about making money on the software, you have to give the users a reason
to register.  The method you use is up to you (crippleware, demoware etc.)
but if you give out the whole thing, your return will be very small.
 
  Mark

----------------------------------------------------------------------------
 M. G. Collis            |  Dofasco Inc.       | "The Answer is 42."
 collis_m@qis.dofasco.ca |  Hamilton, Ontario  | "Ok, what's the question?"
 #include <stddiscl.h>   |  Canada             | - Douglas Adams (sort of)
----------------------------------------------------------------------------
Newsgroups: comp.windows.ms.programmer
From: ebergman@isis.cs.du.edu (Eric Bergman-Terrell)
Subject: Re: BCC TDW Doesn't Work Under Win 3.1
X-Disclaimer: Nyx is a public access Unix system run by the University
	of Denver for the Denver community.  The University has neither
	control over nor responsibility for the opinions of users.
Organization: Nyx, Public Access Unix at U. of Denver Math/CS dept.
Date: Wed, 8 Apr 92 02:18:09 GMT

In article <1992Apr7.071437.23790@usenet.ins.cwru.edu> aa596@cleveland.Freenet.Edu (Peter Haller) writes:
>
>In a previous article, ebergman@isis.cs.du.edu (Eric Bergman-Terrell) says:
>
>[stuff about TDW and 3.1 deleted]
>>
>>The bug I was trying to fix:  my program doesn't want to scale TrueType
>>fonts.  Do TrueType fonts identify themselves as scalable any differently
>>than Windows 3.0 fonts did?  If so, how can one recognize a TrueType font?
>>
>For a good explination of handling TrueType fonts, get you hands on
>MS Journal Vol 6 No 5. Petzold presents a good discussion of how
>to deal with TT.
>
Right after sending out my posting I looked at the article.  It told me
exactly what I needed to know - the program now handles TrueType fonts
perfectly!

>
>-- 
>Peter C. Haller				|	'If you do what you 
>Imagination Processing Systems		|	have always done,
>aa596@cleveland.Freenet.Edu 		|	expect what you have
>"Are we having fun yet?"		|	always recieved.'
Organization: Central Michigan University
Date: Tuesday, 14 Apr 1992 16:58:10 EDT
From: Brent Langdon <32JJCB3@CMUVM.CSV.CMICH.EDU>
Newsgroups: comp.windows.ms.programmer
Subject: Re: Wierdness and Bugs in Borland Products

     In his posting, Clayton says that his borland-style buttons don't work.
I don't know where your problem lies.  I use Windows 3.1 and I have no
problem using the BWCC dialogs.

     In another note:  Has anybody noticed that in Borland Turbo 3.0 for
Windows, if the main window is not maximized and you have a text window
that is bigger than the main window but also not maximized, when you
use the cursor to scroll down the last text line on the screen is repeatedly
scrolled up.  Once you let the key up, the window is repainted as it should
be.  Not that big of a deal but sometimes little bugs such as that make one
wonder just exactly how reliable the entire product is.

                                   Brent Langdon
                                   Central Michigan University
Newsgroups: comp.windows.ms.programmer
From: hamann@bullet.ecf.toronto.edu (HAMANN  Gilbert Ewald)
Subject: Re: Codeview with 8514/a
Organization: University of Toronto, Engineering Computing Facility
Date: Tue, 7 Apr 1992 01:04:14 GMT

In article <1992Apr4.222430.2181@twisto.eng.hou.compaq.com> gregj@kong.eng.hou.compaq.com (Greg Judkins) writes:
>Are you running the 8514/a display driver?  This only works if Windows is
>in a non-VGA mode.  By the way this works with most video boards that have
>their own video memory.
>

Thanks Greg.
We forgot to do the obvious, run Windows in the 8514/a mode.
It works great now...such freedom!

It also seems to work with on-board XGA and the 8514/a card.  The 
PS/2 complains with 3 loud beeps on startup, but everything seems
to work.

Gil

Newsgroups: comp.windows.ms.programmer
From: mccreary@sword.eng.hou.compaq.com (Ed McCreary)
Subject: Re: Helps on help
Organization: Compaq Computer Corp.
Date: Mon, 6 Apr 1992 14:11:55 GMT

In article <1992Apr3.203916.25209@cunews.carleton.ca> ebx@scs.carleton.ca writes:
>Sorry if this is an FAQ. My story is:
>
>Working on MS QuickC Windows, 386 enhanced mode.
>
>Since my project is getting bigger and bigger, I need to develop a fairly
>good help facility. What in my mind is something looks and behaves like
>the help system in QuickC itself, or a Microsoft like help, with a few buttons
>such as "contents", "search", "<<", ">>" plus bitmap buttons like "index",
>"trace back"(with a couple of foot prints on it) etc.
>

Why don't you just compose and .hlp file and use Windows' help system?
It may take some time and effort to write, but the result is worth it.
(QuickC does support WinHelp, doesn't it?)

If you are doing a small help system, 30 cards or less, I found
Xantippe to be real quick and easy.  It's a shareware package 
available on cica or wuarchive.


--
McCreary@sword.eng.hou.compaq.com     Computers are like Old Testament gods;
Me? Speak for Compaq?  Yeah, right.   lots of rules and no mercy.
                                                             Joseph Campbell
Newsgroups: comp.windows.ms.programmer
From: jinli@dgp.toronto.edu (Jin Tonic Li)
Subject: Function export problem when porting MSC code to BC 2.0
Organization: Department of Computer Science, University of Toronto
Distribution: na
Date: 10 Apr 92 22:35:45 GMT


I am porting a windows app written with MSC 6.0 and SDK 3.0 to BC++ 2.0
The C source codes compiled fine with minor changes to associate function
prototypes with each individual module vs putting all of them in one 
.h file and include it in all module files.

However, the linker gives warning about exporting dialog functions:

	Attempt to export non-public symbol XXXXX

where XXXXX is the name of the dialog function.  The dialogs are called
through MakeProcInstance(XXXXX, hInst) which are all listed under
EXPORTS in .def file.

I have tried the options All windows functions exportable and Explicit
export for BC++ 2.0  The linker still gives the same warning.

When I run the application in windows 3.0, some dialogs would come up
but don't function the way they are supposed to; other dialogs would
cause UAEs/system reboot.  This behaviour would indicate that the dialogs
are not properly exported and associated with the instance's data segment.

How would I export them properly under BC++ 2.0?

Thank you,


--
Jin Li                               (416) 978-6619  //  Gin & Tonic mix well
Dynamic Graphics Project, Dept. of Computer Science  \\
University of Toronto, Ontario, Canada   M5S 1A1     //
jinli@dgp.utoronto.ca          uunet!utai!dgp!jinli  \\    No bugs, no bucks
From: Jeff Dean <jeff@igc.org>
Newsgroups: comp.windows.ms.programmer
Date: 11 Apr 92 12:29 PDT
Subject: Re: BORLAND Products don't work under W
Nf-ID: #R:1992Apr10.180043.11558@cabezon.u:953266819:cdp:1534700021:000:269
Nf-From: cdp.UUCP!jeff    Apr 11 12:29:00 1992


I'm using the 3.1 8514/a graphics driver with the ATI Graphics
Ultra and I don't have any problems with the Borland Windows
applications.  (tdw and tprof, on the other hand, require special
drivers which are now available on the Borland BBS).

	Jeff Dean
	jeff@igc.org
From: rexw@hardy.u.washington.edu (Rex Warren)
Newsgroups: comp.windows.ms.programmer
Subject: How to put text in dialog control?
Date: 7 Apr 92 15:27:23 GMT
Article-I.D.: u.1992Apr7.152723.1059
Reply-To: rexw@hardy.u.washington.edu
Distribution: usa
Organization: University of Washington, Seattle


Sorry if this is in the FAQ but I only saw the diffs and that didn't help
to much.  Subject line says it.  I'm using BC 2.0 and trying to put text
in a combo box in a dialog.  I try SetDlgItemText during the initialization
of the dialog and nothing shows up.  What kind of string should I use? 

Thanks in advance.  Post here or e-mail
Rex Warren
rexw@hardy.u.washington.edu
Date: Sun,  5 Apr 92 00:42:58 +0200
From: Martin_Schloeter@eurologic.fido.de (Martin Schloeter)
Subject: Re: CreateWindow failing
Newsgroups: comp.windows.ms.programmer
X-Comment-To: Thomas@f1.n6000.z2.fidonet.org (Thomas)
Organization: martin_schloeter@eurologic.fido.de 

t > Does anyone know the reasons under which CreateWindow can fail?
t > How can you find out why CreateWindow failed (indicated by
t > returning 0)?  In an application I am writing, after creating 29 (exactly
t > 29, and 29 every time) Edit controls, the next call to CreateWindow to
t > create an Edit control return 0.
The EditControls are using memory of the local heap for their edit buffers. May 
be, that your amount of local heap is fully used with EditControl #29.
But this is only a guess! Try to verify it! Allocate some memory on the local 
heap (simply a big global variable - it's the same data segment) and look, if 
the possible number of EditControls changes.
If this is the reason, you should allocate the edit buffers in the global heap. 
The way to do this was printed in Microsoft System Journal and also discussed 
in this area.
Greetings
Martin Schloeter
From: guthrie@iuvax.cs.indiana.edu (Stephen Guthrie)
Newsgroups: comp.windows.ms.programmer
Subject: SDK 3.1
Keywords: SDK
Date: 13 Apr 92 15:01:13 GMT
Article-I.D.: news.1992Apr13.100123.6976
Organization: Computer Science, Indiana University


   Has anyone paid the $150 for the SDK 3.1 manuals?  
   Was is worth it?  Necessary? 	

   Also, does anyone know if it is necessary to buy the MME SDK to
   program multimedia apps in Windows 3.1, or does the SDK and C 7.0
   combo have the necessary files?  

   If the MME SDK is necessary, is it compatible with Windows 3.1, or
   there an upgrade for it also?	

   Thanks,	
   Steve
Newsgroups: comp.windows.ms.programmer
From: pap@halley.Berkeley.EDU (Pierre Perret)
Subject: Re: Using two computers for debugging ?
Reply-To: pap@myths.az05.bull.com (Pierre Perret)
Organization: Bull HN Information Systems Inc., Phoenix Product Division
Date: Mon, 13 Apr 92 22:06:18 GMT

Replying to a request by mullens@jamsun.ic.ornl.gov (James A. Mullens),
I have uploaded the files SETBUS.ZIP and SETBUS.TXT to wuarchive (IP:
128.252.135.4) in the pub/MSDOS_UPLOADS directory. This utility allows
you to force 8 or 16 bit mode bus access on an SVGA card, even when
there is an MDA on the same bus.

It works fine on my ET4000-based card (Orchid ProDesigner II). I can't
remember for sure, but I think I found this in the STB section of the
GRAPHVEND (or some such) forum on Compu$erve.

- Pierre Perret -    Phone: (602) 862-5448   FAX: (602) 862-6105
                  Internet: pap@myths.az05.bull.com
                Compu$erve: 73757,2337     BIX: pierre_perret
From: at887@cleveland.Freenet.Edu (Scott Butler)
Newsgroups: comp.windows.ms.programmer
Subject: UAE when exiting a VB app - why?
Date: 11 Apr 92 19:17:21 GMT
Article-I.D.: usenet.1992Apr11.191721.11609
Reply-To: at887@cleveland.Freenet.Edu (Scott Butler)
Organization: Case Western Reserve University, Cleveland, Ohio, (USA)


I'm having a problem with ending a VB app.....I am writing an application
and related DLLs to access a real-time database running on a VMEBus system
via UDP and TCP/IP.  Everything seems to be working fine, but when I exit
my app (using the "END" statement) I get a UAE.  Running this app under
Windows 3.1 reveals the the UAE is comming from VBRUN100.DLL.  I've noticed
when I use the "Close" menu item from the apps system menu I don't have a
problem....my question is two-fold:  (1) what could be causing the UAE,
(2) what can I do to simulate the closing of the window via the system
menu?  I've tried using PostQuitMessage and DestroyWindow API calls, but
these do not work.  I don't believe the problem lies in the DLLs (they work
without problems when called from a C program).  Can anyone help me out?
 
Thanx,
Scott
(313) 758-8724

-- 
Scott Butler
------------
100% disclaimer-free!
Newsgroups: comp.windows.ms.programmer,comp.lang.c++