HDTenEightyP/NetNews huggingface dataset:
From: ejs@borland.com (Eric Swenson)
Subject: Re: BCC TDW Doesn't Work Under Win 3.1
Organization: Borland International
Date: Thu, 9 Apr 1992 22:05:06 GMT

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.

I don't know the details, but if I were you, I'd call Borland Tech Support
and ask them.  We have a solution in place for TDW/Windows 3.1, but I just
don't know what it is.  I'm sure they do.  You're not the only one who has
"discovered" that TDW and Win31 don't mix.  The updated DLL does fix the
problem, you just have to get it.  I think we're making it available for
free now.  -- Eric
Newsgroups: comp.windows.ms.programmer
From: lenz@bl.physik.tu-muenchen.de (Udo Lenz)
Subject: Re: Displaying BMP files
Keywords: bitmaps, BMP
Organization: Technische Universitaet Muenchen, Germany
Date: Wed, 15 Apr 1992 13:22:38 GMT

manz@ee.ualberta.ca (Brett {Druid Queen} Manz) writes:

>Forgive me if this sounds like a stupid question, but...
>what do I have to do to display .BMP files?  More specifically,
>how do I create a bitmap from a .BMP file?  I've just recently
>started tinkering with Windows programming using BC++2.0 (no
>I don't have any docs for it!)  I know how to display bitmaps
>that are included as resources, but have so far been unable to
>do so from .BMP files (they always come out mangled.)  If anyone
>could give me some info (by e-mail or post) I would greatly
>appreciate it.

>---------------------------------+-------------------------------------
> My opinions are my own.         |  You can't be proud of who you are
> The truth belongs to everyone.  |  if you're ashamed of what you are.
> Civil Rights Are For Queers!    |  Cruise Men, Not Missiles! - anon

In the SDK 3.0 and I believe also in the SDK 3.1 there is a
sample application called showdib, supplied in source code
which does exactly that and some extras.

Udo Lenz lenz@bl.physik.tu-muenchen.de

Newsgroups: comp.windows.ms.programmer
From: rpj@borland.com (Rich Johns)
Subject: bg color for window instances
Organization: Borland International
Distribution: comp.windows.ms.programmer
Date: Thu, 9 Apr 1992 16:27:59 GMT

A while back I had asked how to paint the background color of individual
instances of a window class. I've got a solution. Since a number of people 
sent me mail asking me to post results, here goes.

There are probably multiple ways to skin this cat but here is the
solution that works for me. Thanks to Niels Erik Holm, who gave it to me.

some where you initialize hBgBrush:

HBRUSH hBgBrush = CreateSolidBrush( RGB( 0, 0, 255 ) );  // ie., blue brush

then in your window proc:

case WM_ERASEBKGND:
   {
   RECT clipRect;
   GetClipBox( (HDC)wParam, &clipRect );
   FillRect( (HDC)wParam, &clipRect, hBgBrush );
   return ( (LONG)TRUE );
   }
   break;
From: aruggeri@phoenix.Princeton.EDU (Anthony R. Ruggeri)
Newsgroups: comp.windows.ms.programmer
Subject: MDK WaveEdit
Date: 15 Apr 92 16:23:37 GMT
Distribution: usa
Organization: Princeton University
Originator: news@ernie.Princeton.EDU

The MDK (Multimedia Development Kit) for WIndows includes a program
called WaveEdit for recording and modifying .WAV files.  However,
the SOund Recorder included with Windows 3.1 is not nearly as
powerful.  Does anyone know where I can get WaveEdit without the
entire MDK package?
-- 
---------------------------------------------------------
Anthony R. Ruggeri         aruggeri@phoenix.princeton.edu
   Princeton University, Princeton, New Jersey
 "May you live in interesting times." -Chinese curse
From: aa596@cleveland.Freenet.Edu (Peter Haller)
Newsgroups: comp.windows.ms.programmer
Subject: Re: .WAV file format
Date: 7 Apr 92 07:17:37 GMT
Article-I.D.: usenet.1992Apr7.071737.24704
Reply-To: aa596@cleveland.Freenet.Edu (Peter Haller)
Organization: Case Western Reserve University, Cleveland, OH (USA)


In a previous article, aruggeri@phoenix.Princeton.EDU (Anthony R. Ruggeri) says:

>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. 
>
A text file is available on the MS Multimedia BBS and also at ftp.uu.net
in vendor/microsoft/multimedia. The files are tmtxt.ztx - or something
like this. Also they are covered in the MutliMedia Programmer's Reference.

PCH
-- 
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.'
Newsgroups: comp.windows.ms.programmer
From: ctumey@csd4.csd.uwm.edu (Carol T Tumey)
Subject: Font file formats
Originator: ctumey@csd4.csd.uwm.edu
Organization: Computing Services Division, University of Wisconsin - Milwaukee
Date: Fri, 17 Apr 1992 17:21:12 GMT


I currently find myself needing to convert bitmap fonts generated by
the Macintosh FontGen program into a Windows compatible format.  Hence
I am looking for any of all of the following:

   -- a utility that will convert the FontGen font into a Windows font
   -- the file format for the FontGen listing (it appears as an assembler
      file)
   -- the file format for the Windows font format. 

If anyone has the above or pointers to finding the information, it 
would greatly be appreciated.

Thanks,
Carol Tumey
ctumey@csd4.csd.uwm.edu
From: arra@a.cs.okstate.edu (ARRA SHRAVAN KUMAR)
Newsgroups: comp.windows.ms.programmer
Subject: Saving graphics into a file.
Date: 8 Apr 92 03:05:49 GMT
Article-I.D.: a.1992Apr8.030549.1944
Distribution: usa
Organization: Oklahoma State University, Computer Science, Stillwater

Dear Netters,

	How do you save into a file some bitmaps? That is , if the user
draws a series of graphical objects on the screen, how to save this work
and retrieve when needed?
Please help me. Thanks a lot in advance.

Shravan
arra@a.cs.okstate.edu
Newsgroups: comp.windows.ms.programmer
From: stephen@ibmpa.awdpa.ibm.com
Subject: Re: MS WAVE file format
Keywords: multimedia, WAVE, MS Windows
Organization: IBM PS Programming, Palo Alto
Date: Thu, 9 Apr 92 16:43:58 GMT

In article <1992Apr8.185930.12694@berlioz.nsc.com> you write:
>The book says (on Pg. 8-40)
><WAVE-form>  ->  RIFF(  'WAVE'			//Form type
>			<fmt-ck>		// Waveform format
>			<data-ck> )		// Waveform data
>
><fmt-ck>  -> 	fmt(	<wave-format>		// WaveFormat Structure
>			<format-specific>	// Dependent on format category
>
><wave-format> -> struct {WORD formatTag;		// Format Category
>			 WORD nChannels;		// No. channels
>			 DWORD nSamplesPerSec;   // Sampling Rate
>			 DWORD nAvgBytesPerSec;  // For buffering
>			 WORD  nBlockAlign;}	// Block alignments
>
><PCM-format-specific> ->  struct {WORD   nBitsPerSample;}  //Sample Size
>
><data-ck> -> data( <wave-data> )

>As you can see, I found where the text is that says RIFF, WAVE, fmt, etc...
>But I am a bit confused because I can't find the parantheses, etc...

<smirk>  Okay.  In the RIFF specification documents, they say that the
notation  XXXX( <term> ...) means the following occurs in memory:

	XXXX   = 4 characters
        <size> = 4 byte length of chunk in bytes
        <term> = whatever data should follow

>I would really appreciate it if anyone could explain this differences to me
>or send me any current and more detailed information on the WAVE file format.  
>Since I rarely, if ever, read news, please send email to me personally...

>ding
>52 49 46 46 			RIFF      <- Right
>46 2D 0 0                                <- Length of rest of file
>57 41 56 45 			WAVE      <- Right
>66 6D 74 			fmt       <- Close it's  "fmt "(note the space)
>20 10 0 0 0 1 0 1 0 22 56 0              <- fmt chunk size (4 bytes)
>0 22 56 0 0 1 0 8 0                         fmt type (2 bytes)
					     num channels (2 bytes)
					     samples_per_sec (4 bytes)
					     ave_bytes_per_sec (4 bytes)
					     block_size (2 bytes)
					     bits_per_sample (2 bytes)
>64 61 74 61 			data      <- Right
>22 2D 0 0                                <- Length of this chunk
>80 80 80 80 80 80 80 80 80....           <- The Data

Hope that clears things up some.  If you are really curious, I wrote a program
from the specification to parse WAVE files and convert them to SND files.

Also, be aware that even though people usually format the file the way you have
it above that the RIFF spec does not state that the <fmt> chunk must precede
the <data> chunk.  Oddly enough, they can be reversed!  The size information
is provided so that people reading the file can know how much memory to
allocate to read in the chunk, and for people who are scanning the file to
skip past a chunk they are not interested in.  It is legal to put bitmaps
(and other stuff) in a RIFF Wave file!

Good luck,

Stephen.
From: vandenhu5655@iscsvax.uni.edu
Newsgroups: comp.windows.ms.programmer
Subject: More help with Visual Basic
Date: 8 Apr 92 13:32:43 -0500
Organization: University of Northern Iowa

I need a way to convert a scaled value in Visual Basic to a 
pixel value.

Explanation:

I have the scale set to (280,210) for my form. I am using BITBLT to
display bitmaps on the background of the form, but BITBLT uses a pixel
value in its call for the X & Y locations.  How do I go from a 
Scale value to a pixel value?


Next question:

Is there any way to find the value of a Variable while Visual Basic is running?
I would like to write a routine that expands on the VAL function.
Example:  Print Val("3+5") always results in a 3.  I'd like to change it so
the result is an 8.  Example 2: Print Val("3X") would print 3, but I want it
to display 3*X (whatever the value of X is).  Is there a VB internal routine
that would tell me the value of any variable that I pass to it?

Any help would be muchly appreciated...

- Todd
Newsgroups: comp.windows.ms.programmer
Subject: TPW MDI Bug
From: rocker@desire.wright.edu
Date: 14 Apr 92 21:22:38 EST
Organization: Wright State University 

	I think I've found a fairly big buug in TPW.  It first appeared in my
program, butt then I ran te MFILE.PAS, and lo and behold, there it waas.

	The problem comes when you are working with MDIs.  If you open a
childwindow after EXECCDIALOGing a dialog the new childwindows, after the
first, will have the same caption as the dialog!! WHY???  The list of windows
in the menu will have the correct first and last caption, but the ones in
betwen have the dialog's caption.  
	I believe this also haappens sometimes in TPW itself.

	Does this make sense?  I really need this to work right.  My program
will be used by people afriad of computers, so wrong captions are intolable.

Any help?  Any fixes?

rock hard
Organization: North Dakota Higher Education Computer Network
Date: Wednesday, 8 Apr 1992 10:20:58 CDT
From: <NIBMSCM@NDSUVM1.BITNET>
Newsgroups: comp.windows.ms.programmer
Subject: Dialog Data Entry

Defining a dialog box that will be used for data entry, and would like the
user to have the ability to use the ENTER key to move between edit control
fields.  So, I defined by OK button without the IDOK constant, and defined
a constant ENTER_KEY to catch the WM_COMMAND messages with wParam = 1.

Under this case statement I'm doing:


     case ENTER_KEY:
          SendDlgItemMessage(... EN_KILLFOCUS ...);
          SendDlgItemMessage(... EN_SETFOCUS  ...);
          break;
  This is the same sequence of EN_xxx messages received the the dialog
procedure when moving from field-to-field using the Tab key, and yet
I don't get these messages back and they just plain don't work.

  Anyone out there have a hint or pointer (C pun) in the right direction?
 ___________
|           |   Regards,
| ND  ----> *      Steve Malme    -->steve@fbsdata.com<--
|____________|      FBS Data Systems  nibmscm@ndsuvm1.bitnet
Nike - "Just do it"
Newsgroups: comp.windows.ms.programmer
From: bai@msiadmin.cit.cornell.edu (Dov Bai-MSI Visitor)
Subject: Re: MetaWare High C / PharLap / DJGPP / GO32 / DESQview / MS WIN
Organization: /usr/local/lib/news/organization
Date: Sun, 12 Apr 1992 13:55:40 GMT

In article <kug7s7INNmao@neuro.usc.edu> merlin@neuro.usc.edu (merlin) writes:
>I have several questions about the best approach to developing 32 bit image
>processing applications to the MSDOS environment.  Perhaps some people in
>this newsgroup could provide some advice which would help our efforts.
>
>I have come into the possession of the 32 bit compiler MetaWare High C 1.7
>(with debugger) and the 32 bit dos extender PharLap 386|ASM/LINK 2.2b --
>do these packages operate well under DESQview?  The documentation says the
>MetaWare and PharLap products conform to the VCPI standard.  Of course, I
>am interested in using these two products in part because their list price
>suggests they must be more or less valuable.  MetaWare lists for $1995 and
>PharLap lists for $495.
>

>Does anyone have any experience with compatibility of MetaWare, PharLap,
>DJGPP, or GO32 with MS Windows 3.0/3.1?  I have been writing 16 bit code
>using MS C 6.0 and the Windows 3.0 SDK -- but I'd like to get away from
>64K segments and work with a flat memory model.  This would facilitate
>porting a large number of free image processing and utility codes from
>the unix environment to the DOS environment.
>

I think you would do much better and much cheaper if you switch to the 
new (2.0) version of OS/2, which is a 32-bit operating system. There is already 
a free port  of 32-bit GCC, and several compiler vendors are either 
already released or going to release soon 32-bit flat memory model 
c & c++ compilers.

Read the comp.os.os2.misc newsgroup for more details.
>
>Thanks, AJ Annala
>
>Principal Investigator
>Neuroscience Image Analysis Network
>HEDCO Neuroscience Building, Fifth Floor
>University of Southern California
>Los Angeles, CA  90089-2520
>
Dov Bai
From: nar@math.wayne.edu (Mark Narduzzi)
Newsgroups: comp.windows.ms.programmer
Subject: Dos drivers under Windows
Date: 15 Apr 92 06:33:38 GMT
Distribution: usa
Organization: Wayne State University Math Department, Detroit

I hope this is the right group for this question.

Is it possible for a DOS device driver, loaded in a DOS box,
to communicate with a Windows app (with Windows running in enhanced mode)?

The company we're consulting for insists on maintaining a single DOS
device driver to simplify support for their projects, so writing a
Windows driver is not an alternative at this time.

Please post or e-mail.
Microsoft? anyone?

Mark N.
nar@mathsun.math.wayne.edu
Newsgroups: comp.windows.ms.programmer
From: ejs@borland.com (Eric Swenson)
Subject: Re: Win 3.1, Bor 3.0, display (HELP)
Organization: Borland International
Date: Thu, 9 Apr 1992 22:27:30 GMT

In article <69954@ut-emx.uucp> jamshid@ut-emx.uucp (Jamshid Afshar) writes:
>In article <31390003@col.hp.com> denisl@col.hp.com (Denis Lambert) writes:
>>Ihave had similar problems with TDW and Windows 3.1.  [...]
>>I could read the TDW display now, but whenever I tried to load
>>a program I got the error message "Cannot load WINDEBUG.DLL."  Apparently
>>there are more serious incompatabilities than the video.  
>
>Last time I was on the phone with tech. support I asked if there were
>any problems with B/TC++ and Win3.1.  They said the debugger doesn't
>work.  Some file was changed or something, I didn't get the details.
>I was told that is the only problem they know of with 3.1 (but make
>sure you already have the TCW/WINSIGHT patch announced a month ago).
>
>>My solution:  Load Windows 3.0 back on my system and start it up whenever
>>I need to debug something.  Not very elegant, but I can put up with it
>>for the short term.
>
>I don't think there is any other solution.  The tech. support person
>said they would release a patch for TDW "as soon as reasonably
>possible", so you probably won't have to put up with it for much
>longer.  If anyone (esp. an X@borland.com) knows more, please post.

There is a replacement WINDEBUG.DLL available that allows TDW to run
with Windows 3.1.  You can get it from:

	Compuserve
	Genie
	Bix
	Borland BBS (408-439-9096)
	
There is a document available describing the problems and solutions.
You can get it from the above places (document number 868) as well
as through

	calling tech support
	calling our techfax number (800-822-4269) 
		request document 868

On the online systems, the file is called ti868.zip.

I'm sure it is available for FTP from somewhere, I just don't know
where.  I'm calling around to find out where it is, and I'm sure
someone will post something here describing the location.

-- Eric Swenson (Borland R&D)


Newsgroups: comp.windows.ms.programmer
From: storm@cs.mcgill.ca (Marc WANDSCHNEIDER)
Subject: delete operator
Organization: SOCS, McGill University, Montreal, Canada
Date: Mon, 6 Apr 1992 00:45:08 GMT



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

	Thanks!

-- 
  storm@cs.mcgill.ca           McGill University         C program run.  Run  
  Marc Wandschneider           Montreal, CANADA          Program run! PLEASE!
Ever wonder how Worf got to be Security Officer on the Enterprise when the 
Capt gets kidnapped from the bridge every two episodes and Troy Beats him up?
From: marwk@levels.unisa.edu.au
Newsgroups: comp.windows.ms.programmer
Subject: \OWL\EXAMPLES\GDIDEMO option 'FONTS' crashes: why?
Date: 11 Apr 92 12:21:48 GMT
Organization: University of South Australia

With BC ++ 3.0 with AF there is an example in OWL\EXAMPLES\GDIDEMO
which has 4 Demos as options.

The FONT demo causes an "UNRECOVERABLE APPLICATION ERROR" when selected.

Please tell me why.

Thank you.

Raymond

--
University of South Australia   | Act in haste and repent at leasure
P.O. Box 1                      | Code too soon and debug forever
Ingle Farm                      | Knobs, knobs everywhere,
South Australia                 |              just vary a knob to think!
From: ddoherty@ics.uci.edu (Donald Doherty)
Newsgroups: comp.windows.ms.programmer
Subject: Re: MS C/C++ v7 - need info
Date: 12 Apr 92 20:09:26 GMT
Reply-To: ddoherty@ics.uci.edu (Donald Doherty)
Organization: Univ. of Calif., Irvine, Info. & Computer Sci. Dept.

In article <1992Apr11.011000.13378@sporty.col.oh.us> jeff@sporty.col.oh.us (Jeff Anderson) writes:
>In article <10125@goanna.cs.rmit.oz.au> gtj@goanna.cs.rmit.oz.au (Glenn T Jayaputera) writes:
>>Hi..
>>  I am thinking to buy MS C/C++ v7.  I would like to program in C++ and for
>>  windows apps.  I am wondering if MS C/C++ v7 contains EVERYTHING that one
>>  needs to build a windows program.
>>  Do I need to buy SDK again??
>>  What is the latest version of SDK?? v4 or v3.1?
>
>MS C/C++ v7 do not have ALL that is required to write windows apps.  They
>have some of the library files but no other items.  The SDk (currently
>v3.1 is in Beta testing) has all the debuggers, resource compilers,
>header files, etc.  In short, you need the SDK and the compiler.
>

WRONG!  MS C/C++ v7 includes all of the above and the SDK is not in beta
anymore.

Don
From: raek@athena.mit.edu (Robyn A E Kozierok)
Newsgroups: comp.windows.ms.programmer
Subject: Re: Microsoft C/C++ 7.0 questions
Date: 14 Apr 92 02:18:08 GMT
Article-I.D.: athena.1992Apr14.021808.17931
Organization: Massachusetts Institute of Technology

In article <15a068a9@p1.f36.n245.z2.fidonet.org> Thomas_Hornschuh@softstream.fido.de (Thomas Hornschuh) writes:
>DE>   Maybe you, or someone else in the know, can answer this question then.
>DE> Will
>DE> the new SDK 3.1 require the new features (such as oop, etc) present in C
>DE> 7.0?
>DE> Or can one upgrade to SDK 3.1 and still use C 6.x?
>
>You can use the 3.1 SDK with every C/C++ Compiler (Borland, MS, 
>Zortech/Symantec). It contains only the tools (like SPY, CVW, RC, etc.), the 
>import libraries, header files and documentation. The beta versions included 
>runtime libs for C6, I don't know what the final release will include. But the 
>runtime lib's for C7 are contained in the compiler package, and for C6 you can 
>use your 3.0 SDK runtime libs (because they are independend of the windows 
>version). All OOP support (Foundation classes) are part of C7.0. The SDK only 
>contains the old style C API.
>
>Thomas

What would be the recommended setup for someone just staring out?  And
when will all the required components be available to the general public,
if they are not already.

Thanks,
--Robyn
From: etxjesm@inetx2
Newsgroups: comp.windows.ms.programmer
Subject: VisualBasic / VAX SQL/Server ??
Date: 12 Apr 92 15:22:47 GMT
Nntp-Posting-User: etxjesm

Hi.
I'am tring to get a Visual-Basic program running against VAX/VMS
SQL/Services. I whonder if there is somone out there who's
done that. Any tips whould be fine.


                   Jan-Erik S|derholm
                   Ericsson Telecom AB
                   Norrk|pings fabriken
                   Box 72
                   601 02 Norrk|ping
                   Sweden
Newsgroups: comp.windows.ms.programmer
From: cjin@cat50.cs.wisc.edu (Cjin Lee)
Subject: Always-On-Top option
Organization: University of Wisconsin, Madison -- Computer Sciences Dept.
Distribution: usa
Date: Tue, 14 Apr 1992 19:15:36 GMT

Hi,
	I am trying to make one of my program windows stay on top all the
time (i.e. it should not be overlapped by another window).

	I know the Windows Help has this option of "Always on top." Does
anyone out there have any idea how to do that?

	Any help would be appreciated. Thanks.

							- cjin pheow

PS: I'm using Windows 3.1

Newsgroups: comp.windows.ms.programmer
From: jkf@Franz.COM (Sean Foderaro)
Subject: Doc for Win 3.1 features
Organization: Franz Inc., Berkeley, CA
Date: Wed, 8 Apr 1992 14:48:01 GMT

 I've got a C compiler and windows SDK for Windows 3.0 and now Windows 3.1 
comes out with lots of neat new things that I'd like to use
(e.g. TrueType, Dialog boxes, object linking).   Where do I find the 
'manual pages' (to use a unixism) for these new functions?   Do I have to 
buy a new SDK or C compiler???  I'm sure that 99% of windows purchasers don't 
care about writing windows programs and that is why the documentation isn't
provided with the software, however there *should* be an easy way to 
get it (I would hope).  

-sean
From: rob@rjck.UUCP (Robert J.C. Kyanko)
Newsgroups: comp.windows.ms.programmer
Subject: Level of DPMI support in Win3.1?  Anybody Know?
Date: Tue, 07 Apr 92 21:04:43 EDT
Organization: RJK Enterprises, Orlando, FL


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.


-----------
I am not responsible for anything I do or say -- I'm just an opinion.
             Robert J.C. Kyanko (rob@rjck.UUCP)
From: dimi@wet.UUCP (Dimitri I. Rakitin)
Newsgroups: comp.windows.ms.programmer
Subject: s
Date: 14 Apr 92 12:01:09 GMT
Organization: Wetware Diversions, San Francisco