HDTenEightyP/NetNews huggingface dataset:
From: meinecke@iex.UUCP (Jon Meinecke)
Newsgroups: comp.windows.ms.programmer
Subject: Re: Is 3.1 SDK Available???
Date: 15 Apr 92 21:06:57 GMT
Organization: IEX Corporation

Who's on first,... I don't know...

I spoke to a salesperson at the MS 1-800 sales line last night and ordered
my copy of the 3.1 SDK upgrade by fax this morning.  After reading the articles
here concerning availability of 3.1 SDK only with C7.0 I called MS again and
just spoke to another sales person.  According to my sampling of two,
the SDK upgrade is available separately.... The price I was quoted was
$150 + $10 shipping.  If you've bought the SDK recently,-- sorry I don't
know what their cut-off date is,-- only the $10 shipping cost is required.

The second saleperson knew the cost immediately, as though a lot of people
had been calling %-),-- or perhaps they only recently established the policy.

...hot off NPR MS and HP prevail over Apple in look-and-feel litigation...

Jon
Newsgroups: comp.windows.ms.programmer
From: jeff@tct.com (Jeff Witzer)
Subject: Dialog Box message loops
Date: Wed, 15 Apr 1992 13:56:15 GMT
Distribution: usa
Organization: TC Telemanagement, Clearwater, FL

Gee, the further I get into Windows programming, the quicker the roadblocks
come...

To monitor a communications port, I have been using a PeekMessage () loop
instead of a GetMessage () loop and, if no messages existed, calling a
quick function to check the port.  That worked fine while my main window
was up, however, when the user was presented with a dialog box for some
reason, the PeekMessage () loop was not in control.  I suspected this would
happen, reasoning that dialog boxes had thier own message loop, but I still
need to check the port even during dialog boxes.  How can I gain access to
the dialog box message loop?  I hope I don't have to use regular windows 
and kludge them to look and act like dialog boxes...

Thanks,
Jeff
From: beross@shelley.u.washington.edu (Ben Ross)
Newsgroups: comp.windows.ms.programmer
Subject: Loading icons from .ICO and .EXE files
Date: 8 Apr 92 22:08:02 GMT
Article-I.D.: u.1992Apr8.220802.28754
Organization: University of Washington, Seattle

Hullo all.  
Being somewhat new to windows programming, I scoured all of the literature
(including the FAQ for this group) before asking a question.  (I do hate
reading repeat questions!)  Anyway, I would like to display an icon from
either another .EXE or an .ICO file -- not one of the resources in my .EXE.
Basically, I want to do what program manager does with them.  "No problem,"
I thought.  "That should be easy, right?  Lotsa programs do it!"  Well,
several days and many manuals later, I still have no answer.  If someone
could enlighten me (either my email or posting -- whatever catches your
fancy), I would appreciate it.  I am using borland c++ 3.0 (without AF,
at least in this application), windows 3.0 in 386enh mode.

Thanks!

Ben Ross
(beross@u.washington.edu)
Newsgroups: comp.windows.ms.programmer
From: emartins@uxh.cso.uiuc.edu (Eduardo Martins)
Subject: Re: Turbo Pascal for Windows
Organization: University of Illinois at Urbana
Distribution: comp
Date: Mon, 6 Apr 1992 17:54:34 GMT

lebowitz@krypton.Mankato.MSUS.EDU (Robert J. Lebowitz) writes:

>I recently purchased a copy of TP for Windows in order to give my wife, the 
>programmer in our family the ability to develop windows applications software.
>I am fairly certain that this product has a number of limitations associated
>with it, but nonetheless, I am interested in how it compares with the 
>Microsoft SDK which is considerably more expensive.  What are the limitations
>imposed on this product that you are aware of?

TPW has absolutely NO limitations - it is a full featured Windows development
tool, and you can use it to write anything you'd write using C and theSDK. As
far as I'm concerned, the combination of ObjectWind (part of TPW) and a 
resource editor such as the WhiteWater REsource Toolkii ir Borland's Resource
Workshop (I'm not sure which one they're shipping with TPW now) beats using
C and the SDK hands down!

--
******************************************************************************
| Eduardo Martins                            | Internet:   emartins@uiuc.edu |
| Regional Economics Applications Laboratory | Bitnet:     emartins@uiucvmd  |
| University of Illinois at Urbana-Champaign | CompuServe: 73300,267         |
******************************************************************************

Newsgroups: comp.windows.ms.programmer
From: jim@.SanDiego.NCR.COM (Jim Ruehlin)
Subject: Re: BorDlgs in 3.1
Reply-To: jim@cheers.SanDiego.NCR.COM (Jim Ruehlin)
Organization: NCR Corporation, Rancho Bernardo
Date: Tue, 14 Apr 1992 18:04:23 GMT

In article <32784@darkstar.ucsc.edu> sinster@cse.ucsc.edu (Darren Senn) writes:
>In article <1992Apr10.142752.27495@wuecl.wustl.edu> wilcox@wucs1.wustl.edu (Don Wilcox) writes:
>>Am I the only one to see this problem (I posted a couple of days ago and got
>>nothing).  Under 3.1, all my BorDlgs are mis-sized.  I also noticed that the
>>one in Borland RW were wrong as well.  The strange thing is, when I edit my
>>dialogs in RW, they look okay.
>
>I'm using 3.1 as well, and I don't have problems.  It might be that your
>system font is messed up.  The system font determines the size of a
>dialog unit.  Are you using a Windows 3.1 or 3.0 display driver?

I've had problems with Borland dialogs since 3.1 beta test.  At this point
the only problem is whe I disable a radio button, check box, or static text.
The button acts like it's disabled - it accepts no input.  But the text and
button outline is NOT greyed.  The text is enlarged from 10pt to 12pt.

I use 10 pt Helv. in all my dialog boxes.  I create the boxes using Borlands
Resource Workshop.

Anyone have a similar problem?

Jim Ruehlin
Date: Sun, 12 Apr 92 12:44:06 +0200
From: Norbert_Unterberg@softstream.fido.de (Norbert Unterberg)
Subject: Windows, DMA and VDS
Newsgroups: comp.windows.ms.programmer
Organization: Softstream Development, Dortmund (Germany) 


Hi out there on the net,

I am working on a project where I must read data from a pc board using DMA 
transfers. This piece of software is supposed to run under windows 3.x. So my 
question is:

  What is the best way to do DMA transfers under windows?

I have got the "Virtual DMA Specification" (VDS) from Microsoft. But reading 
this leaves two possible methods to me:

1. Ignoring the VDS software interface and programming the DMA controller 
directly using the linear address of the DMA buffer (i.e. as returned by 
GetSelectorBase). The DMA translation service of the virtual machine or the 
VDMAD will to the translations (linear -> physical address conversion, locking 
etc.) for me.

2. Disabling the DMA translation, getting the physical address by using the 
appropriate VDS function calls, and programming the DMA controller woth these 
values.

What is the best way? Did Microsoft ever suppose a "prefered" way of doing DMA 
transfers?

Thanks in advance!

Norbert

---
SoftStream Development       Phone:    ++49-2335-6 17 86
Obermarkstr. 72              Fax:      ++49-231-48 85 98
4600 Dortmund 30             Internet: Norbert_Unterberg@softstream.fido.de
Germany                      Fidonet:  Norbert Unterberg at 2:245/36.4
From: bernat@loria.crin.fr (Philippe Bernat)
Newsgroups: comp.windows.ms.programmer
Subject: TPW: ownwer button, DC for printer
Date: 10 Apr 92 09:53:13 GMT
Organization: CRIN (CNRS) Nancy - INRIA Lorraine

Does anyone know how to (with Turbo Pascal for Windows)

   1> create ownwer buttons
   2> declare a Display Context for the printer (something like GetDC(HPrinter))
Thanks,

Philippe.Bernat@loria.fr
Xref: sparky comp.windows.ms.programmer:5314 comp.lang.c++:6642
From: wallis@sieras.enet.dec.com (Barry L. Wallis)
Newsgroups: comp.windows.ms.programmer,comp.lang.c++
Subject: Re: BCC TDW Doesn't Work Under Win 3.1
Date: 10 Apr 92 00:56:19 GMT
Followup-To: comp.windows.ms.programmer
Organization: Digital Equipment Corporation


Thanks for the quick update Sidney and Eric. 

Will Borland be sending out the WIN 3.1 update automatically or should we flood
the tech support number? ;-)

---
Barry L. Wallis			wallis@sieras.enet.dec.com
Database Consultant		Prodigy (don't laugh): DNMX41A
U.S. Production Systems Resource Center
Los Angeles, CA			"No one voted for me, I represent myself"
---
Newsgroups: comp.windows.ms.programmer
From: nat@netcom.com (Nathaniel Stitt)
Subject: Re: MS C/C++ v7 - need info
Date: Mon, 13 Apr 92 06:12:59 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 

In article <92103.145908SASTPH@vm.sas.com> SASTPH@vm.sas.com (Tim Hunter) writes:
>
>
>In article <1992Apr11.011000.13378@sporty.col.oh.us>, jeff@sporty.col.oh.us
>(Jeff Anderson) says:
>>
>>MS C/C++ v7 do not have ALL that is required to write windows apps.
>
>That's interesting.  An earlier poster, who had just recently received
>MS C/C++ V7.0, claimed that the entire SDK was included, on a separate
>set of disks.  Who's right?  Is there someone out there who can speak
>authoritatively?


Yes.  I have C7 :-)  It includes the entire 3.1 SDK on 12 separate disks!
But no hardcopy manuals for the SDK, they can be had for $150 extra.  Don't
get me wrong though, it does come with about 16 pounds worth of manuals for
C7; here are the titles of the included manuals:

	C Language Reference
	C++ Language Reference
	Run-Time Library Reference
	Class Libraries Reference
	Microsoft Source Profiler User's Guide
	SDK Setup Toolkit for Windows
	SDK Programming Tools
	Class Libraries User's Guide
	C++ Tutorial
	Programming Techniques
	Environment and Tools
	Comprehensive Index and Errors Reference

These are soft bound books of various sizes which measure about 9" when
stacked up.  TOO MUCH DOCS FOR ME!  I will leave most of these books
wrapped in the plastic wrap forever and use the on line docs, but the 
people who have been complaining about not being able to read docs in
bed will have about a years worth of bedtime stories to look forward to.

Also C7 bundles in the Microsoft Source Profiler which looks useful.  Also
included is 386MAX Version 6.01 memory manager from Qualitas.  The reason
for this is that C7 REQUIRES DPMI support to run.  If you run in a DOS
box under Windows then Windows provides the DPMI, but if you run under
vanilla DOS then you need 386MAX to let C7 get at your extended memory.
You *do* have exended memory don't you?  I thought so.

C7 *does not* let you write 32 bit apps.  I called and asked :-(  They
said that they "are working on it".  And that it will be in a future
upgrade to the compiler.


nat@netcom.com
That's me!
Newsgroups: comp.windows.ms.programmer
From: dre@cray.com (Dennis Ellis)
Subject: Re: Is 3.1 SDK Available???
Organization: Cray Research Inc
Date: 10 Apr 92 10:19:04 CDT

In article <2065@transfer.stratus.com> leadfoot@bigbootay.sw.stratus.com (Mark Curtis) writes:
>I don't have disk space for this kind of crap.  On-line help is nice
>but it is a disk pig and I like real paper.  I want the damn manuals!
                                              ^^^^^^^^^^^^^^^^^^^^^^^
                                                  I agree !!!

>I guess I will have to wait and see what Egghead/Fry's/CompUSA want
>for the full package.  Many times they are so close to the upgrade
>prices it is worth starting all over.

  If I have to start over, it wouldn,t be by putting up with this nonsense
from MS - maybe I'll use that extended period upgrade notice for
Borland C++ 3.0.

  I use the manuals extensively and I like them. But, I don't want to start
a flame war of online vs manuals - we've already had that. This is just my
personal preference.
-- 
*******************************************************************************
* Dennis Ellis (dre@sequoia.cray.com) *                                       *
* Cray Research, Inc.                 *                                       *
* Eagan, MN 55121                     * All the normal stuff about opinions.. *
Newsgroups: comp.windows.ms.programmer
Subject: multidimensional MDIs
From: rocker@desire.wright.edu
Date: 13 Apr 92 20:18:52 EST
Organization: Wright State University 

	Has anyone developed a MDI app that is multiidemsional?

	Here's an example:

-----------------------------------------------------------------------------
File	College		Majors
----------------------------------------------------------------------------
	Open		Open
	New		New
	...		...
	------		------
	xBussines	 Accounting
	 Engineering	 Finance
	 Education	xMIS
	---------	-----------		or
	 Business	 Electrical
	xEngineering	xBio Med
	 Education	 Mechanical
	-------------	 Chemical
			-----------		etc.

	Since only MAJORs are document windows, I thought I could manually
check/uncheck the COLLEGEs myself and keep seperate childlist's then assign tem
to mainwindow^.childlist.  Will this work?  How are document windows related to
the menu list?  When are the titles added, when created or when the menu is
activated?

	Any ideas?  Any warning, I hope this is not as convoluted as getting
arrow keys to work in diialogs!!!

rockin' on

ps.  This is a .edu site, but I'm OUT, ie, not an asssignment
From: richardh@hpopd.pwd.hp.com (Richard Hancock)
Date: Thu, 16 Apr 1992 10:30:06 GMT
Subject: Re: Dialog Box message loops
Organization: The Duffer of St. George
Newsgroups: comp.windows.ms.programmer

/ hpopd:comp.windows.ms.programmer / jeff@tct.com (Jeff Witzer) /  2:56 pm  Apr 15, 1992 /

>How can I gain access to
>the dialog box message loop?  I hope I don't have to use regular windows 
>and kludge them to look and act like dialog boxes...

You could process WM_ENTERIDLE in the parent WndProc.
Newsgroups: comp.windows.ms.programmer
From: aa596@cleveland.Freenet.Edu (Peter Haller)
Subject: Re: Help: Software Interrupts in Protected Mode?
Reply-To: aa596@cleveland.Freenet.Edu (Peter Haller)
Organization: Case Western Reserve University, Cleveland, OH (USA)
Date: Sat, 11 Apr 92 12:22:38 GMT


In a previous article, klaus@knipp.en.open.de (Klaus Malorny) says:

>
>Hi,
>
>I'm currently writing an application with MSC & Windows SDK that communicates
>with a TSR-based hardware driver. The TSR writes its data in a shared memory
>provided by my application via "GlobalDOSAlloc". To perform functions provided
>by TSR one have to use a certain software interrupt. I did this by using the
>library function "int86" and for that case it works well. 
>But some of the functions of the TSR expect an address to the shared memory
>with the segment part of the address in the "es" register. My attempt
>was to use the "int86x" function with the "es" register set to the real
>mode segment address of the shared memory (as the TSR is executed in real
>mode). The result was an UAE, as the library function "int86x" (still running
>in protected mode) tries to setup the "es" register with a segment address.
>When using a valid selector in the "es" register, the TSR is called, but with
>modified contents of the "es" register.
>
>Well, I do know that things are complicated in proctected mode, but I thought
>it would work because the int86 functions are still available in dos.h (in
>contrast to e.g. _dos_setvect, which is "removed" by #ifndef _WINDOWS etc.).
>Maybe I misused a facility provided to process hardware interrupts ? ;-)
>
>MY QUESTION IS: is there an *easy* way to call a software interrupt of a TSR
>                by a protected mode Windows application (with the ability to
>                set all registers (execpt ss,sp,cs,ip of course!:-)) ???
>
>Perhaps DPMI does the job, but as the documentation of Windows SDK doesn't
>contain anything about it, I am rather unfamiliar with it. 
>
>Thanks in advance
>
>   Klaus
>
I would suggest you get the DPMI specs (1.0) from Intel. They are free. Also
get your hands on a copy of "Writing Windows Device Drivers" by Daniel Norton.
This book covers much of the Protected Mode interface to DOS and the Virtual
Machine handling of interrupts.

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.'
From: hertel@rhrk.uni-kl.de (Frank Hertel [E-Technik])
Newsgroups: comp.windows.ms.programmer
Subject: Help: Edit Control > 64 KBytes
Summary: Help: Edit control > 64 KBytes ?
Keywords: Edit control
Date: 8 Apr 92 11:04:45 GMT
Organization: University of Kaiserslautern, Germany


Hi,

in the last weeks I saw some articles about Edit-Windows with more than 64 KByte
 but I could not remember if somebody posted some code to implement such a 
 control.

We are here working at an university project and are in need of Edit-Windows
 with more than 64 KBytes.

Perhaps somebody could help me and send me source code for this sort of Edit-
 Windows or point me to a location to find it. The source code will only be
 used within the university and will not be used commercially.

Hope that somebody could help me...
 Frank

 
-------------------------------------------------------------------------------
Frank Hertel                        Internet  : hertel@rhrk.uni-kl.de
University of Kaiserslautern        Compuserve: internet:hertel@rhrk.uni-kl.de
Chair for Electronics
D-6750 Kaiserslautern
Germany
===============================================================================
From: hans@pine.circa.ufl.edu (Hans van Oostrom)
Newsgroups: comp.windows.ms.programmer
Subject: Borland TDW in Windows 3.1
Date: 8 Apr 92 20:39:15 GMT
Reply-To: hans@pine.circa.ufl.edu
Organization: University of Florida - Dept. of Anesthesiology
News-Software: VAX/VMS VNEWS 1.3-4

I found out that the Turbo Debugger for Windows does not work with
Windows 3.1.  I called Borland and after being cut of after ten minutes
on hold (happened twice!!), the tech support told me it was a know
'bug' (they say "was not designed for windows 3.1").  They told me that
you can download a file called tdwin.zip from their BBS.
If anybody downloaded that file can you make it available on some ftp
site (cica)?

Thanks.

Hans van Oostrom
PO Box J-254, JHMHC                 hans@ufpine                (BITNET)
Gainesville, FL  32601, USA         hans@pine.circa.ufl.edu    (INTERNET)
>>>          Hoe ver je ook gaat, overal zie je landgenoten           <<<
From: san@cup.portal.com (Steven Arthur Nelson)
Newsgroups: comp.windows.ms.programmer
Subject: Re: Trouble using INT's from Windows-program
Date: 10 Apr 92 01:24:32 GMT
Organization: The Portal System (TM)


>   A friend of mine is writing some kind of communication
>program in windows. The driver is called TES and is 
>located at INT 14. The services TES provides are A0 through A8.
>He is using Borland C++ 3.0. 

>   Most of the services work, just by using int86x() inside
>the program, but when he tries to send a string, TES doesn't
>seem to get the right one, just some garbage. 

>   The string is supposed to be pointed by DS:SI. I.e. to do a
>connect:

Tell your friend to try using DPMI service 0x300 to simulate a 
real mode interrupt.  All memory addresses passed between real
and protected modes should be allocated using GlobalDosAlloc.   

Steven Nelson
From: wood@Software.Mitel.COM (Dale Wood)
Newsgroups: comp.windows.ms.programmer
Subject: SMALL model DS problem??
Date: 13 Apr 92 03:18:55 GMT
Distribution: na
Organization: Mitel Corporation; Kanata, Ontario, Canada


I have bumped into a problem with a very simple windows program.
The program only consists of a menu and dialog boxes within an
'rc' file. The menu command selects the dialog to run.

The dialog's proc is using global vars to initialise itself. (Just
experimenting with SDK calls). The program contains 4 dialog boxes
containing about 4 edit controls each.

The first two load and operate as expected. The last two do not - The
problem I discovered is that when the last two are loaded that DS != SS.

What did I do wrong? - no loaded DLL's - no custom controls - small memory
model - and all the source code is in one module - except the .rc and .def.

Can anyone pass me a few "did you forget to ... " type answers. 
I am using Borlands's C++ 3.0 compiler. and resorce toolkit.

Dale Wood
wood@Software.Mitel.COM
From: af413@cleveland.Freenet.Edu (Frank Nardis)
Newsgroups: comp.windows.ms.programmer
Subject: Windows Icons
Date: 16 Apr 92 11:39:28 GMT
Article-I.D.: usenet.1992Apr16.113928.20317
Reply-To: af413@cleveland.Freenet.Edu (Frank Nardis)
Organization: Case Western Reserve University, Cleveland, OH (USA)

Why is it that when you run 'Setup Applications' Windows will go out and
build icons and place them in the `Non-Windows Applications' group for
programs like Norton, DBase, Lotus, etc. but when I define my own PIF
with the editor Setup does not build the icon. Is there obviously something
other than the PIF file that builds the icon?

Frank

-- 

c
Newsgroups: comp.windows.ms.programmer
From: raek@athena.mit.edu (Robyn A E Kozierok)
Subject: case tools?
Organization: Massachusetts Institute of Technology
Date: Fri, 10 Apr 1992 21:44:41 GMT


Hi,

I am looking for recommendations for CASE (Computer Aided Software Engineering)
tools available for use with MS Windows.  

Most important priorities:
	efficiency of code
	reusability of code

Thanks for any suggestions you may be able to provide.

--Robyn
From: steve@monu6.cc.monash.edu.au (Steve Balogh (+61 3 565 4747))
Newsgroups: comp.windows.ms.programmer
Subject: Re: Finding lost resources
Date: 7 Apr 92 02:12:42 GMT
Organization: Monash University, Melbourne, AUSTRALIA

shanny@cat19.cs.wisc.edu (Nicholas Shanny) writes:

>... Does there exist a utility that will allow
>me to track down those resources I am failing to free.

There are several utilities available on cica (and monu6.cc.monash.edu.au while
cica is down) which will monitor the heap and memory usage. Look for files
called ma.zip and ha.zip. The path on monu6 is pub/Win3.0/util.

I have also uploaded a text file which shows which "cleanup" routines are
required after certain resources are no longer required. This file is called
cleanup.{zip,txt} and may also be found at cica or monu6. The path on monu6 is
pub/Win3.0/uploads for the time being. Eventually it should appear in
pub/Win3.0/programmer.

Regards,
        Steve

----_--_-_-_--_-__-_------_-__---_-___-_----_-____-_-_--__-_--_--___-_-_-_--__-_
Steve Balogh  VK3YMY   (Maths G.14)   | steve@monu6.cc.monash.edu.au
Monash University, Clayton Campus     |      37 54'38.8"S  145 07'47.1"E ...ICBM
Wellington Road, Clayton.  	      |      +61 3 565 4747 Voice (Office)
Melbourne, AUSTRALIA. 3168	      |      +61 3 565 4746 Fax
From: conrozi@kk188.ericsson.se (Roman Zielinski TT/TSM)
Newsgroups: comp.windows.ms.programmer
Subject: Two more incompatibilities in w3.1 (FAQ)
Date: 13 Apr 92 16:12:12 GMT
Distribution: comp
Organization: Ericsson

I found two problems in win3.1 API/binary compatibility:
As far I can see 3.1 does wrong as compared with 3.1 and 
the Programmers Reference for version 3.

Problem 1:
        If you Register an application with lpszMenuName=NULL
        you will not be able to assign a menu later by
        LoadMenu + SetMenu.

Problem 2:
	If you use SetViewportExt(hDC,3,3) to a printer device
        running ISOTROPIC mode, then the returned font sizes
	in GetTextMetrics will get tmHeight, Ascend and Descend
        varying with the value in viewportExt. They should be
        constant!!!!
	This cases DrawText to fail too! It writes lines in a
	rectangle but do not space vertically with a proper
	height value.

I hope that someone will put the list to a FAQ...


Regards
Roman Z.
Newsgroups: comp.windows.ms.programmer