Runtime code vs compile time conditional compilation

2004-02-14 Thread John Birrell
I'm new to Wine development. Today I decided to have a better look at how Wine is built rather than just blindly running 'configure' and hoping that all would work out. I'm a FreeBSD developer, so I tend not to trust 'configure' to DTRT. Don't shoot me for that, please. 8-) I came across code in l

Setup .inf files

2004-02-14 Thread Chris Morgan
Here is a first pass at replacing winedefault.reg with a windows inf file and dll registration. The registry entries in the inf file are not complete. Other than quite a few missed entries I've also left out the keys for Codepages and the Country List entries as these are pretty large(lots of

RE: Windows 2000 source code has been leaked

2004-02-14 Thread Robert Shearman
Robert Lunnon wrote: > > The mere "claim" of an infringement by Microsoft's army of > lawyers can make > major corporations quiver in their boots. That's true. Although, the fact that we have a source control system that allows us to account for where every piece of code comes from should allow us

Re: Darwine Update, Question

2004-02-14 Thread Francois Gouget
On Sat, 14 Feb 2004 [EMAIL PROTECTED] wrote: [...] > It is the configure script created after running winemaker on the source > directory. It seems like you used the --mfc option, or for some reason winemaker thought your application uses the MFC. In any case, if you use re-run wniemaker with the

Re: using the FIXME macro

2004-02-14 Thread Francois Gouget
On Sat, 14 Feb 2004, Dimitrie O. Paun wrote: > On February 14, 2004 08:50 am, Zimler Attila wrote: > > Could somebody help with that library's name? > > The problem is that you're in an application, and unfortunately > things work differently there. Just use WINE_FIXME() instead. I would rather s

Re: Windows 2000 source code has been leaked

2004-02-14 Thread Robert Lunnon
On Friday 13 February 2004 10:27, Jonathan Wilson wrote: > I heard news that windows 2000 source code was leaked and have seen what > proports to be a filelist. > > Dont know if its genuine but for everyones sake I suggest that all people > here completly ignore it (same as I will be doing) This i

Re: SHDOCVW: Mozilla Active X control embedding done right

2004-02-14 Thread Mike McCormack
Ove Kaaven wrote: Perhaps it would have been useful to be reminded of this earlier, but if what you're trying to do is to let a CoCreateInstance on a particular CLSID (like IE) create an instance of a different but compatible CLSID (like Mozilla), you could have just used the CoTreatAsClass() func

Re: DOC: winedump man page

2004-02-14 Thread Dimitrie O. Paun
On February 14, 2004 05:17 pm, Michael Stefaniuc wrote: > this man page incorporates a big chunk out of the README file. The > rest of the README file should be probably merged into the Winelib User > Guide or into the Wine Developers Guide; it would fit in both. I'm thinking maybe your patch shou

Re: SHDOCVW: Mozilla Active X control embedding done right

2004-02-14 Thread Mike McCormack
Hi Dimi, Dimitrie O. Paun wrote: Very cool indeed Mike! One thing that I've noticed is that the code uses a lot of Mozilla dependent names, but the only thing that's actually Mozilla specific is the CLSID. Shouldn't we just read that info from the registry (from some sort of HtmlControl key), so t

Re: Darwine Update, Question

2004-02-14 Thread ATMRD
Dimi, In a message dated 2/13/04 1:37:17 AM, [EMAIL PROTECTED] writes: What configure script is that, I can't imagine why we would be looking for this atldef.h file... It is the configure script created after running winemaker on the source directory. ~Sanjay Connare

Re: SHDOCVW: Mozilla Active X control embedding done right

2004-02-14 Thread Ove Kaaven
lør, 14.02.2004 kl. 18.11 skrev Dimitrie O. Paun: > On February 13, 2004 12:35 pm, Mike McCormack wrote: > > OK, this time I've done it the right way, and it at least works for one > > or two apps, with a screen shot to prove it. > > Very cool indeed Mike! One thing that I've noticed is that the c

Re: #winehackers IRC logs

2004-02-14 Thread Joerg Mayer
On Sat, Feb 14, 2004 at 12:32:03PM +, Mike Hearn wrote: > On Fri, 13 Feb 2004 23:30:53 -0600, Jeremy White wrote: > > I have to confess that I'm mildly uncomfortable with this; I speak more > > freely in IRC that I do in email, at least in part because of the > > (admittedly foolish) notion tha

Re: SHDOCVW: Mozilla Active X control embedding done right

2004-02-14 Thread Dimitrie O. Paun
On February 13, 2004 12:35 pm, Mike McCormack wrote: > OK, this time I've done it the right way, and it at least works for one > or two apps, with a screen shot to prove it. Very cool indeed Mike! One thing that I've noticed is that the code uses a lot of Mozilla dependent names, but the only thin

Re: Is there an opensource MIDL?

2004-02-14 Thread Dimitrie O. Paun
On February 12, 2004 06:43 pm, Kuba Ober wrote: > I'm putting up a cross-compilation environment for Qt/Win > (Professional/Enterprise) so that it could be built (and the applications > using it!) with crossmingw32 (http://www.ibib.waw.pl/~winnie). Once you get that running, it would be cool to tr

Re: using the FIXME macro

2004-02-14 Thread Dimitrie O. Paun
On February 14, 2004 08:50 am, Zimler Attila wrote: > Could somebody help with that library's name? The problem is that you're in an application, and unfortunately things work differently there. Just use WINE_FIXME() instead. -- Dimi.

Re: Windows 2000 source code has been leaked

2004-02-14 Thread Ryan Underwood
On Sat, Feb 14, 2004 at 04:48:19PM +0200, Sami Aario wrote: > Please let's not post with a title like "Re: Windows 2000 source code > has been leaked", and then send an empty message with a nondescript > text file attachment. Please download a mailer that works. A plain text message with a PGP a

Re: SetRenderState

2004-02-14 Thread Ann and Jason Edmeades
>trace:d3d:IDirect3DDevice8Impl_SetRenderState (0x4a540020)->(153,0) not handled yet This says the apps has called (or as part of replaying a state block, we have called) set render state, with parm 153 == D3DRS_SOFTWAREVERTEXPROCESSING, and we haven't implemented it, but this would not account fo

Re: Windows 2000 source code has been leaked

2004-02-14 Thread Sami Aario
Please let's not post with a title like "Re: Windows 2000 source code has been leaked", and then send an empty message with a nondescript text file attachment. Ouch!

Re: SetRenderState

2004-02-14 Thread Abdul-Haseeb Ahmad
does anyone know what this is supposed to do, and whether it is something that is critical or not? i get an unhandled exception right after this occurs in nhl2004 trace:d3d:IDirect3DDevice8Impl_SetRenderState (0x4a540020)->(153,0) not handled yet

SetRenderState

2004-02-14 Thread Abdul-Haseeb Ahmad
does anyone know what this is supposed to do, and whether it is something that is critical or not? i get an unhandled exception right after this occurs in nhl2004 trace:d3d:IDirect3DDevice8Impl_SetRenderState (0x4a540020)->(153,0) not handled yet

Re: Windows 2000 source code has been leaked

2004-02-14 Thread Ryan Underwood
On Sat, Feb 14, 2004 at 01:46:08PM +0100, Ferenc Wagner wrote: > Mike Hearn <[EMAIL PROTECTED]> writes: > > > We all know what the Windows code probably looks like - a > > lot of yucky hungarian C and C++. > > Name your weapons. Yucky hungarian notation, not yucky hungarians! :) -- Ryan Under

Re: Windows 2000 source code has been leaked

2004-02-14 Thread Ferenc Wagner
Mike Hearn <[EMAIL PROTECTED]> writes: > We all know what the Windows code probably looks like - a > lot of yucky hungarian C and C++. Name your weapons. -- Feri.

using the FIXME macro

2004-02-14 Thread Zimler Attila
Hi List, I would like to use the FIXME macro in my piece of code. I found out that this macro is declared in "include/wine/debug" and my code compile's well, but I got an error at link time. The error message is: undefined reference to 'FIXME'. I think I should link a library to the code. But I

Re: #winehackers IRC logs

2004-02-14 Thread Mike Hearn
On Fri, 13 Feb 2004 23:30:53 -0600, Jeremy White wrote: > I have to confess that I'm mildly uncomfortable with this; I speak more > freely in IRC that I do in email, at least in part because of the > (admittedly foolish) notion that it's like speech - fleeting and > ephmeral. Hmm. Yes, this is an

Re: Windows 2000 source code has been leaked

2004-02-14 Thread Mike Hearn
On Sat, 14 Feb 2004 03:02:40 +0100, Viktor Nilsson wrote: > Well, if you read through the code, to understand it, but you not even > try to imitate or copy it. Just write brand new code, that does the > same thing but in a slightly other way? No, that's not possible. There is apparently a ton of

Re: Windows 2000 source code has been leaked

2004-02-14 Thread Shachar Shemesh
Rein Klazes wrote: On Sat, 14 Feb 2004 11:32:05 +0200, you wrote: What you are saying is applicable to copyright law. I.e. - if you reverse engineer the code (say, by disassembling it). If that's what you did on LEGALLY OBTAINED CODE, then you are probably ok. The reverse engineering itself

Re: Windows 2000 source code has been leaked

2004-02-14 Thread Rein Klazes
On Sat, 14 Feb 2004 11:32:05 +0200, you wrote: > > What you are saying is applicable to copyright law. I.e. - if you > reverse engineer the code (say, by disassembling it). If that's what you > did on LEGALLY OBTAINED CODE, then you are probably ok. The reverse > engineering itself needs to be

Re: Windows 2000 source code has been leaked

2004-02-14 Thread Shachar Shemesh
Viktor Nilsson wrote: On 2004-02-13, at 18.02, Shachar Shemesh wrote: [EMAIL PROTECTED] wrote: Use common sense. IANAL The intelectual property law governing this case is the trade secret law. It says that the information is illegal to use if the recipient knows, or should have known, that i