Wine64 : Trying to load PE image for unsupported architecture (I386)

2009-02-11 Thread Erik de Castro Lopo
that the Win64 stuff is experimental but I'm curions, in the longer term is it expected that one executable will be able to run both Win32 and Win64 executables? Cheers, Erik -- - Erik de Castro Lopo

Re: Wine64 : Trying to load PE image for unsupported architecture (I386)

2009-02-11 Thread Erik de Castro Lopo
and then execs either wine32 or wine64? Erik -- - Erik de Castro Lopo - To iterate is human, to recurse divine. -- L. Peter Deutsch

Re: Adding Flawfinder to Patchwatcher

2008-09-02 Thread Erik de Castro Lopo
-- - Erik de Castro Lopo - The growing and dangerous intrusion of this new technology, threatens an entire industry's economic vitality and future security. -- Jack Valenti (MPAA president) on the video

Repeated messages (was Re: Adding Flawfinder to Patchwatcher)

2008-09-01 Thread Erik de Castro Lopo
system. Each duplicate has a received line like: Received: by ey-out-1920.google.com with SMTP id 4so195432eyg.30 for wine-devel@winehq.org; Thu, 28 Aug 2008 20:50:50 -0700 (PDT) with a unique SMTP id. Erik -- - Erik de

Currently Git doesn't build on Linux x86_64

2008-05-29 Thread Erik de Castro Lopo
this. This is an Ubuntu Hardy system and I do have freetype installed: dpkg -L libfreetype6-dev | grep libfreetype.so /usr/lib/libfreetype.so Is anyone else seeing this? Cheers, Erik -- - Erik de Castro Lopo

Re: user32 : Temporarily disable test for _WIN64.

2008-04-25 Thread Erik de Castro Lopo
controls are not needed for a simple hello world program that prints to stdout. Erik -- - Erik de Castro Lopo - The music business is a cruel and shallow money trench

Re: user32 : Temporarily disable test for _WIN64.

2008-04-25 Thread Erik de Castro Lopo
, Erik -- - Erik de Castro Lopo - What is freedom of expression? Without the freedom to offend, it ceases to exist. - Salman Rushdie

Re: dnghelp : Fix pointer cast.

2008-04-24 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote: Make the pointer cast safe for Wine64. Please disregard this one as there is a better patch on the way. Cheers, Erik -- - Erik de Castro Lopo

Re: user32 : Temporarily disable test for _WIN64.

2008-04-24 Thread Erik de Castro Lopo
Dmitry Timoshkov wrote: Erik de Castro Lopo [EMAIL PROTECTED] wrote: The file dlls/user32/tests/edit.c currently doesn't compile when configured with --enable-win64 because GWL_WNDPROC (in include/winuser.h) is not defined when _WIN64 is defined. Then you need to fix the test instead

Re: ntdll : Do not error out on AMD-64 architecture when compiling win64.

2008-04-24 Thread Erik de Castro Lopo
Dmitry Timoshkov wrote: Erik de Castro Lopo [EMAIL PROTECTED] wrote: +#if WINE_IS_WIN64 +if (nt-FileHeader.Machine == IMAGE_FILE_MACHINE_AMD64) +MESSAGE(Support for AMD-64 architecture in progress but not yet working\n); +else +#endif What's the point

Re: Add an include/config.h variable WINE_IS_WIN64 which is 1 whenconfigured with --enable-win64 and 0 otherwise.

2008-04-24 Thread Erik de Castro Lopo
Dmitry Timoshkov wrote: Erik de Castro Lopo [EMAIL PROTECTED] wrote: Add an include/config.h variable WINE_IS_WIN64 which is 1 when configured with --enable-win64 and 0 otherwise. It would be helpful to at least provide an explanation why yo need this, and why _WIN64 macro

Re: user32 : Temporarily disable test for _WIN64.

2008-04-24 Thread Erik de Castro Lopo
Dmitry Timoshkov wrote: Erik de Castro Lopo [EMAIL PROTECTED] wrote: In include/winuser.h we have: #if !defined _WIN64 !defined __WINESRC__ # define GWL_USERDATA(-21) # define GWL_ID (-12) # define GWL_HWNDPARENT (-8) # define

Re: Fix warning: cast from pointer to integer of different size

2008-04-23 Thread Erik de Castro Lopo
David Laight wrote: On Tue, Apr 22, 2008 at 11:50:05PM +0900, Dmitry Timoshkov wrote: Erik de Castro Lopo [EMAIL PROTECTED] wrote: /* get pointer to object containing list element */ #define LIST_ENTRY(elem, type, field) \ -((type *)((char *)(elem) - (unsigned int)(((type *)0

Wine64 : initializer element is not computable at load time?

2008-04-22 Thread Erik de Castro Lopo
-- - Erik de Castro Lopo - I'm not even an atheist so much as I am an antitheist; I not only maintain that all religions are versions of the same untruth, but I hold that the influence of churches

Re: Fix warning: cast from pointer to integer of different size

2008-04-22 Thread Erik de Castro Lopo
Dmitry Timoshkov wrote: Erik de Castro Lopo [EMAIL PROTECTED] wrote: /* get pointer to object containing list element */ #define LIST_ENTRY(elem, type, field) \ -((type *)((char *)(elem) - (unsigned int)(((type *)0)-field))) +((type *)((char *)(elem) - (unsigned long)(((type

Re: Wine64 : initializer element is not computable at load time?

2008-04-22 Thread Erik de Castro Lopo
Ove Kaaven wrote: Erik de Castro Lopo skrev: Anybody understand why? You could look up the definition of RTL_CRITICAL_SECTION_DEBUG in include/winnt.h. Then realize that __WINESRC__ is only defined for stuff in dlls/, not for stuff in programs/, which should make the type mismatch

Re: Fix warning: cast from pointer to integer of different size

2008-04-22 Thread Erik de Castro Lopo
Dmitry Timoshkov wrote: Erik de Castro Lopo [EMAIL PROTECTED] wrote: FIELD_OFFSET is defined in include/winnt.h. Now I could include winnt.h into include/wine/list.h but that doesn't seem right. I could also copy it,but having two definitions of the same macro is also not right

Wine64?

2008-04-21 Thread Erik de Castro Lopo
-- - Erik de Castro Lopo - If you have one apple and I have one apple, if we exchange, each will have one apple. If you have one idea and i have one idea, if we exchange them, each will have two ideas

Time zone info

2008-04-05 Thread Erik de Castro Lopo
-- - Erik de Castro Lopo - The growing and dangerous intrusion of this new technology, threatens an entire industry's economic vitality and future security. -- Jack Valenti (MPAA president) on the video cassette recorder, 1982.

Re: Time zone info

2008-04-05 Thread Erik de Castro Lopo
way to indicate that I would prefer to have replies sent to the list rather than directly to me? Erik -- - Erik de Castro Lopo - C++ : an octopus made by nailing extra

Re: Time zone info

2008-04-05 Thread Erik de Castro Lopo
Dmitry Timoshkov wrote: Another possibility is that you need to re-run wineprefixcreate to update time zone information in the registry. That fixed it. Thanks. Erik -- - Erik de Castro Lopo

Bug in MSVCRT_fseek (with patch)

2008-04-04 Thread Erik de Castro Lopo
-8-8-8- -- - Erik de Castro Lopo - C++ has its place in the history of programming languages. Just as Caligula has his place

Re: Bug in MSVCRT_fseek (with patch)

2008-04-04 Thread Erik de Castro Lopo
() function be better place for this? I don't think so. _lseek keeps its own flags. Erik -- - Erik de Castro Lopo - C++ is like jamming a helicopter inside a Miata

Re: Bug in MSVCRT_fseek (with patch)

2008-04-04 Thread Erik de Castro Lopo
, and make the test a real wine conformance test. Sure. I'll bang on this some more. Erik -- - Erik de Castro Lopo - Being really good at C++ is like being really good

Re: Bug in MSVCRT_fseek (with patch)

2008-04-04 Thread Erik de Castro Lopo
-8-8-8- -- - Erik de Castro Lopo - Only people who suck have a problem with elitism.

Re: find_dll_file ignoring WINEDLLPATH?

2008-03-30 Thread Erik de Castro Lopo
that if instead of copying the library I make a symlink instead, the executable runs correctly. Of the solutions I've seen so far, this is the least fragile and most easily implementable solution. Cheers, Erik -- - Erik de Castro Lopo

Re: find_dll_file ignoring WINEDLLPATH?

2008-03-30 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote: It seems that this function makes no use of WINEDLLPATH. Shouldn't this function also search along the paths specified by the environment variable? I've grepped the sources and the only place that looks at WINEDLLPATH is the funcion build_dll_path() in libs/wine

find_dll_file ignoring WINEDLLPATH?

2008-03-29 Thread Erik de Castro Lopo
as is, * to be loaded as builtin */ It seems that this function makes no use of WINEDLLPATH. Shouldn't this function also search along the paths specified by the environment variable? Cheers, Erik -- - Erik de Castro Lopo

Re: find_dll_file ignoring WINEDLLPATH?

2008-03-29 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote: It seems that this function makes no use of WINEDLLPATH. Shouldn't this function also search along the paths specified by the environment variable? I've grepped the sources and the only place that looks at WINEDLLPATH is the funcion build_dll_path() in libs/wine

Patch : fixme:msvcrt:MSVCRT__sopen : pmode 0x01a0 ignored

2008-03-25 Thread Erik de Castro Lopo
%04x ignored\n, pmode); -else - WARN(: pmode 0x%04x ignored\n, pmode); - if (oflags MSVCRT__O_EXCL) creation = CREATE_NEW; else if (oflags MSVCRT__O_TRUNC) -- - Erik de Castro Lopo

winegcc: A spec file is currently needed in shared mode?

2008-03-25 Thread Erik de Castro Lopo
Hi all, Any idea what the above means and how to fix it? Cheers, Erik -- - Erik de Castro Lopo - You can have quality software, or you can have pointer arithmetic

winegcc: A spec file is currently needed in shared mode?

2008-03-23 Thread Erik de Castro Lopo
Hi all, Any idea what the above means and how to fix it? Cheers, Erik -- - Erik de Castro Lopo - You can have quality software, or you can have pointer arithmetic

Re: winegcc: A spec file is currently needed in shared mode?

2008-03-23 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote: Any idea what the above means and how to fix it? Ah, I figured it out. For the record, I needed a .DEF file in order to generate the DLL. Erik -- - Erik de Castro Lopo

Re: fix if's that are followed by semicolons

2005-09-20 Thread Erik de Castro Lopo
'main': test.c:3: warning: empty body in an if-statement Erik -- +---+ Erik de Castro Lopo +---+ It is capitalist America that produced the modern independent woman. Never

Re: Changing DLL imports in wine

2005-07-19 Thread Erik de Castro Lopo
Marcus Meissner wrote: If you want to snoop those calls, we already have mechanisms for this in place. I'm not the original poster, but I'd like to hear more about this. Erik -- +---+ Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's

Re: symbol hiding

2004-05-14 Thread Erik de Castro Lopo
on Linux, MacOSX and Win32. Erik -- +---+ Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid) +---+ A good debugger is no substitue for a good test suite

Is Wine CVS broken?

2004-03-11 Thread Erik de Castro Lopo
added or removed very recently. I tried hacking around in the configure script but couldn't get it to work. Cheers, Erik -- +---+ Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid

Re: Is Wine CVS broken?

2004-03-11 Thread Erik de Castro Lopo
to be a distant memory. Anyway, thanks! Cheers, Erik -- +---+ Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid) +---+ Testing can prove the presence of bugs, but never their absence

fixme:msvcrt:MSVCRT__sopen

2004-03-11 Thread Erik de Castro Lopo
0x%04x ignored\n, pmode); Would it not be safe to just delete both the FIXME and the WARN or am I missing something? Cheers, Erik -- +---+ Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid

Cygwin under Wine

2004-03-08 Thread Erik de Castro Lopo
they are actually doing with this function. Unfortunately, I am still at a loss as to whay Cygwin expects. Anybody got any ideas on how to fix this? Cheers, Erik -- +---+ Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid