HDTenEightyP/NetNews huggingface dataset:
Subject: Re: POSIX interface/Access to WIN32 calls 
Distribution: world
Organization: None
Reply-To: chris@chrism.demon.co.uk
X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19)
Date: Sat, 23 Jan 1993 17:42:19 +0000

In article <1993Jan22.232051.28262@microsoft.com> johnhall@microsoft.com writes:

>In article db@argon.Eng.Sun.COM (David Brownell) writes:
>I am not an official MS Spokesbeing.  However, This is
>how I view the problem:
>
>Think of NT as a virtual operating system where three different
>subsystems (at present) take the primitive objects and proceedures
>available in NT and implement their own particular ideas of
>security, process structure, and system capabilities.
>

*Three* different subsystems?  There's:

    Win32
    Win16 ("WOW")
    DOS
    OS/2
    Posix

By my count that's *five* :)

>-- 
>-------------------------
>My comments are my own.  They are independent and unrelated to the
>views of my company , relatives or elected representatives.
>
>

Best wishes,

Chris
-- 
--------------------------------------------------------------------------
| Chris Marriott                           | chris@chrism.demon.co.uk    |
| Warrington, UK                           | BIX: cmarriott              |
|                                          | CIX: cmarriott              |
| Save the whales.  Collect the whole set. | CompuServe: 100113,1140     |
--------------------------------------------------------------------------
From: dale@mkseast.uucp (Dale Gass)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Finding message strings for error numbers...
Date: 27 Jan 93 02:40:20 GMT
Organization: Mortice Kern Systems, Atlantic Canada Branch

(Yet another complaint on my part about having to use undocumented calls
to achieve a basic function...)

NT has (well, to use a nice word) a "wealth" of error codes, about 550
listed in winerror.h.

There doesn't appear to be any documented way to convert such an error 
code from GetLastError() into an informative string.

I tried compiling up a quick "main{perror()};" program to see if it had
any clues.  Not.  It just had a sys_errlist table in CRTDLL for the first
37 error messages (which are the same ones as on DOS).

I noticed that cmd.exe appeared to print full error message strings:
("type [" generates a nice, verbose string).

Hunting around with the debugger, I find Yet Another Undocumented Call, 
which I guess goes something like this:

	BOOL RtlFindMessage(void *dll, 
			    DWORD a, 
			    DWORD b, 
			    DWORD status, 
			    struct msg m)

	"dll" appears to be a pointer into the address space of the appropriate
	dll.  If you point it into KERNEL32.DLL, the messages you get are
	the kernel error messages.  CMD.EXE also uses this call, with dll 
	pointing into itself to retrieve other strings of its own.

	"a" always appears to be 0xb
	"b" always appears to be 0
	Status is the error code we want to look up.

	struct msg {
		DWORD num;	Some number
		char str[1];	Start of the error message string.
	}

Now this looks like a genuinely useful call, and the only way to print out
an aribtrary but meaningful error string based upon a value returned by
GetLastError().

Is there any "official" way to do the same thing?

-dale
-- 
 Dale Gass, Mortice Kern Systems, Atlantic Canada Branch
Business: dale@east.mks.com, Pleasure: dale@mkseast.uucp
From: fuad@madrone.eecs.ucdavis.edu (Turnando Fuad)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Win NT install on GW 66V
Date: 27 Jan 93 20:52:07 GMT
Reply-To: fuad@madrone.eecs.ucdavis.edu (Turnando Fuad)
Organization: CIPIC

I am getting ready to load NT on a GW 66V(using ultrastor 34F), and I am waiting
for a new EPROM from Ultrastor that would allow the driver on the NT install disk
to work. I also have an external SCSI drive(Toshiba X-33) and I am wondering if
I need additional drivers or software for NT to access the CDROM drive.

I would appreciate any advise on this matter and also any problems and solutions
with regards to GW66V and NT would also be greatly appreciated.

--
Turnando Fuad 				Phone: (916)752-2387
CIPIC (Center for Image Processing and Integrated Computing) 
University of California		Internet: tfuad@ucdavis.edu
Davis, CA 95616				Bitnet:   tfuad@ucdavis.bitnet
Newsgroups: comp.os.ms-windows.programmer.win32
From: alistair@microsoft.com (Alistair Banks)
Subject: Re: What is Net DDE? Is it in NT?
Date: 21 Jan 93 16:59:19 GMT
Organization: Microsoft Corporation

In article <wright.95.0@lims01.lerc.nasa.gov> wright@lims01.lerc.nasa.gov (Ted Wright) writes:
>Can someone explain Net DDE?
Network DDE is the name of a utility included in Windows for Workgroups, and
also will be in the next Win32 SDK update. Since DDE conversation setup in a
local machine involves a message sent to all local applications so that
one may choose to respond (DDE_Initialise), its simple for a message
forwarding utility to respond to that DDE_Initialise, package up the
request, send it on to other network machines, and act as a proxy for
all ensuing DDE-related messages between two applications on different
machines. That is exactly what Network DDE does, enabling applications
which support DDE but have no idea about network APIs, to exchange their
data across the network -- Alistair
Newsgroups: comp.os.ms-windows.programmer.win32
From: eng10056@nusunix1.nus.sg (LAU YIN CHENG)
Subject: REQUIREMENTS TO RUN NT - HELP
Organization: National University of Singapore
X-Newsreader: TIN [version 1.1 PL6]
Date: Thu, 21 Jan 1993 00:51:25 GMT

I am currently haveing a 486DX-33 system with 4MB memory and the system
is of 16-bit bus structure.

Can NT run on a 16-bit bus structure?
Does Win32 need a 32-bit structure?

I was thinking about upgrading my system's memory to 16MB to prepare it
for NT.  But when I discovered that my system is of 16-bit bus structure
I hesitated.  That is the reason why I posed the question.

Please help.  Thanks in advance.



Newsgroups: comp.os.ms-windows.programmer.win32
From: hochstae@allfiwib1.wiwi.uni-marburg.de (Christoph H. Hochstaetter)
Subject: Re: ATI Graphics Ultra + Drivers?
News-Software: IBM OS/2 PM RN (NR/2) v0.17 by O. Vishnepolsky and R. Rogers
Reply-To: hochstae@allfiwib1.wiwi.uni-marburg.de (Christoph H. Hochstaetter)
Organization: Philipps-University Marburg, Germany
Date: Mon, 25 Jan 1993 16:17:38 GMT

In <C109J9.BMD@cs.mcgill.ca> storm@cs.mcgill.ca (Marc WANDSCHNEIDER) writes:
>
>I seem to recall somebody mentioning once that there ARE drivers available for
>the ATI GUP cards for NT.  Can somebody point me to where these might be..?
>

The filename is MXXNT5.ZIP and it is available in the directory
/pub/pc/win3/uploads on ftp.cica.indiana.edu.

Christoph
-------------------------------------------------------+-----------------------
Christoph H. Hochstaetter, Philipps-University Marburg | Universitaetsstr. 25
Internet: hochstae@allfiwib1.wiwi.uni-marburg.de       | D-W-3550 Marburg
Bitnet  : HOCHSTAE AT DMRHRZ11                         | Germany
Fido    : 2:243/660                                    | Phone +49-6421-28-7092
Fax     : +49-6421-28-4858                             |
From: dale@mkseast.uucp (Dale Gass)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: NT Subsystems...
Date: 26 Jan 93 21:19:25 GMT
Organization: Mortice Kern Systems, Atlantic Canada Branch

Just got "Inside Windows NT", and am starting to understand the NT design
a bit better...  I do have some concerns, though...

I can see the elegance in having every user process be a client of a
subsystem, which is implemented in terms of NT kernel level calls.
However, these NT kernel level calls are apparently not accessible
from user level applications, only from the subsystems.  If the subsystem
decides to provide an API to grant access to the functionality provided
by the kernel level API's, fine.  If it doesn't, there's no way you can
achieve that functionality within the subsystem.

This strikes me as a serious disadvantage to this design approach.
I am at the mercy of Microsoft's subsystem implementations in determining
the functionality I can get out of NT.  They don't provide any full-screen
control from the Posix subsystem, so all my Posix applications are doomed
to be pathetic interactively...  This wouldn't be so bad if there were some
way for the developer to work around it, but there doesn't appear to be
any way to do so, short of re-implementing the subsystem from scratch.

Also, I have seen no evidence of a "Subsystem Developers Toolkit", which
would allow me to write my own subsystem to meet my all of my needs.
I guess these kernel level calls are the undocumented ones which Microsoft
doesn't document, because they are "subject to change"...

What I would *love* to see would be either the availability of subsystem
source code (not likely) so a developer could extend it (which would
require all my customers to have the new subsystem, ugh!), or even better,
add some hook for developers to *extend* the API's available from a
subsystem.

With the latter approach, for example, I could implement a full curses
by adding the appropriate API's, written in terms of the kernel level
API's.  This "subsystem extension" (most likely a DLL) could allow adding
any functionality to any subsystem, in whatever manner is most appropriate
to the developer.

Without many of the common extensions found on Posix compliant system
(such as curses, terminfo, etc.), the Posix subsystem is more or less 
useless.  It may meet the U.S. government FIPS, but no applications of any 
complexity could be made to work under it, so it will not be a Posix system 
of choice.  I don't necessarily expect Microsoft to provide these extensions
themselves, but I do expect them to make it possible for me to provide them, 
if I wish.  Currently, they don't.

-dale
-- 
 Dale Gass, Mortice Kern Systems, Atlantic Canada Branch
Business: dale@east.mks.com, Pleasure: dale@mkseast.uucp
From: magid@ocf.berkeley.edu (Paul Magid)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Need help deciding to upgrade to NT
Date: 28 Jan 1993 21:01:45 GMT
Organization: U.C. Berkeley Open Computing Facility
NNTP-Posting-Host: sandstorm.berkeley.edu


I was in the Win 3.1 beta program, and I remember being solicited to 
join the NT program.  Now that I finally have upgraded to equipment 
that can handle Win NT well, I am interested in joining the Win NT 
beta program.  But, before I do join I have some questions and 
reservations.  Now, before I ask my questions I must say that I am
aware of what an NDA is, and for that reason I would prefer it if a 
person from Microsoft would get back to me.

My first and main worry is my stacked hard drive.  I take it that I will 
not be able to use the drive because of the way NT deals with device 
drivers.  I would like to know if there are any work arounds or if there 
is a Stacker NT driver beta.  Are there any other drivers that are 
incompatible with NT.  I need to know that if, for example, the manufacturer
of my hand scanner for some brain dead reason decides not to write an NT 
driver that I will still be able to use the old dos driver, software, and
windows software.  Compatability was almost a crusade in the Win 3.1 beta
I would like to know if this positive philosophy of the 3.1 beta is also 
in practice with the NT beta.  I would really apreciate any info about
any other traps, or even positive aspects of the OS, that are not common 
knowledge.

How big is Win NT? Bigger than OS/2?  Do I really need Win NT if I am a
single user, unnetworked, single processor, non-paranoid about security
computer user?

I hope it is not too late to join the program. I really would appreciate 
answers to my question because they will determine whether I stay with 
Win 3.1 and Dos or move up to NT.


Thank you.


Paul


P.S. I do have a CD-Rom and tape backup.
From: ST33161@VM.CC.LATECH.EDU
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: DOS Client to Windows NT
Date: Sat, 23 Jan 93 16:59:10 CST
Organization: Louisiana Tech University
NNTP-Posting-Host: vm.cc.latech.edu

What client software do I need to access Drives and Printers on a Windows NT
machine?
Newsgroups: comp.os.ms-windows.programmer.win32
From: alistair@microsoft.com (Alistair Banks)
Subject: Re: POSIX interface/Access to WIN32 calls
Date: 21 Jan 93 17:03:58 GMT
Organization: Microsoft Corporation
Distribution: comp

In article <1993Jan18.205847.13264@sobeco.com> rcroteau@sobeco.com (r.croteau) writes:
>Can I in some way make WIN32 calls from
>a POSIX compiled application.

You cannot make Win32 calls directly from a posix process, but the
result you're trying to achieve is quite easy. The most simple technique
is to have you GUI code be in a Win32 process, which starts your POSIX
code as a child process, with the posix processes stdin/stdout handles
piped back into the win32 process - this gives you a fast and simple
IPC between your win32 and posix code, and since the x11 APIs are
client/serve in nature, its quite easy to keep the posix code identical,
passing back the X-like calls to the win32 process which then
"does the right thing" -- Alistair
Newsgroups: comp.os.ms-windows.programmer.win32
From: hochstae@allfiwib1.wiwi.uni-marburg.de (Christoph H. Hochstaetter)
Subject: Re: Transtor T128 NT driver
News-Software: IBM OS/2 PM RN (NR/2) v0.17f by O. Vishnepolsky and R. Rogers
Reply-To: hochstae@allfiwib1.wiwi.uni-marburg.de (Christoph H. Hochstaetter)
Organization: Philipps-University Marburg, Germany
Date: Thu, 28 Jan 1993 10:44:51 GMT

In <1993Jan22.154947.17757@cbnews.cb.att.com> liaohen@cbnews.cb.att.com (Heng-Hsin Liao) writes:
>I am looking for Transtor T128 driver for NT. If anybody has the
>information, please post it here or send e-mail to me.
>

You can get the file nt-tsl1.zip from cica's upload directory or from
allfiwib1.wiwi.uni-marburg.de in /ftp/anonymou/nt

Christoph
-------------------------------------------------------+-----------------------
Christoph H. Hochstaetter, Philipps-University Marburg | Universitaetsstr. 25
Internet: hochstae@allfiwib1.wiwi.uni-marburg.de       | D-W-3550 Marburg
Bitnet  : HOCHSTAE AT DMRHRZ11                         | Germany
Fido    : 2:243/660                                    | Phone +49-6421-28-7092
Fax     : +49-6421-28-4858                             |
From: brehonyt@ul.ie
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Looking for 32 bit ANSI-C compiler for Win3.1
Date: 27 Jan 93 19:51:44 GMT
Organization: University of Limerick, Ireland




I'm looking for a 32 bit ANSI-C compatible compiler for DOS/Win 3.x. I 
know there are a few on the market. What are they and which are the best
(IYHO) ?. Also which have facilities analagous to the Quickwin facility 
supported by Microsoft C/C++ 7.0. 

Basically what I want to do is to create a 32 bit Win 3.1 program from 
an character mode, 32 bit ANSI C system.

Any comments, advice , etc would be appreciated. Thanks.

Tom Brehony.
Email : brehonyt@ul.ie 
Newsgroups: comp.os.ms-windows.programmer.win32
From: hochstae@allfiwib1.wiwi.uni-marburg.de (Christoph H. Hochstaetter)
Subject: Hamilton C-Shell
News-Software: IBM OS/2 PM RN (NR/2) v0.17f by O. Vishnepolsky and R. Rogers
Reply-To: hochstae@allfiwib1.wiwi.uni-marburg.de (Christoph H. Hochstaetter)
Organization: Philipps-University Marburg, Germany
Date: Tue, 26 Jan 1993 18:36:01 GMT

I got a demo version of the Hamilton C-Shell from CI$. I made it available
on allfiwib1.wiwi.uni-marburg.de in /ftp/anonymou/nt. The filename is
hcsh.zip

This demo exits automatically every 5 commands you type. It includes binaries
for I386/MIPS/ALPHA.

I will upload it to cica as soon as they allow uploads again.

Christoph
-------------------------------------------------------+-----------------------
Christoph H. Hochstaetter, Philipps-University Marburg | Universitaetsstr. 25
Internet: hochstae@allfiwib1.wiwi.uni-marburg.de       | D-W-3550 Marburg
Bitnet  : HOCHSTAE AT DMRHRZ11                         | Germany
Fido    : 2:243/660                                    | Phone +49-6421-28-7092
Fax     : +49-6421-28-4858                             |
Newsgroups: comp.os.ms-windows.programmer.win32
From: Ollie.Treadway@launchpad.unc.edu (Ollie Treadway)
Subject: NT X Windows development by DEC
Keywords: XWindows DEC
Organization: University of North Carolina Extended Bulletin Board Service
Distribution: usa
Date: Fri, 29 Jan 1993 05:15:55 GMT

An article in the NT knowledge base indicated that DEC was going to
provide X Windows for NT.  Could anyone (hopefully a DEC person) let me
know if this is just an X server or will I be able to develop and run
X applications in NT?



--
   The opinions expressed are not necessarily those of the University of
     North Carolina at Chapel Hill, the Campus Office for Information
        Technology, or the Experimental Bulletin Board Service.
           internet:  laUNChpad.unc.edu or 152.2.22.80
From: tommy@taichung.Eng.Sun.COM ()
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Library which can support DOS, OS2, and NT.
Date: 21 Jan 1993 21:43:02 GMT
Organization: Sun Microsystems, Inc.  Mt. View, Ca.
Distribution: world
Reply-To: tommy@taichung.Eng.Sun.COM ()
NNTP-Posting-Host: taichung
Originator: tommy@taichung


Hi netter,

	I heard that these is a library which can support
DOS, OS/2, and NT to exist on the same disk and still can boot to
each OS.

	Does anybody happen to have the library  on hand ?
If possible, please e-mail me the library. Thanks in advance.


=================================================================
          NAME   Tommy Hsieh
          EMAIL  tommy.hsieh@sun.com
          PHONE  415-336-3503 (work)
=================================================================
-- 
=================================================================
          NAME   Tommy Hsieh
          EMAIL  tommy.hsieh@sun.com
          PHONE  415-336-3503 (work)
=================================================================
Newsgroups: comp.os.ms-windows.programmer.win32
From: slahiri@magnus.acs.ohio-state.edu (Santanu Lahiri)
Subject: Need help with Win/NT Installation
Organization: The Ohio State University
Distribution: na
Date: Mon, 25 Jan 1993 17:49:03 GMT

Hi folks,

I finally installed NT over the weekend on my machine but ran into a couple
of problems.  I would like to hear from others if they have had these
problems or if they can suggest any fixes.

My machine configuration:

     486 DX2-66  VESA Local Bus   ATI Graphics Ultra Pro 1 Mb
     16Mb RAM                     ADAPTEC 1542B SCSI Controller
     Logitech Bus Mouse @ IRQ5    Maxtor SCSI disk formatted NTFS.
     Com1, Com2, Lpt1             Sony CDU 541

I installed NT using the NT Boot Disk, and it seemed to install correctly.
The default installation detected Microsoft Bus Mouse, but later the mouse
refused to work.  In fact there was no mouse cursor.  I know it worked
earlier as I had been able to use the mouse under a number of programs
including Win 3.1.  I have tried all the drivers listed, to no effect.
Finally I tried an el-cheapo serial mouse on COM2.  That has been working,
again using the Bus Mouse driver.

Second problem: video card.  Once again, this card worked just fine on Win
3.1 at 1024*768.  On NT, the default VGA mode works just fine,  but I would
like to use a 1024*768 mode.  I got the latest(?) driver from CServe
(Saturday Jan 23rd).  Copied the files to proper directories, started
ANTPANEL.EXE, selected the modes etc.  When I rebooted, the display was
gone.  Actually there were some horizontal lines visible on the top part
of the monitor that I guess was the opening NT logo.

I used the repair disk to restore the VGA configuration, and since then have
been test running a lot of software, mostly Windows based, and have not had
any other major problem yet.

So my questions are

 Has anyone had similar mouse problems?  If so, could you fix them, and how?

 What do I need to do with the ATI card to get the driver working correctly?

Any suggestions, flames, criticisms will be welcome.

Thanks

Santanu
-- 
Santanu
-------------------------------------------------------------------------------
:: cat flames > /nev/dull                     slahiri@magnus.acs.ohio-state.edu
Newsgroups: comp.os.ms-windows.programmer.win32
From: hochstae@allfiwib1.wiwi.uni-marburg.de (Christoph H. Hochstaetter)
Subject: ATI Ultra/8514/VGA Wonder & mouse
News-Software: IBM OS/2 PM RN (NR/2) v0.17e by O. Vishnepolsky and R. Rogers
Reply-To: hochstae@allfiwib1.wiwi.uni-marburg.de (Christoph H. Hochstaetter)
Organization: Philipps-University Marburg, Germany
Date: Mon, 25 Jan 1993 20:54:22 GMT

In <1993Jan25.161738.3355@solaris.rz.tu-clausthal.de> hochstae@allfiwib1.wiwi.uni-marburg.de (Christoph H. Hochstaetter) writes:
>In <C109J9.BMD@cs.mcgill.ca> storm@cs.mcgill.ca (Marc WANDSCHNEIDER) writes:
>>
>>I seem to recall somebody mentioning once that there ARE drivers available for
>>the ATI GUP cards for NT.  Can somebody point me to where these might be..?
>>
>
>The filename is MXXNT5.ZIP and it is available in the directory
>/pub/pc/win3/uploads on ftp.cica.indiana.edu.
>

I recently received a new ATI-Driver (released 23JAN93) MXXNT6.ZIP. Since
cica does not allow uploads right now, get it from
allfiwib1.wiwi.uni-marburg.de in /ftp/anonymou/nt.

This driver does not support VGA Wonder graphics, but contains a new
mouse driver, that should work with the VGA Wonder mouse. At least the
README says so. I have no VGA Wonder to test.

The README also says, that the ATI Ultra/8514 not found bug was fixed.

Christoph
-------------------------------------------------------+-----------------------
Christoph H. Hochstaetter, Philipps-University Marburg | Universitaetsstr. 25
Internet: hochstae@allfiwib1.wiwi.uni-marburg.de       | D-W-3550 Marburg
Bitnet  : HOCHSTAE AT DMRHRZ11                         | Germany
Fido    : 2:243/660                                    | Phone +49-6421-28-7092
Fax     : +49-6421-28-4858                             |
Newsgroups: comp.os.ms-windows.programmer.win32
From: gary@nshade.uah.ualberta.ca (Gary Ritchie)
Subject: Re: Q: Joining Beta Program
Organization: University Of Alberta, Edmonton Canada
Date: Sat, 23 Jan 1993 18:47:47 GMT

> >How do I join the NT beta program?  I have the requisite hardware,
> >now I want the fabled CD-ROM.
> 
> Call Microsoft Developer Services at (800) 227-4679.  The CD only is  
$69,
> CD plus docs is $399.

Does that number work in Canada as well?  I'd try it, but I can't dial any  
numbers starting with 1 from my phone here...
Newsgroups: comp.os.ms-windows.programmer.win32
From: johnhall@microsoft.com (John Hall)
Subject: Re: Getting user/kernel CPU times for current process...
Date: 21 Jan 93 19:01:53 GMT
Organization: Microsoft Corporation

In article dale@mkseast.uucp (Dale Gass) writes:
| I'm trying to find a way to for a proces to find out the the amount of CPU 
| time (user and system if possible) that it (and it's children, if possible) 
| have consumed.

Alistair already mentioned getting this information through the
registry.

On ftp.uu.net, in vendor/microsoft/OS2toWindows you will find
two files, perf.zip (which will show you how to do what you
wish) and perf.mak which is an updated make file for perf.zip.



-- 
-------------------------
My comments are my own.  They are independent and unrelated to the
views of my company , relatives or elected representatives.

Newsgroups: comp.os.ms-windows.programmer.win32