HDTenEightyP/NetNews huggingface dataset:
From: pynq@quads.uchicago.edu (Jeremy Mathers)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Windows/DOS interaction
Date: 26 Jan 93 15:01:58 GMT
Reply-To: pynq@midway.uchicago.edu
Organization: D. J. Dougherty & Associates

In article <1k2ltmINNhdl@shelley.u.washington.edu> ehammers@stein.u.washington.edu (Erick Hammersmark) writes:
>
>Is it possible for a DOS program to communicate with Windows?  Can you do
...
>DOS tasks).  I know that Alt-Tab can do this, but it's kinda annoying, and
>Ctrl-Esc kicks you back into graphics mode.  Is this at all possible?

This seems to be a general problem, to which the general answer is "No."

There is a package called WinBatch (shareware slowly turning into
commercialware) that can help.  I recommend it, although it has some
quirky limitations in this regard (communication with DOS windows)

I posted another item asking for help in popping up the system menu.
Basically, if you can do that under programmatic control, then you can
do anything.  That is the critical link between the world of Windoze and
the world of DOS.

************************************************************************
"I'd love to go out with you, but I'm staying home to work on my
cottage cheese sculpture."

	- pynq@quads.uchicago.edu, who is still costing the net
	  hundreds, if not thousands, of dollars, every time he posts -
************************************************************************
Newsgroups: comp.os.ms-windows.programmer.misc
From: sakaria@vipunen.hut.fi (Sakari Aaltonen)
Subject: Re: The HIWORD Is 0x99, But...[SUMMARY]
Reply-To: sakaria@vipunen.hut.fi (Sakari Aaltonen)
Organization: Helsinki University of Technology
Date: Tue, 26 Jan 1993 21:14:50 GMT

I posted a few days ago, wondering about the LOWORD for the ternary GDI mode
whose HIWORD is 0x99.

The only answer I got was from a Microsoft person, who told me to look it
up in the SDK. 

Yeah, well, I wouldn't have asked if I had the SDK.

However, I have just seen "Bodyguard" for the second time (Whitney Houston
is too good for words). So, feeling happy and generous, I will share a pearl
of wisdom: 0x99 would mean NOTXOR; SRCINVERT does a XOR; to get a NOTXOR
you must first invert your bitmap and *then* SRCINVERT. Child's play.

Now, if I only could figure out how to do FloodFills on a Laserjet...
-- 
-----------------------------------------------------------------------------
Sakari Aaltonen                             Helsinki University of Technology
Email: sakaria@vipunen.hut.fi
---  You can't keep a Finn down without him getting all red in the face  ----
Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.tools,comp.windows.ms.programmer
From: jbg@qualcom.qualcomm.com (Jeff Gehlhaar)
Subject: Re: Portable GUI Libs...
Keywords: gui,portable,library
Organization: Qualcomm, Inc., San Diego, CA
Date: Thu, 21 Jan 1993 21:59:27 GMT

das90@ccc.amdahl.com (Danny Smith) writes:

>In article <1993Jan15.184119.16173@mks.com> jeffm@mks.com (Jeff Moll) writes:
>>      I'd appreciate all comments people may have on any of the following
>>cross platform GUI libraries:
>>
> 
>As I'm on a similar quest, I'd be interested in responses to the above.
>If they're not posted, perhaps Jeff could summarize?  
> 

I too am interested in comments conerning cross-platform tookits. In 
particular, we are looking at StarView for us with Macintosh and Windows
single-source development.  Any experiences good or bad?

Jeff Gehlhaar
QUALCOMM Incorporated
jbg@qualcomm.com
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Format of TC++ project files
From: mackintosh@ug.eds.com (Alasdair Mackintosh)
Date: 21 Jan 93 12:11:44 PDT
Reply-To: mackintosh@ug.eds.com (Alasdair Mackintosh)
Distribution: world
Organization: EDS Unigraphics, Cypress CA



Does anyone know the format of the project definition files used for Borland's
Turbo C++ for Windows (3.1)

I'd like to write a utility that will create new projects with a standard set of
defaults (linker options, libraries, cmpiler options, etc), or edit existing
projects.

Thanks
--
===============================================================================
Alasdair Mackintosh                             mackintosh@ug.eds.com
Unigraphics Division                            (714) 952-5698
Electronic Data Systems                         10824 Hope St, Cypress CA

Newsgroups: comp.os.ms-windows.programmer.misc
From: dave@ait.com
Subject: Distributed transaction processing with a relational database
Reply-To: dave@ait.com
Organization: Artificial Intelligence Technologies, Inc.
Date: Wed, 20 Jan 1993 22:04:28 GMT


We are in the problem analysis phase for a project to move an existing
mainframe transaction processing system using VSAM, to distributed
workstations and a relational database.  The application must handle
about 500,000 existing customers, periodically calling into the
customer service reps. who handle complaints, new products, cancel
products, etc.  These customers need to be billed for their products,
and the product must be transported to the customer.  The total size
of the VSAM files is now about 2-4 gig of data, with some of this
being historical records.  There will be about 100 users of hte
system, with 50-70 fulltime.  Batch processes will also be running
over the data at various times through the cycle.

I am looking for persons out there that have deployed, or are developing
similar applications, and I would like information on how this can be
accomplished most efficiently.  Specifically:

1) What methods/tools did you use if you used OOA or Design?

2) What platform/workstation/servers are prefered for both development
and deployment?

3) What language(s) did you use, C, C++, Cobol, 4GL?  Did you use any CASE
tools?  E.g. What is a _very_ large, deployed system for C++?

4) How about GUIs and their development tools?  Motif, Windows, Forms?
The ideal situation would take advantage of existing PC hardware
running Windows for the infrequent users, and perhaps an Xterm to a
workstation for continous users.

5) Which database tools were used, Sybase, Ingres, Oracle?

6) I am also looking for any literature I can find on _deployed_ systems
similar to this, books, papers, etc.

Thank you for your input,
dave

________________________________________________________________________
Dave Pracht					phone: (914)347-6860
Director of Applications Development		fax: (914)347-3182
Artificial Intelligence Technologies, Inc.	internet: dave@ait.com
Westchester Co. NY
________________________________________________________________________
From: deitsch@sol.crd.ge.com (Andy Deitsch)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: FindWindow
Date: 28 Jan 93 14:02:41 GMT
Reply-To: deitsch@sol.crd.ge.com
Organization: GE Research & Development

I am trying to get the handle of an MDIChild window from a sibling
MDIChild window.  When I use FindWindow I get a NULL returned which
seems to mean that the window was not found.  I have tried using
NULL for the caption only passing the class name and also the other
way around (NULL for class name, passing in the caption).

Anyone have any hints?

-- 
_________________________________________________________________________
Andy Deitsch                             email    : deitsch@crd.ge.com  
GE Corporate Research & Development      phone    : (518) 387-7207   
Schenectday, NY 12301                    dial comm: 833-7207     
Newsgroups: comp.os.ms-windows.programmer.misc
From: bromage@mullauna.cs.mu.OZ.AU (Andrew Bromage)
Subject: Triple click - how to capture?
Organization: Computer Science, University of Melbourne, Australia
Date: Mon, 25 Jan 1993 00:28:41 GMT

I have a Macintosh text editor which supports triple clicking to select a line.

I realise that in Windows you would have to subclass an edit window to achieve
the same sort of effect, except that Windows doesn't process triple clicks.

Does anyone know a good to do this?
Failing that, does anyone have some example code for translating double clicks
which I could adapt?

Thanks in advance,
Andrew Bromage
Newsgroups: comp.os.ms-windows.programmer.misc
From: jeff@tct.com (Jeff Witzer)
Subject: calloc () vs. LocalAlloc ()...
Date: Thu, 21 Jan 1993 14:34:20 GMT
Organization: TC Telemanagement, Clearwater, FL

According to Petzold (Programming Windows 3.1 p303) 

"The routines in the [Windows] start-up code convert the normal C memory 
allocation functions [calloc, malloc, realloc, and free] into equivalent 
Windows memory allocation functions."

This would appear to mean that I can use the standard C calloc () function
if I want.  Correct?

I ask because I'm occasionally receiving an Exception 13 on a calloc () in 
my file save functionality and when I'm not (receiving the Exception 13), 
many other normally working functions go haywire after attempting to save.

Since the rest of the save functionality seems to be working properly, would
I be wasting my time converting all the calloc ()'s to LocalAllocs ()... or
does Windows really NOT do the appropriate conversion?

thanks,

jeff@tct.com
From: deitsch@sol.crd.ge.com (Andy Deitsch)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: MS Windows GUI standards.
Date: 21 Jan 93 21:21:46 GMT
Reply-To: deitsch@sol.crd.ge.com
Organization: GE Research & Development

In article <1jmn32INNk0i@shelley.u.washington.edu>, jude@milton.u.washington.edu (Jude Stoller) writes:
|> Can anyone point me to a book or file which discusses MS Windows GUI
|> standards?
|> 
|> Thanks in advance,
|> Jude

The book you are looking for is called: "Common User Access Advanced 
Interface Design Guide".  It was written by IBM.  I'm not sure of
the ISBN number etc.

Andy

-- 
_________________________________________________________________________
Andy Deitsch                             email    : deitsch@crd.ge.com  
GE Corporate Research & Development      phone    : (518) 387-7207   
Schenectday, NY 12301                    dial comm: 833-7207     
Newsgroups: comp.windows.ms.programmer,comp.os.ms-windows.programmer.misc,comp.os.ms-windows.tools
From: kimmel@staff.tc.umn.edu (Eric Kimmel)
Subject: Re: Microsoft Visual C++ beta
Organization: University of Minnesota
Distribution: na
Date: Sat, 23 Jan 1993 00:07:47 GMT

In article <1993Jan21.081748.15368@netcom.com> whedon@netcom.com (Bill Whedon) writes:
>In article <1993Jan20.191235.6806@samba.oit.unc.edu> David.Gunter@launchpad.unc.edu (David Gunter) writes:
>>I have heard about a new Microsoft beta program for a product called
>>Visual C++.  If anyone has any info about either the beta program for
>>this product, or the product itself, please let me know.
>>
>I hate when people do this, but, this is just _too_ exciting!
>ME TOO, PLEASE!
>Thanks,
>-- 
>C, ICON dBase Ada!  Paradox?  (B Jovial, Pascal!)
>

There is some information about it in this weeks InfoWorld.  There are betas
out there, but I don't know how difficult they are to get.

-Rick
Newsgroups: comp.os.ms-windows.programmer.misc
From: daniel@viper.cs.unm.edu (Tommie Daniel)
Subject: Transparent BITBLT Raster OP code (ROP) ???
Keywords: BITBLT
Organization: Computer Science Department, University of New Mexico
Distribution: usa
Date: Wed, 27 Jan 1993 16:40:56 GMT

Is there a ROP code to accomplish a transparent blit in 256 color modes.

In other words,  if I have an off screen image with a black background
(index 0) and I want to bitblt it on top of an existing 256 color
scene, how do I allow only the non-black portion of the off screen image 
to be drawn?

thanks,  Tommie Daniel   daniel@unm.edu
Newsgroups: comp.os.ms-windows.programmer.misc
From: jagrant@emr1.emr.ca (John Grant)
Subject: Re: VISUAL BASIC
Organization: Energy, Mines, and Resources, Ottawa
Date: Wed, 27 Jan 1993 20:24:10 GMT

In article <3257.885.uupcb@freddy.ersys.edmonton.ab.ca> stephen.murphy@freddy.ersys.edmonton.ab.ca (Stephen Murphy)  writes:
[...questions & answers deleted...]

>Diatribe: VB is suited for small in house applications
	[...some of of diatribe against VB deleted...]

>downloading an application, unzip it and find:
>VBRUN200.DLL, STATUSBR.DLL, SUPRCNTL.DLL, 3DGAUGE.DLL...
>Run the poor EXE and watch it turn your 486 into molasses
>as it tries to locate all the information it needs,
>sometimes coming up empty-handed, leaving a gaping
>hole in your video where that 3D Button is supposed to be.
>|
>Conclusion: If you've just finished a VB app that you feel
>you must share with the world, at least give it a tell-tale
>name. Don't call it "MYWIN.ZIP", call it "MYVB.ZIP". Better
>yet, say to yourself, "OK. This is what I want my
>application to look like. Now I'm going to learn C
>or C++ and write the *real* version!" You will both help
>and thank yourself tenfold in the long run.

	It's difficult to know which items you are complaining
	about here, but it appears that you don't like the fact
	that the app comes in several parts, including several
	DLLs.
	
	I have news for you - this is not limited to Visual
	Basic.  Many apps come with 1 or more DLLs, because
	that's the way it's done.  It is entirely independent
	of the programming language.  Before DLLs, the libraries
	were linked into the .EXE files - now they are external.
	If the DLLs were linked in with the .EXE, the .EXE would
	be quite large, but you wouldn't be complaining because you
	wouldn't know that several .EXEs contained exactly the
	same libraries.  On the other hand, your system would
	complain, because you would be wasting a significant
	amount of memory when any 2 or more of these apps containing
	a particular library were running simultaneously.

	I think the only thing you can complain about here is that
	VBRUN200.DLL is being packaged with each VB app made available.
	If the author assumes you have it and you don't, then the
	app doesn't work.  If he packages it with the app, then
	people complain about it wasting banwidth.  The same could
	be said for apps in any language that use common DLLs
	(i.e. Borland's custom controls).

	Don't blame VB or any other language.  If anything, blame
	the fact that all of these apps are pretty fancy and run
	in a GUI environment - that's why they are big.

	No, I don't use VB: I use BC++.

-- 
John A. Grant						jagrant@emr1.emr.ca
Airborne Geophysics
Geological Survey of Canada, Ottawa
From: elliss@unixg.ubc.ca (Stefan Ellis)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: TListBox question for TPW users
Keywords: COMMDLG CENTER
Date: 27 Jan 93 21:11:20 GMT
Organization: University of British Columbia, Vancouver, B.C., Canada
NNTP-Posting-Host: unixg.ubc.ca

I am looking for a way to combine TPW's TListBox object with the features
of TCollection.  To give you a specific example, I would like the strings
in the on-screen list box to come from a particular field within a TObject
descendant.  In other words, I want to associate the string with a larger
data type, like an object or record. I notice that Borland's TurboVision
addresses this matter in TP for DOS, but I can't find a similar feature in
TPW.  Can anyone help?

Stefan Ellis
Faculty of Education, University of British Columbia
Vancouver, Canada
E-Mail: ELLISS@UNIXG.UBC.CA
Newsgroups: comp.os.ms-windows.programmer.misc
From: schmitz@vier.informatik.uni-kl.de (Wolfgang Schmitz (PA Richter))
Subject: Changing fonts in edit controls
Organization: University of Kaiserslautern, Germany
Date: Wed, 27 Jan 1993 13:04:47 GMT


I need to change the font used in an edit window. I
trapped the WM_CTLCOLOR message and simply mapped
a different font into the device context provided
by this message. Unfortunately this works only
half way. Although the edit window displays it's
content using the new font, there seems to be
something messed up with the position of the caret.

Any suggestions?


Wolfgang
schmitz@informatik.uni-kl.de

Newsgroups: comp.os.ms-windows.programmer.misc
From: mokler@desert.in-berlin.de (Claudius Mokler)
Subject: Re: Viewer for postscript doc files on NT sdk.
Organization: Private Site
Date: Mon, 25 Jan 1993 19:44:07 GMT

I am trying to print some pages of the docs; the write format is unuseable,
as mentioned in comp.os.ms-windows.win32 some weeks before.
Well, PS is something fine, but MS did something strange. Obviously, they
didn't use a real PS printer, because they have some ESC-sequences at the
very beginning and end of the files.
Further problems I've got is that my PS printer emulator does not know
the PS commands 'setduplexmode' and 'setpapertray'.
How can I substitute these two seemingly unnecessary commands with some
kind of NOP code ? How many args do these commands expect on the stack ?

Help is fully appreciated, Thanx
-- 
Claudius Mokler
e-mail mokler@desert.in-berlin.de

Newsgroups: comp.os.ms-windows.programmer.misc
From: charles@trintex.uucp (Charles Emmons)
Subject: Re: MS Windows GUI standards.
Organization: Prodigy Services Co.
Date: Fri, 22 Jan 1993 20:24:13 GMT

In article <1jmn32INNk0i@shelley.u.washington.edu> jude@milton.u.washington.edu (Jude Stoller) writes:
>Can anyone point me to a book or file which discusses MS Windows GUI
>standards?
>
>Thanks in advance,
>Jude

Jude
Have you checked out the SDK manual "The WIndows Interface:
An Application Design Guide"
There was a card in my SDK that I sent in to get the
book for free. It's about 200 pages and it describes
the standard that Microsoft wants to see (of course they
don't always follow it :-) )
-Charles Emmons

Voice - 914-993-8856
Fax   - 914-993-8228
Prodigy KJRD82A
 
D
Newsgroups: comp.os.ms-windows.programmer.misc
From: tfj@apusapus.demon.co.uk (Trevor Jenkins)
Subject: WinHelp annotation files --- format of
Distribution: world
Organization: Job hunters use Parachute
Date: Thu, 28 Jan 1993 21:32:19 +0000

Here's a little variation on the usual FAQ about the format of Windows HLP
files. I want to know the format of the annotation files that a user can
create and associate with a particular help file.

Question is therefore "Does anyone know the format of WinHelp's .ANN
files?" Or is this another closely guarded trade-secret of Miscrosoft's?
Please email me and if there are _any_ responses I'll summarise to the
group.

Why do I want to know? I have written a number of HLP files and whilst
using them made annotations about certain topics. Now I want to get the
text out of the annotation files and into the RTFs. (These annotations are
basically proofing notes which now need to be merged in with help text.)

BTW I know the format is NOT described in the W3.1 SDK documents I've
looked.

Regards, Trevor.

---------------------------------------------------------------------------
Trevor Jenkins                                                Re: "deemed!"
134 Frankland Rd, Croxley Green, Rickmansworth, WD3 3AU, England
email: tfj@apusapus.demon.co.uk                               radio: G6AJG  
phone: +44 (0)923 776436
Newsgroups: comp.os.ms-windows.programmer.misc
From: da1-lst@nada.kth.se (Lars-Erik Stenholm)
Subject: SUPERBASE/BC++/DLL
Originator: da1-lst@hemul.nada.kth.se
Reply-To: da1-lst@nada.kth.se (Lars-Erik Stenholm)
Organization: Royal Institute of Technology, Stockholm, Sweden
Date: Thu, 28 Jan 1993 15:21:37 GMT

Posted for a friend of mine...
__________________________________________________________________

To users of Superbase 4 and Borland C++:

I'm having problems trying to call a DLL (wich I write with Borland C++),
from a Superbase 4 DML program. My test example is very easy. My DLL just
returns a string. The following is the code of the C++ program that creates

the DLL:

#include <stdlib.h>
#include <owl.h>
#include "windows.h"

PTModule DLLHelloLib;

extern "C"
{
  char * far mystring();
};

char * far _export mystring() {
        return "Hello Superbase I'm coming from a DLL!!!";
};



int FAR PASCAL LibMain(HINSTANCE hInstance, WORD, WORD, LPSTR lpCmdLine)
{
    int TheStatus;

    DLLHelloLib = new TModule("DLLHello", hInstance, lpCmdLine);
    TheStatus = DLLHelloLib->Status;
    if ( TheStatus != 0 )
    {
      delete DLLHelloLib;
      DLLHelloLib = NULL;
    }
    return (TheStatus == 0);
}

int FAR PASCAL WEP ( int)
{
    return 1;
}



My compilation opptions are:
Applications options: Windows DLL
Model: Large
Defines: _CLASSDLL; STRICT; WIN31
Entry/Exit code: Window DLL explicit functions exported

My .DEF file for compiling the DLL is:

LIBRARY DLLHELLO
DESCRIPTION     'DLL Hello'
EXETYPE WINDOWS
CODE PRELOAD MOVEABLE DISCARDABLE
DATA PRELOAD MOVEABLE SINGLE
HEAPSIZE 1024
EXPORTS mystring

If I call the function mystring from another C program that I have
linked with the DLL import library, it works, I get then string from
DLL. But I don't get it I call the function from my superbase program
wich looks like this:

REGISTER CLEAR
REGISTER "hellodll.dll","mystring","C"
a$ = CALL("mystring")
?a$
REGISTER CLEAR

The message that I get is:
mystring can't find function


If someone have some idea what is missing or what I'm doing wrong I would be
very glad to know it. Thank you very much for all kind of help!!!!

Plese respond with e-mail to jorge@cor.sos.sll.se

Thanks in advance!

Jorge Cantini
Xref: sparky comp.os.ms-windows.programmer.misc:5425 comp.os.ms-windows.programmer.tools:2255 bit.listserv.win3-l:12992
From: harper@convex.com (David Harper)
Subject: Re: Viewer for postscript doc files on NT sdk.
Date: Thu, 28 Jan 1993 03:13:29 GMT
Distribution: usa
Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA
X-Disclaimer: This message was written by a user at CONVEX Computer
              Corp. The opinions expressed are those of the user and
              not necessarily those of CONVEX.

In article <1993Jan27.232252.11602@microsoft.com> roberth@microsoft.com (Robert Hess) writes:
>Henry Manaster (manaster@yu1.yu.edu) on the lack of a PostScript
>viewer on the Windows NT SDK:
> ----
>| Why on Earth did microsoft put this out in this fashion without a
>| viewer. It almost seems like this is part of some mad plan to
>| force people to BUY the docs.
> ----
>In this situation however, the answer is really quite simple. We don't
>have a PostScript viewer that we could put on the SDK.

Just out of curiosity, why didn't Microsoft use the same approach used in the
Developer Network CD-ROM?  I absolutely love the search engine that was built
into this CD-ROM.  I can find anything I need in moments and then can either
view or print it.  Or, if I want, I can just go through the Table of Contents
for the item of interest.  I was really surprised to find that this was not
the case when I got the Windows NT Beta CD-ROM.

Dave
From: mcginnis@kuhub.cc.ukans.edu
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: MS-Win Programmer Wanted
Date: 21 Jan 93 10:33:42 CST
Organization: University of Kansas Academic Computing Services

I have a friend who's looking for a MS-Windows programmer to
work in the Kansas City area.  Salary up to $60 depending upon
experience and expertise.  They're looking for someone hot.

If you're interested, send me your phone number and address and
I'll have Ron give you a call.

Michael McGinnis                Internet: mcginnis@kuhub.cc.ukans.edu
Computer Center                   Bitnet: mcginnis@ukanvax
University of Kansas               Voice: (913)864-0413
Lawrence, KS  66045                  FAX: (913)864-0485

Rust never sleeps.

Newsgroups: comp.os.ms-windows.programmer.misc
From: cl236208@ulkyvx.louisville.edu
Subject: TrueType engine documentation
Date: Fri, 29 Jan 1993 01:14:15 GMT
Organization: University of Louisville

	I'm looking for a complete reference/discussion on the TrueType
engine functions:

EngineRealizeFont
EngineDeleteFont
EngineEnumerateFont
EngineGetCharWidth
EngineSetFontContext
EngineGetGlyphBmp

	I have a "reasonable" bit of info (obtained from the PS35 driver
source code in the DDK) but these functions are not documented in the MS
docs.  I'd get a book on undocumented windows stuff, but I'm really looking
for this info in help file format.


Xref: sparky comp.os.ms-windows.programmer.misc:5391 comp.os.ms-windows.programmer.tools:2243