I was able to get it to compile but not work on mingw. Did you build
libwine_unicode as a dll for windows? I think it is needed for winebuild
and wrc. How are you working with the resource files under MSVC, does it
support wine resources? Currently windress pukes for me and I've had to
use binary resources in our port. When I get back from wineconf I will
try to put wrc again.
Thanks
Steven
-----Original Message-----
From: wine-patches-admin(a)winehq.com
[mailto:[email protected]] On Behalf Of Patrik Stridvall
Sent: Saturday, March 09, 2002 10:39 AM
To: Wine-Patches (E-mail)
Subject: Fixing winebuild to (almost) work on Windows
[After a "small" (a few weeks :-) break discussing
licenses, I have started working on compiling Wine
on Windows with MSVC again.
Here comes some of the changes I had to do
that I consider non-controversial.
Note that this patch includes unistd.h as
an optional file. Many functions that
on most Unix dialects are declared in
unistd.h are on Windows declared in
direct.h and io.h. Some of them
unfortunately have a _ in front on them.
However this is easily fixed as the patch shows.
With this patch winebuild almost work
on Windows. Only a few more minor fixes,
not submitted in this patch, is needed to
get the needed .spec file to .def conversion
working and with a few more change even the
generated .spec.c compile on work on Windows.
But this will come later if you accept this
patch.
Since Winebuild doesn't link with the protabillity
library I have copied all needed portabillity stuff
to the Winebuild directory. I have included the
same fixes for the porting library with some other
useful changes so the rest of Winelib can use it as
well. It will be needed especially str{,n}casecmp
which Windows have but under completely different
names (_str{,n}icmp).
settimeofday have been remove from the portabillity layer since 1. It
can only run as root so doing SetLastError(ERROR_CALL_NOT_IMPLEMENTED)
are not likely to hurt very much.
2. The alternative implementation doesn't work.
3. It is only used in dlls/kernel/time.c
The rest of the patch I think speaks for itself.
PS. port.diff and winebuild.diff are independant
of each other but both depend of configure.diff.
---8<---
*** configure
* configure.ac:
Added some optional headers and functions
for compiling on Windows with MSVC.
*** port
* dlls/kernel/time.c,
include/wine/port.h,
library/port.c:
- Better handling when settimeofday is not available
- Adding name translations for p{close,open} and
str{,n}casecmp if they exists under other names.
*** winebuild
* tools/winebuild/build.h,
tools/winebuild/import.c,
tools/winebuild/main.c,
tools/winebuild/parser.c,
tools/winebuild/relay.c,
tools/winebuild/res16.c,
tools/winebuild/res32.c,
tools/winebuild/spec16.c,
tools/winebuild/spec32.c,
tools/winebuild/utils.c:
Made winebuild (almost) compile and work on Windows.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
do you run winedbg through the wine console ?
A+
---------------
Eric Pouech
(http://perso.wanadoo.fr/eric.pouech/)
The future will be better tomorrow,
Vice President Dan Quayle
____________________________________________________________
Faites un voeu et puis Voila ! www.voila.fr
Avec Voila Mail, consultez vos e-mails sur votre mobile Wap.
Is the NNTP gateway down? I can't seem to connect to news.wine.com or
news.wine.org. Please reply directly because I don't subscribe to the list.
Thanks,
Daniel
(Yes I know hotmail is evil)
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
The sound inside Half-life menus works fine in all versions. The sound
only workins in version 20011108 and earlier. I have test both of the
versions after that.
On Fri, Mar 08, 2002 at 10:28:22AM -0800, Duane Clark wrote:
> This is a little cleaner than the first try, and probably less confusing
> too.
>
> Log message:
> Do not erase the entire window on CS_PARENTDC.
> If update region includes the NC area but not the client area,
> don't erase the client area.
There was nothing attached.
Ciao, M
i ,
We developed an application which will create a system tray icon and
display a button in the title bar. we used hooks(CBT, SHELL). It is
working perfectly in windows. But when we are trying to run that
application in linux using wine it is not working propely. it is
displaying system tray icon(when we are using managed mode) and is
displaying a small button which is having the lable "wine-systray"
when we are using the unmanaged mode. In both modes it is not
displaying the button on the titlebar. some times it is giving the
error message "WM_NCPAINT is not supported yet".
Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from http://www.planetm.co.in
Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from http://www.planetm.co.in
i ,
We developed an application which will create a system tray icon and
display a button in the title bar. we used hooks(CBT, SHELL). It is
working perfectly in windows. But when we are trying to run that
application in linux using wine it is not working propely. it is
displaying system tray icon(when we are using managed mode) and is
displaying a small button which is having the lable "wine-systray"
when we are using the unmanaged mode. In both modes it is not
displaying the button on the titlebar. some times it is giving the
error message "WM_NCPAINT is not supported yet".
Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from http://www.planetm.co.in
Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from http://www.planetm.co.in
Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from http://www.planetm.co.in
I have upgraded my internet access recently and have decided to stay
current with the cvs instead of waiting for each new snapshot. I however
have run into a snag
I downloaded the latest snapshot from ibiblio.org (Wine-200202.28.tar.gz)
and the latest cvsdirs from ftp.winehq.com/pub/wine
(wine-cvsdirs-20020228.tar.gz)
After following the steps to get a CVS sandbox I now have a local copy
of the wine located at /usr/local/src/wine.
When I cd to this directory an try to update my copy i get the following:
[root@tony wine]# cvs u -v
Concurrent Versions System (CVS) 1.10.5 (client/server)
Copyright (c) 1989-1998 Brian Berliner, david d `zoo' zuhn,
Jeff Polk, and other authors
CVS may be copied only under the terms of the GNU General Public License,
a copy of which can be found with the CVS distribution kit.
Specify the --help option for further information about CVS
[root@tony wine]# cvs update -PAd
Segmentation fault (core dumped)
Any help or suggestions would be appreciated
Tony Lambregts
Good day!
Any time juno raises a msgbox(?) dialog(?) modal window(?) popup(?) its
general purpose accelerators are disabled. I guess that is more or less
proper, but they stay disabled after the msgbox or whatever is
satisfied, which seems less proper. If I switch the window manager to a
different workspace(?) and back, the accelerators work again.
AFAICT, hAccel is supplied to TranslateAccelerator by the caller, but it
seems there must be some generic place the caller gets it, that needs to
be restored to its previous state when a window is destroyed?
I would be grateful for a hint where to look in the code, or what traces
to look at, or any other advice you have for someone who is GUI
challenged and mostly but not entirely stupid.
Lawson
Probable user head space error. - Dennis A. Moore