HDTenEightyP/NetNews huggingface dataset:
From: timo@picea.hut.fi (Timo Veijola)
Subject: Re: Setup Toolkit provided with SDK
Organization: Helsinki University of Technology, Finland
Date: 11 Oct 92 09:09:58 GMT

tpurves@sygnus.uucp (Timothy Purves) writes:

>In article <1992Oct9.001752.4322@bohra.cpg.oz.au> daavid@bohra.cpg.oz.au (Daavid Turnbull) writes:

>A problem I have been having is, How do you get dsklayt to include the
>required mssetup files, but not to install them in the Application install.


>-- 

>tpurves@sygnus (Timothy Purves)

It is obvious that the mssetup files should be present in the first 
installation diskette. However, the toolkit documentation and dskley 
programs give no clues how this should be  done. My solution is this:

1) I build manually the *.lay -file (which should be done using the
   dsklay.exe)
2) I include the setup files to the lay- file. I have used group name
   MSSETUP for them.
3) The dsklay2.exe will create a label [MSSETUP] followed by the
   mssetup files to the inf-file. 
4) In my installation script (*.mst) I just ignore the group [MSSETUP].

Timo Veijola
timo@aplac.hut.fi

Newsgroups: comp.os.ms-windows.programmer.misc
From: devanath@tiger.vill.edu (Kiran devanath)
Subject: Incompatibility
Originator: devanath@tiger.vill.edu
Organization: Villanova University
Date: Thu, 15 Oct 1992 01:07:16 GMT

Hi,
	I was trying to link a DLL written in MSC Ver. 6.0
in Quick C for windows. Is this going to be a problem?
If it is a problem can anyone give me suggestions on how to
overcome it. 
The DLL I am calling returns a value -99999 if the parameters
input are not in the proper format. But I checked and rechecked 
everything seems to be in order.
	I have used 'strtod' to convert the numbers I input through
a dialog box. Is this conversion restraining the DLL in giving me
the answer?

Please Help.
That is the only part of the project that is giving me headaches.

Thank You.
My e-mail address : devanath@tiger.vill.edu.
Kiran

Newsgroups: comp.os.ms-windows.programmer.misc
From: mzellers@StarConn.com (Mark Zellers)
Subject: Are ReadComm/WriteComm API routines suitable for commercial apps?
Reply-To: mzellers@fusion.com, jrivlin@fusion.com
Organization: Starnet-Public Access UNIX--Los Altos, CA  415-949-3133
Date: Fri, 9 Oct 1992 04:35:37 GMT

I have header rumours that there are severe performance penalties in 
using the Windows ReadComm and WriteComm functions have severe performance
bottlenecks due to the single character interface between the API routines
and the low level driver.

Does this just limit the effective data rate or is there a danger of losing
data at high speeds?

I would be especially interested in knowing what commercial products are
doing in this regard.  Are they using the windows API routines or are they
"tweeking the pins" as in the good old days of MS Dos?
-- 

+-----------------------------------------------------------------------------+
| Mark H. Zellers                                          Mark@fsi.Fusion.COM|
| Fusion Software, Inc                    455 Sherman Ave, Palo Alto, CA 94306|
From: haen@veces.stgt.sub.org (Herbert Neugebauer)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: EMM386 Exception
Distribution: world
Date: Sat, 03 Oct 92 13:12:42 GMT
Organization: TRN Porting Labs
Keywords: EMM386, Windows


Hello,

At the moment I'm developing a program under Windows 3.1
using MSC 7.0. Now sometimes (but very seldom, 1 out of 100 times)
when I'm terminating the program, the screen get's dark, the
dos prompt is back, but when moving the mouse of pressing a key,
there is an error prompt

  EMM386 Exception #06 - press ENTER to reboot.
  
Now does anybody know what this Exception means???

Is it perhaps the corresponding processor exception (trap), but
that would mean   invalid opcode  .

Thanx in advance

    Herbert

--
~~~~~~ Herbert Neugebauer ~~~ Eberhard Str. 5 ~~~~~~ W-7038 Holzgerlingen ~~
~~ haen@veces.stgt.sub.org ~~~ phone:  07031-603164 ~~~~~    Germany	  ~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~  This sentence in English is difficult to translate into German.	 ~~~
~~					   -  D. R. Hofstadter		 ~~~
Newsgroups: comp.os.ms-windows.programmer.misc
From: jagrant@emr1.emr.ca (John Grant)
Subject: Re: Enter key in VB
Organization: Energy, Mines, and Resources, Ottawa
Date: Thu, 15 Oct 1992 23:22:42 GMT

In article <1992Oct15.202628.13352@javelin.sim.es.com> gfowler@javelin.sim.es.com (Gary Fowler) writes:

in response to a query about how to make ENTER go to the next field rather than
DEFPUSHBUTTON, Gary replied:

>It is possible, but I would advise against it since it does not conform to
>Windows standards.  The standard is to TAB from one field to the next.  One
>of the advantages of Windows is to have a common look and feel between apps.
>You know what you and the users need, so the choice is up to you.

I totally disagree.  I like standards just as much as the next guy, but I
detest and protest the design of Windows and other dialog boxes that treat
ENTER like an OK button rather than 'next field' button.  I don't have any
problems with TAB & SHIFT-TAB to go forwards and backwards between fields,
but ENTER is too intuitive a keystroke to use to terminate entry of a value
in a field to entrust to such a critical operation as "ok, I'm done".  I
can't count the number of times, I have hit ENTER and cursed as the box
disappears and the operation resumes.  In particular in a search & replace
box, if I enter the search text and hit ENTER, leaving the replace box empty
it will replace my search text with nothing.  This sucks.  So I encourage
everyone to trap ENTER and ignore it (this only applies to dialog boxes
that have 'edit' fields, of course).

My favourite way to do this, is:
	1. don't have any DEFPUSHBUTTONs in your dialog box (OK & CANCEL
	   should be PUSHBUTTON)
        2. create a 'tiny' DEFPUSHBUTTON somewhere in a corner (1x1 size)
           with a normal id (i.e. 123, but not IDOK or IDCANCEL)
        3. in WM_INITDIALOG, make the button invisible:
		ShowWindow(GetDlgItem(hdlg,123),FALSE);
	4. When you get WM_COMMAND, with wparam==123, that means ENTER
	   has been pressed (it hit the DEFPUSHBUTTON), so just issue
	   	PostMessage(hdlg,WM_NEXTDLGCTL,0,0);
Simple, eh?  It avoids having to deal with WM_CHAR, WM_KEYDOWN and all of
that stuff.

everyone to trap the ENTER key 
"
Newsgroups: comp.os.ms-windows.programmer.misc
From: jeff@extro.ucc.su.OZ.AU (Jeffrey Smartt)
Subject: Problem with 'new' when using BC++ 3.1
Organization: Sydney University Computing Service, Sydney, NSW, Australia
Date: Fri, 16 Oct 1992 05:39:24 GMT

G'day,

I am using Borland C++ 3.1 to write a windows application - I am finding that
when I open a common print dialog, and while the dialog is open I receive a
WM_TIMER to my main window, that the WM_TIMER message processor is unable to
use the 'new' operator - as it results in a GP fault - has anyone else had
similar problems?

Jeff.
-- 
--------------------------------------------------------------------------------
Jeffrey Smartt, Smartt Designs Pty. Ltd.      Internet: jeff@extro.ucc.su.oz.au
P.O. Box 7313, Cloisters Square, WA, Australia, 6850.
Ph: +61-18-219955.   [(018)219955]            Fax: +61-9-474-1129  [(09)4741129]
From: twbrown@PE-Nelson.COM (Tom W. Brown)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: help, intertask communication
Date: 7 Oct 92 22:26:36 GMT
Organization: PE-Nelson

In article <1992Oct5.164754.10636@muug.mb.ca>, gbrandt@muug.mb.ca (Gregor Brandt) writes:
|> I need to know what kind of Intertask communication is supported by windows,
|> can anyone help me...thanks
|>  

Well, there's DDE (Dynamic Data Exchange) which is a messaging protocol that
allows "conversations" between applications -- Windows 3.1 has a higher level
interface (higher than the actual message protocol) available in the DDEML
library.

Other than that you may invent any intertask communication you desire; your
own message protocol, shared memory in a DLL, direct callbacks, etc.


----------------------------------------------------------------------------
Tom Brown               |  "Strange women, lying in ponds, distributing
PE Nelson Systems       |   swords is no basis for a system of government."
twbrown@pe-nelson.com   |                    Monty Python and the Holy Grail
----------------------------------------------------------------------------
Newsgroups: comp.os.ms-windows.programmer.misc
From: chrisb@wang.com (Chris Bennet)
Subject: Subclassing Edit Control
Organization: Wang Labs, Lowell MA, USA
Date: Mon, 12 Oct 92 20:06:02 GMT
Summary: Can't Edit Control be subclassed ?

I'd like to be able to add commands to the Edit Class.
(Or at least I think I would. :^)  What I've read doesn't
actually deny that you can do it; it just says you shouldn't
use "SetClassLong" to change the class setting for predefined child window
controls because "these global classes are used by other applications."

I _want_ to change all the edit windows used by other apps though.

In a nutshell I'd like to grab marked text in any Edit Class window in
response to a keystroke sequence. Kind of like Clipboard except I want
to send the data to my app.

My experiments have consisted of making a "NewEditProc" that calls the
original.  I used SetClassLong to replace the original pointer to
the Edit class message handler with a pointer to my own "NewEditProc"
(This is sort of thing works if you use SetWindowLong.)

Any suggestions ?

 Thanx in advance,
   Chris
Newsgroups: comp.os.ms-windows.programmer.misc
From: jta@locus.com (JT Anderson)
Subject: Re: Where is the Win Doc CDROM?
Keywords: CDROM WINDOWS
Organization: Locus Computing Corp, Los Angeles
Date: Wed, 07 Oct 1992 18:32:33 GMT

In article <1992Oct7.105852.1316@andersen.co.uk> aroby@andersen.co.uk (Tony Roby) writes:
>I've been following the thread about the Win Doc CDROM and have seen
>several people asking about it and where they can get it.  Well, I'm
>joining that list of people because noone has replied.  Is it available
>from Microsoft or is it a third party product ?
>
>Tony

I don't know which, if any, of these may work, but here are some contact
points:

FAX: 		206-936-7329
Voice?:		800-227-4679 x11771
Internet:	devnetwk@microsoft.com
CompuServe:	76711,421

Newsgroups: comp.os.ms-windows.programmer.misc
From:  (slugg jello)
Subject: How does Windows draw the resizing frame?
Reply-To: slugg@mouthers.wa.com
Organization: Mouthing Flowers
Date: Thu, 15 Oct 1992 21:35:25 GMT

Anybody know how Windows draws the frame when the user resizes a window with  
the mouse?  I need to know how it is done without a flicker.  Do they just  
redraw the parts that change as the mouse moves?  Or is there some ROP code  
that enables this in combination with some brush or bitmap?

Thanks for any info
-- 
Doug Kent
slugg@mouthers.wa.com
From: lothar@cyrcle.uucp (Bob Trembley)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: What can be done with the WINDOWCOMPAT Def-file/Link Option?
Keywords: WINDOWCOMPAT MODULE DEF DEFINITION LINK
Date: 7 Oct 92 01:30:20 GMT
Reply-To: lothar@angus.mi.org
Organization: Cyrcle Systems

In a Module definition file you can specify WINDOWCOMPAT as an "apptyupe"
in the NAME line, and/or /PM:VIO on the link line.  The documentation
states: "Character-mode application to run in a text window in Windows"

Ok.

So I created a simple .C file with a real simple main() and specified a
Def file with the WINDOWCOMPAT option.  When I tried to run it under DOS
I got the old stand-by "This app must be run under Windows."  When I tried
to run it under windows, nothing seemed to happen.  When I brought it up
under CVW it hung my system.

Question: Just what good IS the WINDOWCOMPAT option with Windows?

Is it an old left-over from OS/2 and should be ignored?  Will it mean
something under NT (probably)?  Can it actully be used with Windows?  Should
I have tried a winmain() rather than a main() ?

Just curious...


--==>>BobT> 
Newsgroups: comp.os.ms-windows.programmer.misc
From: baum@kirk.es.go.dlr.de (Peter Baumann)
Subject: BitBlt
Organization: University of Kaiserslautern, Germany
Date: Wed, 14 Oct 1992 17:32:09 GMT

Hi!

I have a problem using BitBlt. I want to copy > 256 KByte from a memory Bitmap to the screen
(Borland C 3.1). Have I got something else wrong, or must I split this up into sections <= 
64KByte?

Could you please reply directly? I'll summarize to the net.

thanks, Peter
-- 
DDD   L    RRR   |  Peter Baumann
D  D  L    R  R  |  Abt. SM-ES, DLR, Bunsenstr. 10, W-3400 Goettingen, FRG
D  D  L    RRR   |  Tel. (0551) 709-2190 FAX: (0551) 709-2101
DDD   LLLL R  R  |  internet: baum@kirk.es.go.dlr.de
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Opposite of CreateRectRgn()--HELP!
From: stefan@olson.acme.gen.nz (Stefan Olson)
Date: Tue, 6 Oct 92 06:55:51 +1200

In <1992Oct4.223959.8139@hplabsz.hpl.hp.com> yefchak@hplabsz.hpl.hp.com (George Yefchak) writes:
>What's the proper way to free up memory from a CreateRectRgn()
>call after I don't need the region any more?  Is this a free(),
>a GlobalFree(), a LocalFree(), or what?  I'm using Visual
>Basic, but I assume that doesn't matter too much.

Try DeleteObject (TheObject)

...Stefan

-- 
------------------------------------------------------------------------
   Stefan Olson                     Mail: stefan@olson.acme.gen.nz
   Kindness in giving creates love.
------------------------------------------------------------------------
Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.msdos.programmer
From: whedon@netcom.com (Bill Whedon)
Subject: Thanks for MK_FP!
Followup-To: poster
Keywords: MK_FP
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Thu, 15 Oct 1992 07:06:10 GMT

Thanks for the >MANY< replies and macros!  Think I got MK_FP down now! :-)

THANKS TO ALL!
Bill Whedon  
 
-- 
I don' need no steenking .signature!
From: galenr@hpgrla.gr.hp.com (Galen Raben)
Date: Thu, 8 Oct 1992 17:52:14 GMT
Subject: Re: INP and OUT in VisualBasic
Organization: Hewlett-Packard, Greeley, CO
Newsgroups: comp.os.ms-windows.programmer.misc

In comp.os.ms-windows.programmer.misc, hewitt@vaxc.cc.monash.edu.au writes:

>Has anyone written any DLLs which simulate INP, OUT and possibly PEEK and POKE
>in Visual Basic?

Yes, there are some public domain ones as well as commercial ones.  However
poking around in memory must be done carefully as Windows isn't aware you
are doing so, and you may overwrite something crucial (or in turn be
overwritten by Windows), causing all sorts of (sometimes catastrophic) havoc!

Look for INPOUT.ZIP on ftp.cica.indiana.edu (129.79.20.84) in (I would guess)
/pub/pc/win3   also on CompuServe (if you have access) in the MSBASIC forum's
Visual Basic library (GO MSBASIC) as INOUT.ZIP...

Commercial tools are available from  MicroHelp (1-800-922-3383 or 404/594-1185)
and I think from Crescent software (1-800-352-2742 or 203/438-5300).

- Galen -
Newsgroups: comp.os.ms-windows.programmer.misc
From: cwvernon@undergrad.math.waterloo.edu (Vern)
Subject: Re: MDI Windows
Organization: University of Waterloo
Date: Wed, 7 Oct 1992 13:40:14 GMT

In article <MUFFY.92Oct6104030@remarque.berkeley.edu> muffy@remarque.berkeley.edu (Muffy Barkocy) writes:
>> Oh yeah, I'm having a bit of trouble with MDI windows as well.  My windows
>> don't seem to show the minimize and restore buttons when they are 
>> maximized in the parent window.  Any suggestions?
>
>I had this problem, too; it turned out I was trapping the WM_SIZE
>message and returning from the window function, rather than sending it
>along to DefMDIChildProc.  You have to pass this message along.

OK.  I'll look over my program and see if I'm passing along the message.
Thanks.

-- 
-- "Time flies like an arrow, but fruit flies like a banana"
--                                      -- cwvernon@descartes.uwaterloo.ca
--
From: kbrooks@ut-emx.uucp (kevin brooks)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Speeding up graphics Was: Most efficient way to waste time in Windows
Summary: doing the reverse
Date: 8 Oct 92 21:45:56 GMT
Organization: The University of Texas at Austin, Austin, Texas

In article <1992Sep25.190709.14423@ncsu.edu>, dspascha@eos.ncsu.edu (DAVID SCOTT PASCHAL) writes:
> 
> In article <19u0v7INNqsm@sol.deakin.OZ.AU>, operator@deakin.OZ.AU (I operate the computer) writes:
> |>  I am programming in Quick C for Windows and have been 
> |>  playing around with the BitBit() function trying to do
> |>  some simple animation. The problem is I am only moving
> |>  around a small BMP picture and it is moving too fast, 
> |>  and so I would like to pose the question,"What is the
> |>  most efficient way to waste time in windows and can I
> |>  monitor the amount of time that I waste?" I could call
> |>  the GetMessage function to yield full control but this
> |>  gives me no control on the amount of time that I yield.
> 
> Use a timer which can either send your program a message or call a callback
> function in your program at specified intervals.


I find that when I attempt to animate several objects in a window, using  
BitBlt(), that the program's performance decreases significantly (i.e. all the
objects "run down").  I have seen some programs that are able to keep many
objects active and also moving at fast speeds, for example, the public domain
"Fish" program and the "PACMAN"-like program.  Using Borland's "WinSight" I   
found that these programs have windows that "own their own DC."  Is this the 
key to "fast" action graphics in Windows?  Are there problems with using this
technique, besides the necessity to allocate extra memory for the DC?  Perhaps
someone could provide me with an example.  

Thank you (in advance),

Kevin Brooks
kbrooks@emx.utexas.edu


Newsgroups: comp.os.ms-windows.programmer.misc
From: ks03@cs.vu.nl (Kennissystemen)
Subject: How to post a WM_LBUTTONDBLCLK
Organization: Fac. Wiskunde & Informatica, VU, Amsterdam
Date: Sun, 11 Oct 1992 11:52:02 GMT

I'm writing a simple utility which runs as a hook to transform
single middle mouse clicks into WM_LBUTTONDBLCLK's.
However, I can't get the WM_LBUTTONDBLCLK message posted to
whatever app/window the mouse is currently pointing to.
Is there a simple solution working for both 3.0 and 3.1?
Any help would be greatly  appreciated!

Thanks

-- John

Xref: sparky comp.os.ms-windows.programmer.misc:2546 comp.os.ms-windows.programmer.tools:1106
From: gt3144b@prism.gatech.EDU (Sonny)
Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.tools
Subject: Flicker free animation (ROP ?)
Date: 9 Oct 92 20:47:39 GMT
Followup-To: comp.os.ms-windows.programmer.misc
Organization: Georgia Institute of Technology

I am currently trying to clone the Solitaire game that comes
with Windows and I am having a little problem with moving the cards.
I am currently moving the card bitmap using BitBlt.  This causes 
a lot of flickering.  I noticed that the Solitaire that comes with
Windows doesn't have this problem.

Could someone tell me how they move the bitmaps smoothly.  I am sure
that it has to do with ROP codes.  I have Petzold, but he doesn't have
any examples using ROP code for animation.  I am using BC++ w/AF.

I would be greatly appreciated if someone could point me to the right
direction (i.e. source codes, books, articles,........)

Thank you very much!!

Sonny


--
From: devanath@tiger.vill.edu (Kiran devanath)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Windows Programming
Date: 3 Oct 92 02:42:02 GMT
Organization: Villanova University
Originator: devanath@tiger.vill.edu


I have been trying to mail my request, but I am unsuccessful, I hope this
reaches.
   I have a request. 
I am beginner in Micro soft WIndows Programming.
The scenario is this:
	I have DLL which accepts double values.
I call the DLL by
	 OptionsA(int,int,int,double,double,double....)
It takes totally 9 values including integer value. 
It is supposed to return a double value.
My questions are:
	1. How do I convert this into a string, I tried using 
	   wsprintf and all combinations it seems to separate 
	   me from the answer by a couple/lot of zeros.
	2. The values are passed to the DLL correctly. Is sending a 
	   double value to the DLL make a difference. I am unable to
	   find a solution.
	I hope someone will be able to help me.
Thanks in advace
	My e-mail address devanath@tiger.vill.edu.
Kiran
Newsgroups: comp.os.ms-windows.programmer.misc
From: jagrant@emr1.emr.ca (John Grant)
Subject: Re: MS-Word, RTF, and help files
Organization: Dept. of Energy, Mines, and Resources, Ottawa
Date: Mon, 12 Oct 1992 01:52:53 GMT

In article <ld9n60INN9d3@jethro.Corp.Sun.COM> tjonz@caliban.Corp.Sun.COM writes:

> ...long flame about how MS-WORD isn't really necessary for building help
> file and that RTF files can be created with other tools....

Ok, ok, most of what you say is true, but seriously speaking, what do YOU
recommend for building help files?  When I finish my first app (real soon now),
I will have to create the help file.  I don't have Word, and I *was*
considering buying it not only as a good wp app, but also specifically for
building Windows help files.   That obviously is the expensive way to go, 
but there are obviously there are alternatives.  So, what is the best
set of tools that are inexpensive and easy to use for creating RTF files?
From: ruedl@csp.ka.sub.org (Ruediger Fuess)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Browse Sequences in WinHelp - how?
Keywords: help compiler,help
Date: Wed, 07 Oct 92 15:26:04 CET
Organization: CSP Ingenieur Consult GmbH

loewis@opal.cs.tu-berlin.de (Martin v.Loewis) writes:

> Summary: I found no way to define browse sequences using hc31,
> 	 the sdk manual is wrong or I missed something.
> 

You have to add the HelpMacro 'BrowseButtons' in the CONFIG section of
your hpj-file.

[CONFIG]
BrowseButtons ()

Hope it helps.
          RUEDL.

P.S. Ich hab auch lange danach gesucht.

 ruedl@csp.ka.sub.org  | I didn't do it, 
    Ruediger Fuess,    | nobody saw me do it, 
    CSP GmbH, FRG,     | can't prove anything.
   7500 Karlsruhe,     +-------------------------------------------------------

   Voice:+49 721 91205-30 privat:+49 7271 2130
Newsgroups: comp.os.ms-windows.programmer.misc
From: marshall@tfh.enet.dec.com (Hunting the Snark)
Subject: Clock applet
Organization: Digital Equipment Corporation
Date: Thu, 15 Oct 1992 06:26:57 GMT

I would like to imitate an interesting property of the Clock applet in Windows
3.1 (I don't remember now if the one in 3.0 did this). When you select the "No
Title" setting, holding the left mouse button down in the clock window puts it
into the move mode the same as in the caption of of a normal window. How does 
it do that? Is there an easy way (some undocumented windows fuction) or do they
do it "the hard way" (LbuttonDown, SetCapture, GetDC, MouseMove, etc.) Is it 
significant that it only does this when there is no title bar?

Thanks

Steve Marshall