HDTenEightyP/NetNews huggingface dataset:
From: johnhall@microsoft.com (John Hall)
Subject: Mea Culpa, was Re: Some general DLL questions
Date: 02 Oct 92 17:34:51 GMT
Organization: Microsoft Corporation

In article johnhall@microsoft.com (John Hall) writes:
| 
| And I *think* the answers are:

And I was all wet in a few places.

| In article jyl@toss.eng.sun.com writes:
| | - Is it possible to have a DLL which calls a function defined in the main
| |   program into which the DLL is loaded? If so, how do I declare such a
| |   function in the DLL?
| 
| Pass a function pointer, good only for the process which passes it.

Actually, you can define a function in an exe that is exported,
but it isn't for the faint of heart.  I have some highly unofficial
information about how to do this now, and it is subject to change.

If you describe better why you want to do this, and realize you
have been warned about the solution, I will post more information.

| | - Is it possible to have a program that produces output on the console
| |   (using printf and such) in which it was started and ALSO opens windows?
| |   If so, for what subsystem do I compile it?
| 
| No, but you can call AllocConsole() from a Windows app which will 
| give you your very own console window to use printf with.

I am told this will work -- provided that you did start it from
a console.  [learn something every day.]
If you didn't start it from a console, you have to call AllocConsole()
to get a new, private one.

-- 
-------------------------
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
From: ch@sg1502.chemie.uni-marburg.de (Christoph H. Hochstaetter)
Subject: Re: Having a shell more like X Windows
Keywords: Posix, shell, nt, x
Organization: Philipps-University Marburg
Date: Fri, 2 Oct 1992 14:37:35 GMT

In article <1992Oct1.193904.22823@eng.ufl.edu>, jason@alpha.ee.ufl.edu (Jason
Nadrowski) writes:
|> The preliminary version (july '92) did not, as I know of, have a shell
|> where the active window was the one with the mouse pointer over it as in
|> X Windows.  With NT the user would have to click on the window to make it 
|> active and consequently bring the window to the front.  With the addition 
|> of Posix in Oct/Nov can I expect to see a shell more like X, where I can 
|> have the mouse pointer on an underlapping window (opp of overlapping window)
|> |> and be the active window?
|> 
|> If the above will not happen I would suggest you consider it.  I and
|> everyone
|> that I have talked with would prefer an active window permitted to be
|> below other nonactive windows.
|> 
|> jason

The WIN32 (and WIN16) API distinguishes between the front Window and the Window
that has the input focus, so that should be possible.

Please Microsoft, include it at least as an option for Power users.

Christoph
-- 
Internet: ch@sg1502.chemie.uni-marburg.de
BITNET: HAMPE2@DMRHRZ11
Fido: 2:243/660
Newsgroups: comp.os.ms-windows.programmer.win32
From: tomh@wes.on.ca (Tom Haapanen)
Subject: Re: Is it time to split this newsgroup?
Organization: Waterloo Engineering Software
Date: Mon, 05 Oct 1992 17:15:33 GMT

> alistair@microsoft.com (Alistair Banks) writes:
>> So I think comp.os.ms-windows.nt.setup or comp.os.ms-windows.setup.win-nt
>> might be appropriate - we should think ahead and design a hierarchy that
>> can handle windows 3.x series, windows nt, "Modular Windows" series,
>> and be ready for other future versions of Windows.  [...]

max@underg.UUCP (Max Cray) writes:
> I vote for the former rather than the latter, as it makes it easier for
> those who are just interested in Windows NT, and not 16-bit Windows.

Actually, it should probably be the latter.  There should be no need to
duplicate the entire Windows hierarchy for NT; .apps, .announce., .advocacy
and maybe even .misc can be shared between 3.1 and NT.  They do, after all,
share the same user interface and will have hundreds of common apps.

> I think as a minimum we ought to be thinking about the creation on one
> new newsgroup for Windows NT:
> 	comp.os.ms-windows.nt     For Discussions of Microsoft Windows NT
> With the beta program just about ready for launch, and from the posts in
> this newsgroup there seems to be a need for a non-programmer newsgroup for
> Windows NT.

As of right now, there is no real need.  The .programmer.win32 newsgroup is
relatively low in volume, and 90% of the discussion is development-related.
Once the beta starts, and assuming there is no non-disclosure, we should 
probably create .setup.nt.

> Based in Tim Glauert's suggestion, and the feed back from the MS employees,
> here is a plan for growth in the not too distant future as traffic warrants:
> 	comp.os.ms-windows.nt.announce
>	comp.os.ms-windows.nt.setup
>	comp.os.ms-windows.nt.apps
>	comp.os.ms-windows.nt.programmer
>	comp.os.ms-windows.nt.misc
>	comp.os.ms-windows.nt.advocacy

Again, WHY?  The .programmer.win32 was designed for Win32-specific issues;
.programmer.misc is the appropriate group for all programming common to
the Windows API family.  And apart from the .setup group (and MAYBE .misc)
the others should remain in common with the Windows 3.x groups.

Further, as a veteran organizer of five newsgroup votes and/or reorganizations 
(including comp.windows.ms.programmer and comp.os.ms-windows.*) I can also
tell you that you'll have a hard time getting them passed.

We have a good hierarchy right now; let's not overfragment it!

> Also I am just about done working on the Windows NT FAQ #2. Look for it soon.

Any chance for WinHelp format, like Windows FAQ and Windows Programmer FAQ?

[ \tom haapanen    "i don't even know what street canada is on" -- al capone ]
[ tomh@wes.on.ca                   "trust the programmer" -- ansi c standard ]
[ waterloo engineering software      "to thine own self be true" -- polonius ]
Newsgroups: comp.os.ms-windows.programmer.win32
From: johnhall@microsoft.com (John Hall)
Subject: Re: NT Under SCO Unix
Date: 04 Oct 92 22:46:22 GMT
Organization: Microsoft Corporation

In article max@underg.ucf.org (Max Cray) writes:
| How about a quick review of the Hamilton C Shell for NT?

Faithfully recreates the entire C shell language described
in Berkley 4.3.  Full screen cmd line editing, history,
aliases and shell procedures, PATH hashing, recursive
UNIX style wildcarding, background threads and processes,
Over 130 commands from the Unix world ...

$350.00, unconditional satisfaction gaurantee.
Hamilton Laboratories 508-358-5715 tell Doug I sent you.

==============
I have no commercial relationship with Doug, but I do
like him, he is a nice guy.
==============

-- 
-------------------------
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
From: philipla@microsoft.com (Phil Lafornara)
Subject: Re: Is it time to split this newsgroup?
Date: 30 Sep 92 00:36:20 GMT
Organization: Microsoft Corporation

In article <2PoTRB4w165w@underg.UUCP> max@underg.UUCP (Max Cray) writes:
>
>Actually since a lot of the traffic in this newsgroup is not about
>win32 programming at all, but about nt, I think what we need is a
>comp.os.ms-windows.nt newsgroup, or perhaps even better yet, a comp.os.nt
>newsgroup. The latter would help distinquish the fact that nt is really
>a whole new operating system, with the same interface.

     I disagree - The product is not called NT - it's called Windows NT.
It should definitely fit in under the ms-windows hierarchy.
     I'm not certain that a new group is warranted at this time, though.
If you really think it needs to be created, feel free to do an RFD.

					-Phil

-- 
-------------------------------------------------------------------------
Phil Lafornara         				1 Microsoft Way         
philipla@microsoft.com				Redmond, WA 98052-6399 
Note:  Microsoft doesn't even _know_ that these are my opinions. So there.
Newsgroups: comp.os.ms-windows.programmer.win32
From: alistair@microsoft.com (Alistair Banks)
Subject: Re: Can two NT machines share files or not?
Date: 30 Sep 92 15:00:13 GMT
Organization: Microsoft Corporation

In article <tH1-Sh-@engin.umich.edu> kcurtis@inthehat.engin.umich.edu (Keith Curtis) writes:
>
>Hi;
>
>Will NT support NetDDE? If Yes, how about with any of its DOS/Windows peers which support NetDDE?

There are many products which provide networked DDE services, and WonderWare
showed a port of their NetDDE product working on Windows NT at Spring Comdex/
Windows World. -- Alistair
From: rosenqui@ncs.dnd.ca (E. Rosenquist)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: EISA vs local bus
Keywords: EISA VL
Date: 1 Oct 92 13:46:13 GMT
Organization: Software Kinetics Limited

I have the NT Prelim-SDK on order and am now facing the task of
setting up a machine worthy of it.  A couple of questions come to
mind, my apologies if these have been asked and answered before.

#1 - I can't decide between a machine with an EISA bus or one with a
VESA local bus (VL).  Assuming that the video and HD controllers are
both EISA or VL cards, raw performance should be comparable.  VL
systems have the obvious price edge, but what concerns me more than a
few hundred $$ is the life-span of the machine.  I'll probably start
with 12 or 16 MB of RAM, but it is easy to see that in another year or
two, 32 MB and more will be common.  Given the 16 MB DMA limitation of
the ISA bus (and therefore presumably any VL cards), what kind of
performance hit will an ISA/VL system take when it has more than 16 MB
of RAM?  Does the video driver care if the card is EISA or ISA, or is
this sort of thing taken care of in the hardware abstraction layer?
In other words, would something like a VGA or 8514 driver be smart
enough to avoid moving RAM blocks below 16MB for an EISA card, or will
it take the easy road and always assume ISA?

#2 - I'll probably just have a dual DOS/NT system, but a colleague
here at SKL is already running DOS and Unix (Dell SVR4) on a system
and would like to add NT.  Is it possible to have a multiple-boot
system (3rd party commercial SW even) or, failing that, can NT be
launched from DOS?

Eric
-- 
Eric Rosenquist - Software Kinetics Limited
65 Iber Road, Stittsville Ontario Canada, K2S 1E7
Tel: (613) 831-0888, Fax: (613) 831-1836
email: Eric.Rosenquist@sofkin.ca
Newsgroups: comp.os.ms-windows.programmer.win32
From: kevin@edscom.demon.co.uk (Kevin Broadey)
Subject: MCL with -Yc runs out of far heap space
X-Disclaimer: These opinions are mine: others available on request.
Reply-To: Kevin Broadey <kbroadey@edscom.demon.co.uk>
Organization: EDS-Scicon, Milton Keynes, UK
Date: Tue, 29 Sep 1992 15:39:59 GMT

Platform:	Olivetti PWS4000 (MIPS R4000 processor)
NT version:	July release

I'm using the MCL compiler from \MSTOOLS\BIN\MSMIPS because the code I'm
porting uses pre-compiled header files.

Unfortunately, when I compile with the -Yc flag to create the .PCH, the
compiler dies saying

	"fatal error C1060: compiler is out of far heap space"

Can anyone tell me how to get around this (other than to stop using
precompiled headers).
Newsgroups: comp.os.ms-windows.programmer.win32
From: joel@vthvax.tamu.edu
Subject: Re: LanMan working across a gateway ?
Organization: Veterinary Teaching Hospital, Texas A&M University
Date: Tue, 29 Sep 1992 01:59:38 GMT

Can file systems mounted by NT over TCP/IP, DECNET, or IPX be served
to PCs over Netbeui?  I'd like to load only one protocol stack on my
PC (so it can talk to NT) and let NT do the work of mounting the Netware
and VAX/VMS file systems.  Is that possible?

Joel
Newsgroups: comp.os.ms-windows.programmer.win32
From: brad@huey.Jpl.Nasa.GOV (Brad Hines)
Subject: Compuserve files available
Keywords: compuserve files
Reply-To: brad@huey.Jpl.Nasa.GOV
Organization: JPL Spatial Interferometry Group
Date: Tue, 29 Sep 1992 03:44:32 GMT

I saw a note when I logged into Compuserve this weekend that the
Compuserve file libraries are now available on ftp.uu.net, in
/vendor/microsoft/compuserve-libs.

These are not guaranteed to be up to date, but it sounds like
Microsoft plans on making an effort to update them frequently.

-- 
Brad Hines
Internet: brad@huey.jpl.nasa.gov
Jet Propulsion Lab, Pasadena, California
From: jyl@burgess.eng.sun.com (Jacob Levy)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: More DLL questions
Date: 2 Oct 92 17:26:35
Organization: What?! Organization???
Reply-To: jyl@toss.eng.sun.com
NNTP-Posting-Host: burgess

OK, the answer to my previous question:

| - Is it possible to have a DLL which calls a function defined in the main
|   program into which the DLL is loaded? If so, how do I declare such a
|   function in the DLL?

seems to be:

>Pass a function pointer, good only for the process which passes it.

This implies that the *very same* DLL instance will be shared by more than
one process. That is, if the DLL has some storage then that storage is
shared among all processes attaching to the DLL.. This is quite different
from what I am used to in the SunOS world, where DLLs are private to each
process.

Now, some more questions:

- How can a DLL function identify the process which called it? Is this
  possible at all? If not, then the above answer is not applicable..

and

- Can a DLL do pointer arithmetic based on pointers passed as arguments?

--JYL
From: leeda@cps.msu.edu (Dae Hee Lee)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Re: Implementing RectInvisible(HDC, LPRC)?
Date: 6 Oct 92 00:36:06 GMT
Reply-To: leeda@cps.msu.edu (Dae Hee Lee)
Organization: Dept. of Computer Science, Michigan State University
Originator: leeda@atlantic.cps.msu.edu

Win32 API provides RectVisible(HDC, LPRC) which returns TRUE if any part
of the rect is visible and otherwise returns FALSE.  But no way to
implement RectInvisible(HDC, LPRC) which returns TRUE if any part of the
rect is invisible.  Why?

Daehee
Newsgroups: comp.os.ms-windows.programmer.win32
From: vetter@ssd.intel.com (Jeff Vetter)
Subject: Chinon 431??: Is the Chinon CDS431 a decent alternative?
Keywords: nt,cd,cdrom,drive,chinon
Organization: Intel Supercomputer Systems
Distribution: usa
Date: Tue, 29 Sep 1992 20:54:33 GMT

After pricing available CDROM drives, the Chinon CDS431 stands out as the
least expensive. Can anyone comment on the quality/seek time/transfer rate?
Compared to the NEC CDR74/84, the CDS431 is definitely closer to my price range.
Thanks.

	- Jeff
From: jyl@burgess.eng.sun.com (Jacob Levy)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: NT Win32 DLL building problem
Date: 29 Sep 92 11:48:35
Organization: State Retirement Home for Retarded Slugs
Reply-To: jyl@toss.eng.sun.com
NNTP-Posting-Host: burgess

The following files attempt to create a DLL under Win32. To repeat the
test, do "nmake -f makefile.nt the_dll.dll" and see for yourself if you get
the same behavior. The final link step complains that _main is undefined.
Any and all help will greatly be appreciated.

--JYL

--- makefile.nt ---
# Makefile for my simple dll test

# Nmake macros for building Windows 32-Bit apps

!include <ntwin32.mak>

# This line allows NMAKE to work as well

all: mytest.exe the_dll.dll

# Update the object files if necessary

mytest.obj: mytest.c
    $(cc) $(cflags) $(cvars) mytest.c

the_dll.obj: the_dll.c
    $(cc) $(cflags) $(cvars) the_dll.c

# Update the library for the dll

the_dll.lib: the_dll.obj the_dll.def
    lib -machine:$(CPU)     \
    -def:the_dll.def	    \
    -out:the_dll.lib

# Update the dynamic link library

the_dll.dll: the_dll.obj the_dll.def the_dll.lib
    $(cvtobj) $(cvtdebug) the_dll.obj
    $(link)              \
    -base:0x1C000000     \
    -dll                 \
    -subsystem:windows	 \
    -entry:LibMain       \
    -out:the_dll.dll     \
    the_dll.obj the_dll.exp $(guilibs)

# Update the executable file if necessary.
# If so, add the resource back in.

mytest.exe: mytest.obj mytest.res mytest.def
    $(link) $(guiflags) -out:mytest.exe mytest.obj $(guilibs)

--- the_dll.c
#include    <windows.h>
#include    <stdio.h>

INT APIENTRY LibMain(HANDLE hInst, DWORD ul_reason, LPVOID reserved)
{
    return 1;
    UNREFERENCED_PARAMETER(hInst);
    UNREFERENCED_PARAMETER(ul_reason);
    UNREFERENCED_PARAMETER(reserved);
}

static void mystatic1()
{
    printf("Hi from the static function inside the dll!\n");
}

typedef void (*PCode)();

PCode mydllfunc()
{
    return mystatic1;
}

--- the_dll.def ---
LIBRARY   the_dll


CODE      PRELOAD MOVEABLE DISCARDABLE
DATA      PRELOAD SINGLE

EXPORTS
    mydllfunc       @2
Newsgroups: comp.os.ms-windows.programmer.win32
From: cardita@intelhf.hf.intel.com (Ken Cardita)
Subject: Install Help! can't get NT to see Bus Mouse
Summary: I have got NT Installed and running but No Bus Mouse
Keywords: NT INSTALL MOUSE
Organization: Development Tools Operation, Intel Corp., Hillsboro  OR
Date: Fri, 2 Oct 92 22:13:33 GMT

I have a Logitec Bus mouse on my PC. When I installed NT I never  saw a 
mouse cursor.  When I went into control panel / mouse it said that I had
no mouse installed.  I tried to run SETUP to configure a mouse but all
setup wanted to do was Reinstall/update NT.

What gives ? What MaGic do I need to get NT to work with a Logitec
Bus Mouse ??

BTW  the mouse works fine with DOS and WIN 3.1:

Thanks in advance


Newsgroups: comp.os.ms-windows.programmer.win32
From: rupertb@is.morgan.com (Rupert Brown)
Subject: Re: SUN SPARC CD-ROM
Organization: Morgan Stanley - IS
Date: Thu, 1 Oct 1992 11:46:42 GMT

Best thing I can recommend here would be to use PC NFS if you have it.
Do  a mount - hsfs (high sierra) of the CD rom on the sparc and then use
the dos2nt network batch install via a network drive on the PC

- Rupert
From: huddy@canon.co.uk (Richard Huddy)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: 256 colour screen drivers
Summary: Looking for 256 colour drivers
Keywords: 256 colour, NT
Date: 28 Sep 92 09:29:43 GMT
Organization: Canon Research Centre Europe Ltd


Does any one have any 256 colour drivers for Windows NT yet?
The only one that came with my July distribution is for XGA
which is no use to me. I actually have access to both a tseng
et4000 card and a Western Digital/Paradise card. When I tried
asking Microsoft they told me...
	
	a). We don't know whether they exist yet...
	and
	b). If they do exist they're on Compuserve...

Since I don't currently have access to Compuserve I wonder if some
kind soul could let me know whether they're there.


Many thanks,
Richard Huddy

--------------------------------------------------------------
- email : huddy@canon.co.uk                                  -
- phone : +44 483 574325        Fax : +44 483 574360         -
--------------------------------------------------------------
-                                                            -
-        My opinions, like my trousers, are my own.          -
-        (And not necessarily to everyone's taste.)          -
-                                                            -
--------------------------------------------------------------
-- 
--------------------------------------------------------------
- email : huddy@canon.co.uk                                  -
- phone : +44 483 574325        Fax : +44 483 574360         -
--------------------------------------------------------------
Newsgroups: comp.os.ms-windows.programmer.win32
From: kevin@edscom.demon.co.uk (Kevin Broadey)
Subject: Intermittent problems opening an FTP connection
X-Disclaimer: These opinions are mine: others available on request.
Reply-To: Kevin Broadey <kbroadey@edscom.demon.co.uk>
Organization: EDS-Scicon, Milton Keynes, UK
Date: Thu, 1 Oct 1992 14:40:58 GMT

I'm using an Olivetti PWS4000 with a built-in ethernet adaptor.

Occasionally, when I do

	ftp 192.9.200.7

to open an FTP connection (I haven't set up a hosts file, I *like* long
numbers :->), I get the

	Connected to 192.9.200.7

response, but no login prompt from the remote host.  I have to ctrl-C to
get out and try again.  I usually have to try several times, wait a bit
then try again before I finally get through.

This is a real pain.  Is it my Oli's fault or the Sun at the other end?

Kevin
From: paulb@harlqn.co.uk (Paul Butcher)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: WS_EX_TRANSPARENT and NT
Date: 2 Oct 92 17:09:35 GMT
Organization: Harlequin Ltd, Cambridge, UK

Does anyone know anything about transparent windows under NT?  I have a 
program which creates a transparent window which is giving me serious
problems at the moment.

The program works fine under 16-bit windows.

The program works fine under NT as long as I don't create the window
with the WS_EX_TRANSPARENT flag.

If I create the window with the WS_EX_TRANSPARENT flag, the program dies
reliably inside DispatchMessage when dispatching a WM_PAINT message :-(

Any ideas anyone?

Please mail me any responses - our mail server is *way* behind, and if you
post I won't see your message for weeks :-(

Thanks in advance,

PaulB->msgCount++

e-mail: paulb@harlqn.co.uk
From: dnater@verity.com (Dan Nater)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: TCP/IP Problems
Date: 6 Oct 92 00:33:18 GMT
Reply-To: dnater@verity.com (Dan Nater)
Organization: Verity, Inc., Mountain View, Calif.

How Do:

WINDOWS NT
Beta July 1, 1992

I am having trouble getting TCP/IP started.  I have a 3com 3c507 ethernet card.
When I run: 

net start tcpipsvc  

It fails with some pretty lame messages....
Have any of you had the same trouble?

Thanks, 
Dan Nater
dnater@verity.com

*****************************************
                                   (*^)$$#$()&%#)^#)&%^
*****************************************
Newsgroups: comp.os.ms-windows.programmer.win32
From: ch@sg1502.chemie.uni-marburg.de (Christoph H. Hochstaetter)
Subject: Re: Internet vs Compu$er
Organization: Philipps-University Marburg
Date: Mon, 28 Sep 1992 16:25:31 GMT

In article <1154.1101.uupcb@satalink.com>, bert.tyler@satalink.com (Bert Tyler)
writes:

|> When I signed onto the Microsoft Federal BBS a few weeks ago (to gain
|> access to the not-yet-backboned Fidonet WIN32 echo), their "new user"
|> survey asked for Compuserve, Internet, Fidonet, Surface Mail, FAX, 
|> and phone numbers.  They would have asked for the name of my favorite
|> psychic as well, but I think they already knew it <grin>.
|> 
|> BTW, the Fidonet WIN32 echo seems to have disappeared from the list
|> of message areas supported by that BBS.  Does anybody have any idea
|> what happened?
|> 

Unfortunately there is some trouble backboning the WIN32 echo. To 
get access to the WIN32 echo in the US via Fido contact Bruce Chester
(Fido 1:204/12). In Europe contact Eric Lapaille (2:293/2203) or me
(2:243/660). We are also carrying out all COMPU$ERVE Files from the
WINNT and MSWIN32 conferences.

Christoph
-- 
Internet: ch@sg1502.chemie.uni-marburg.de
BITNET: HAMPE2@DMRHRZ11
Fido: 2:243/660
From: spsisira@sdrc.COM (spsisira)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Printing NT docs on DEC Postscript printers
Date: 26 Sep 92 22:32:10 GMT
Organization: SDRC, Cincinnati
X-Newsreader: TIN [version 1.1 PL6]

I am trying to print the NT docs from DEC Printserver 20. It aborts the
job due to some offending postscript commands. Actually the ofending comand
it lists is a blank word.

I would like to seek help from those who have successfully printed NT docs
from DEC printers.

Thank you very much in advance.

Sisira.

Sisira Jayasinghe Ph.D.
Sr. Technical Development Engineer

uunet!sdrc!cvg!spsisira      Structural Dynamics Research Corporation
spsisira@sdrc.com            2000 Eastman Dr.
spsisira@cvg.sdrc.com        Milford OH 45150 USA
Newsgroups: comp.os.ms-windows.programmer.win32