IME question

2004-12-05 Thread Ivan Leo Puoti
According to MSDN, windows creates an IME window and an input context for every thread, should wine do the same? Ivan. Libero ADSL: 3 mesi gratis e navighi a 1.2 Mega, senza costi di attivazione. Abbonati subito su http://www.libero.

mdi.c/MDI_ChildActivate query

2004-12-05 Thread Jeremy White
Hi, When trying to run 'Swiss Perfect' (www.swissperfect.com, free download available), the app crashes and burns while processing a WM_MDIACTIVATE message when the prevWnd is 0. If I modify the code as in the attached patch, everything works. I can't determine if the app is flawed or if this is a

Re: Wine Bug Busters @ 7pm GMT

2004-12-05 Thread Mike Hearn
Likewise, if you're wanting to get into Wine hacking but aren't sure where to start, or started but got stuck, or just have questions to ask those who already climbed the learning curve then this is a great chance. You don't have to be a developer, feel free to come and watch even if you're just i

Re: Providing success stories

2004-12-05 Thread Stefan Munz
Am Freitag, 3. Dezember 2004 13:43 schrieben Sie: > Stefan Munz wrote: > > In order to push the use of Open Source Software we plan a project with > > the "WirtschaftsfÃrderung Region Stuttgart GmbH" ... to > > find software producers who pay us for a wine compatibility test of their > > software.

Re: Wrapper for Winelib

2004-12-05 Thread Mike Hearn
It's not that easy, that approach doesn't take C++ static constructors into account, nor the address space manipulation that takes effect. It is possible to allow people to start winelib apps like "./foo" but hardly a big deal. You need to have a program which does: (pseudocode) int main(int arg

Wine Bug Busters @ 7pm GMT

2004-12-05 Thread Brian Vincent
The first ever Wine Bug Busters hacking session is coming up in an hour - 7pm GMT or 2pm EST for you North American folks. A few people are already sitting in irc. If you want to join, fire up your favorite IRC and log into irc.freenode.net, channel #winehackers. -Brian

Re: msvcrt: set mode bits in _fstati64

2004-12-05 Thread Juan Lang
--- Dmitry Timoshkov <[EMAIL PROTECTED]> wrote: > Looks better, except that according to MSDN "_S_IFREG bit is set if path > specifies > an ordinary file or a device", so you need to add a check for > FILE_TYPE_DISK. Interestingly, you can't _open the root directory of a drive in Windows; it fails

Re: Mirroring support take 1

2004-12-05 Thread Juan Lang
This doesn't look right: @@ -2071,6 +2077,7 @@ WIN_ReleasePtr( wndPtr ); return retval; } + break; /* fall through */ If the break is missing, why does the comment say fall through? I think it was intentional. If the break should be there, pleas

Wrapper for Winelib

2004-12-05 Thread Sam Lauber
I *think* I've figured out a way to make regular Unix programs with winelib. My idea is, make winemaker generate a C file called "winelib-wrap.c" that contains: #include int main(void) { return (int) WinMain(NULL, NULL, NULL, NULL); } Then link it with the EXE encapusulated in a .so, a

Re: Problem to draw a bitmap

2004-12-05 Thread Rémi Assailly
Dmitry Timoshkov wrote : /* Make the window visible on the screen */ ShowWindow (hwnd, nFunsterStil); Insert UpdateWindow(hwnd); here. PrintBmp(hwnd, "BOARD.bmp"); Thanks, it works. Now I can work ! Rémi

Re: questions dlls/d3d8/shader.c

2004-12-05 Thread Christian Costa
Eric Pouech wrote: while toying with Intel compiler on Wine source, I came across a couple of interesting stuff. To whom it may concern. in dlls/d3d8/shader.c: vshader_m4x3 (and vsharer_m3x4) don't use correctly row & columns with respect to the matrice definition. I let the D3D folks decide

questions dlls/d3d8/shader.c

2004-12-05 Thread Eric Pouech
while toying with Intel compiler on Wine source, I came across a couple of interesting stuff. To whom it may concern. in dlls/d3d8/shader.c: vshader_m4x3 (and vsharer_m3x4) don't use correctly row & columns with respect to the matrice definition. I let the D3D folks decide whether the matrix d

Re: Implemented CreateAsyncBindCtx

2004-12-05 Thread Jacek Caban
Mike Hearn wrote: On Fri, 03 Dec 2004 23:01:36 -0500, Jacek Caban wrote: +hres = IBindCtx_RegisterObjectParam(bctx, (LPOLESTR)BSCBHolder, (IUnknown*)callback); + +*pbind = bctx; + +return S_OK; } You don't do anything with hres here, is that intentional? Can RegisterObjectParam

Re: msvcrt: set mode bits in _fstati64

2004-12-05 Thread Dmitry Timoshkov
"Juan Lang" <[EMAIL PROTECTED]> wrote: > Got it. How's this? > + dw = GetFileType(hand); > + buf->st_mode = S_IREAD; > + if (!(hfi.dwFileAttributes & FILE_ATTRIBUTE_READONLY)) > +buf->st_mode |= S_IWRITE; > + if (hfi.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) > +buf->st_mode |= S_I

Re: Allow output in winedbg to be redirected to a file

2004-12-05 Thread Eric Pouech
Jeremy White a écrit : Changelog: Allow > and >> output redirection on winedbg commands to capture output to a file. again (it's my bad day for Jer), I think we should stick to gdb commands: see 'set logging' and friends. A+

Re: RFC: Use editline in winedbg

2004-12-05 Thread Eric Pouech
Jeremy White a écrit : Hi folks, The attached patch dynamically detects and uses the BSD licensed editline library (a pretty close replacement for readline), if it's available. This gives winedbg command line recall. This gets around readline's license requirements. I'm nervous because I wasn't sur