Re: Fix SERIOUS bug in winecfg

2005-10-25 Thread Michael Jung
Hi Mike, On Monday 24 October 2005 22:17, Mike Hearn wrote: The unixfs module apparently can't cope with the Z: drive being anything other than / or being non-existant. A fresh .wine has this set up OK, but clicking the drive autodetect button in winecfg will currently set it up so D: is the

Re: Fix SERIOUS bug in winecfg

2005-10-25 Thread Mike Hearn
On Tue, 2005-10-25 at 01:33 +, James Hawkins wrote: Couldn't we check that Z points to / already before we swap the drives? If Z already points to /, then we would drop the current letter we're adding; otherwise, wouldn't we have two drive letters mapping to /? Besides that point, it

Re: Fix SERIOUS bug in winecfg

2005-10-24 Thread James Hawkins
On 10/24/05, Mike Hearn [EMAIL PROTECTED] wrote: + +if ('A' + i != 'Z') +{ +struct drive swapbuf; + +/* the root drive must be letter Z for now, the unixfs seems to expect it */ +WINE_TRACE(attempting to remap / to

Serious Bug

2003-10-29 Thread flyker
The simple test crashes wine. And i think many other commands in constructor A() may crash wine. test.cpp: #include windows.h #include stdio.h class A { public: A(); }; A::A() { LoadLibrary(user32.dll); // all ok user32.dll is present } A a; int WinMain(HINSTANCE hInst, HINSTANCE, LPSTR

Re: Serious Bug

2003-10-29 Thread Vincent Béron
Le mer 29/10/2003 à 09:02, flyker a écrit : The simple test crashes wine. And i think many other commands in constructor A() may crash wine. Huh? Works fine here cross-compiled with mingw. Even added 2 printf (one to the constructor, the other in WinMain), and the constructor one is called

Re: Serious Bug

2003-10-29 Thread flyker
Vincent Béron wrote: Huh? Works fine here cross-compiled with mingw. Even added 2 printf (one to the constructor, the other in WinMain), and the constructor one is called first (as it should be). Vincent RedHat 9.0, gcc and winelib. Of course constructor first.

Re: Serious Bug

2003-10-29 Thread flyker
Boaz Harrosh wrote: use --wrap in winemaker. Read about this option in the documentation Thanks. It is work :)

Re: Serious Bug

2003-10-29 Thread Boaz Harrosh
I'm Just exactly now fighting same problems. See my last post: Help with shared library make files Note 2 things A. Initialization order is opposite of msvc++ Last object on the linker gets to run first. (msvc first on the command line first to initialize) B. Hard, in gdb (kdevelop), to set a