Re: Sources of information

2000-08-23 Thread Douglas Ridgway



On Tue, 22 Aug 2000, James Sutherland wrote:

> On Tue, 22 Aug 2000, Douglas Ridgway wrote:
> 
> > Don't forget Windows 95 System Programming Secrets: it also has a few
> > tidbits. Now out of print, unfortunately.
> 
> Good point - a couple of online bookstores can sometimes get hold of out
> of print editions if asked. Alternatively, being a Win95 book (hence a bit
> dated), perhaps the author would consider putting the text online??

I think I asked him about this at one point. Since the publisher owns the
copyright, not the author, it's pretty unlikely.

> > On Tue, 22 Aug 2000, James Sutherland wrote:
> > 
> > > Alternatively, there's the Win2k source code, which could be of interest
> > > if you can get your hands on it :-)
> > 
> > Windows source code isn't that hard to get -- there are many licensees,
> > including various universities. It's never been clear to me precisely what
> > you'd use it for, but I'd be glad to be enlightened.
> 
> There's a copy of the Win2k source in Cambridge somewhere, certainly. I
> haven't read the license myself, but I've discussed it with one of those
> with access, and it seems quite permissive: AIUI, you can use the source
> to create your own software, and you're free to do what you want;
> alternatively, you can create software containing their source, and talk
> to them about royalties.
> 
> Limited use for Wine purposes - you wouldn't be allowed to release the
> source to bits written using their proprietary information - but still
> helpful in some instances, I suspect.

Fascinating. In http://www.microsoft.com/presspass/doj/8-4dojmotion.asp,
Microsoft describes the protections they usually put around their source,
and they sound much more restrictive than this. Of course, this is in the
middle of an argument that they should not be compelled to release their
source to DOJ experts.

I would be interested in reading a copy of the license if you run across
it.

doug.
[EMAIL PROTECTED]





Re: Sources of information

2000-08-22 Thread James Sutherland

On Tue, 22 Aug 2000, Dave Pickles wrote:
> On Tue, 22 Aug 2000, you wrote:
> >
> >Alternatively, there's the Win2k source code, which could be of interest
> >if you can get your hands on it :-)
> 
> Hmmm thanks. I was looking for some information on functions exported from
> NT's KERNEL.DLL which don't appear in any documentation. For example,
> CmdBatNotification(), GetConsoleCommandHistory() and ConsoleSubst().

Well, I don't have the source ATM - have you tried looking at the entry
point in the code with a disassembler? That should give a few hints about
what's going on...


James.




Re: Sources of information

2000-08-22 Thread James Sutherland

On Tue, 22 Aug 2000, Douglas Ridgway wrote:

> Don't forget Windows 95 System Programming Secrets: it also has a few
> tidbits. Now out of print, unfortunately.

Good point - a couple of online bookstores can sometimes get hold of out
of print editions if asked. Alternatively, being a Win95 book (hence a bit
dated), perhaps the author would consider putting the text online??

> On Tue, 22 Aug 2000, James Sutherland wrote:
> 
> > Alternatively, there's the Win2k source code, which could be of interest
> > if you can get your hands on it :-)
> 
> Windows source code isn't that hard to get -- there are many licensees,
> including various universities. It's never been clear to me precisely what
> you'd use it for, but I'd be glad to be enlightened.

There's a copy of the Win2k source in Cambridge somewhere, certainly. I
haven't read the license myself, but I've discussed it with one of those
with access, and it seems quite permissive: AIUI, you can use the source
to create your own software, and you're free to do what you want;
alternatively, you can create software containing their source, and talk
to them about royalties.

Limited use for Wine purposes - you wouldn't be allowed to release the
source to bits written using their proprietary information - but still
helpful in some instances, I suspect.


James.




Re: Sources of information

2000-08-22 Thread Dave Pickles

On Tue, 22 Aug 2000, you wrote:
>On Tue, 22 Aug 2000, Dave Pickles wrote:
>
>> Are there any sources of 'undocumented' information about Win32 useful for
>> Wine?
>> 
>> I have Schulman's "Undocumented Windows" book, but that covers 16-bit
>> Windows only. I assumed there would be a similar book covering Win32 but a
>> search in Foyles (London's largest technical bookshop) failed to find one.
>> There is an "Undocumented NT" but it doesn't cover the gaps in the Win32
>> API information.
>
>He also wrote "Unauthorized Windows '95", which makes quite interesting
>reading. It was written before the final builds were out, so there are a
>couple of features which have changed (WINBOOT.SYS reverted to being
>IO.SYS, for example, except on the installation media), but quite a good
>discussion of Win95's underside. Possibly a bit too low-level, though.
>
>IIRC, there were four books - Undocumented DOS and Undocumented Windows,
>and DOS Internals and Windows Internals. All four would be of use for the
>low-level aspects of Windows, but only as far as 3.1.
>
>The Win32 SDK could also be of use - it has a great big .HLP file
>documenting much of the API. There's a link to it somewhere on WineHQ;
>it's also included with Borland's development tools.
>
>Alternatively, there's the Win2k source code, which could be of interest
>if you can get your hands on it :-)

Hmmm thanks. I was looking for some information on functions exported from
NT's KERNEL.DLL which don't appear in any documentation. For example,
CmdBatNotification(), GetConsoleCommandHistory() and ConsoleSubst().

Dave Pickles




Re: Sources of information

2000-08-22 Thread Douglas Ridgway


Don't forget Windows 95 System Programming Secrets: it also has a few
tidbits. Now out of print, unfortunately.

On Tue, 22 Aug 2000, James Sutherland wrote:

> Alternatively, there's the Win2k source code, which could be of interest
> if you can get your hands on it :-)

Windows source code isn't that hard to get -- there are many licensees,
including various universities. It's never been clear to me precisely what
you'd use it for, but I'd be glad to be enlightened.

doug.
[EMAIL PROTECTED]




Re: Sources of information

2000-08-22 Thread James Sutherland

On Tue, 22 Aug 2000, Dave Pickles wrote:

> Are there any sources of 'undocumented' information about Win32 useful for
> Wine?
> 
> I have Schulman's "Undocumented Windows" book, but that covers 16-bit
> Windows only. I assumed there would be a similar book covering Win32 but a
> search in Foyles (London's largest technical bookshop) failed to find one.
> There is an "Undocumented NT" but it doesn't cover the gaps in the Win32
> API information.

He also wrote "Unauthorized Windows '95", which makes quite interesting
reading. It was written before the final builds were out, so there are a
couple of features which have changed (WINBOOT.SYS reverted to being
IO.SYS, for example, except on the installation media), but quite a good
discussion of Win95's underside. Possibly a bit too low-level, though.

IIRC, there were four books - Undocumented DOS and Undocumented Windows,
and DOS Internals and Windows Internals. All four would be of use for the
low-level aspects of Windows, but only as far as 3.1.

The Win32 SDK could also be of use - it has a great big .HLP file
documenting much of the API. There's a link to it somewhere on WineHQ;
it's also included with Borland's development tools.

Alternatively, there's the Win2k source code, which could be of interest
if you can get your hands on it :-)


James.




Sources of information

2000-08-22 Thread Dave Pickles

Are there any sources of 'undocumented' information about Win32 useful for
Wine?

I have Schulman's "Undocumented Windows" book, but that covers 16-bit
Windows only. I assumed there would be a similar book covering Win32 but a
search in Foyles (London's largest technical bookshop) failed to find one.
There is an "Undocumented NT" but it doesn't cover the gaps in the Win32
API information.

Dave Pickles