Re: How to deal with C++ APIs in wine spec file

2004-10-06 Thread Jia L Wu
Hello, Actually I have the source code for the dll. Because a lot of classes in that dll are implemented in inline assembly for VC compiler and inline assembly sytax difference between vc and gcc, i thought the simple way is to use wine (winelib) and just call class methods of the dll when they ar

kind of newbie question :)

2004-10-06 Thread Carlo Bono
i report this post from comp.emulators.ms-windows.wine... hope i will not be boring, stupid or what. even if that's difficult :D first of all, excuse me for my bad english. but i hope it will be the worst thing that all of you will read here :)) i'm trying to port an industrial application on linu

kind of newbie question :)

2004-10-06 Thread Carlo Bono
first of all, excuse me for my bad english. but i hope it will be the worst thing that all of you will read here :)) i'm trying to port an industrial application on linux, some people suggested me to try to compile it using wine/winelib. i documented myself a bit on it, and i tried to build a sampl

Re: kind of newbie question :)

2004-10-06 Thread Vincent Béron
Le mer 06/10/2004 à 05:04, Carlo Bono a écrit : > first of all, excuse me for my bad english. but i hope it will be the > worst thing that all of you will read here :)) > i'm trying to port an industrial application on linux, some people > suggested me to try to compile it using wine/winelib. i doc

Re: kind of newbie question :)

2004-10-06 Thread Dimitrie O. Paun
On Wed, Oct 06, 2004 at 07:40:49AM +, Carlo Bono wrote: > configure script! wine version is 14/9/2004 and was compiled from > source on slackware 10.0 running on a via C3 (intel x86 100% > compatibile). is there any suggestion or workaround, or maybe this is > normal, or maybe then i'm forgetti

Re: Winefile: fix "move file" implementation

2004-10-06 Thread Dmitry Timoshkov
"Martin Fuchs" <[EMAIL PROTECTED]> wrote: > - use TCHAR to make the code UNICODE compatible By using TCHAR you actually hide the problem and make the code very hard to maintain. What is the purpose of that in Wine or ReactOS? Why don't you use unicode directly? -- Dmitry.

DllCanUnloadNow janitorial

2004-10-06 Thread James Hawkins
Hi, I would like to work on the DllCanUnloadNow janitorial task, but I was wondering if there are any patches or examples of dll's that correctly implement this so that I can do it right. Is LockServer(TRUE/FALSE) the same as this example? static HRESULT WINAPI SFCF_LockServer(LPCLASSFACTORY ifa

Re: Winefile: fix "move file" implementation

2004-10-06 Thread Martin Fuchs
> "Martin Fuchs" <[EMAIL PROTECTED]> wrote: > > - use TCHAR to make the code UNICODE compatible > By using TCHAR you actually hide the problem and make the code > very hard to maintain. What is the purpose of that in Wine or > ReactOS? Why don't you use unicode directly? Come on - is this really

Re: ez-cdda sleep

2004-10-06 Thread Eric Pouech
Mike Hearn a écrit : Possible ideas: - implement suspend/resume in processes without any specific code. We dropped that long ago for stability issues (and race condition removal as well) - cheat for context reading in server while suspended. it will require some surgery (getting whether we are i

Re: audio driver autodetection

2004-10-06 Thread Eric Pouech
Alexandre Julliard a écrit : Eric Pouech <[EMAIL PROTECTED]> writes: I don't think we want to add yet another driver just for autodetection. Each driver should simply refuse to load if its hardware isn't present, then winmm can load each of them in turn until one succeeds. you must then ensure tha

Re: winedbg - No debug info showing

2004-10-06 Thread Eric Pouech
Ann and Jason Edmeades a écrit : Hiya, I just hit a trap in a d3d8 test I was running, and winedbg isnt showing the module information (I've put a manual DebugBreak in, and stepped through the call to a fixme, and I see no info!). This was on my temporary wine machine, so I dont know if its ever wo

Re: some console fixes (for ctrl-c handling)

2004-10-06 Thread Eric Pouech
Ferenc Wagner a écrit : Eric Pouech <[EMAIL PROTECTED]> writes: ChangeLog: - ctrl-c enabling flag is now inherited - fixed console-related fields in RTL_USER_PROCESS_PARAMETERS - various clean-up in kernel32.SetConsoleCtrlHandler - only send a console event once to a process and not to al

Re: winetest fails enumerating test files

2004-10-06 Thread Saulius Krasuckas
On Tue, 5 Oct 2004, Ferenc Wagner wrote: > Saulius Krasuckas <[EMAIL PROTECTED]> writes: > > It shows some message-box telling: "Can't enumerate test > > files: 1813" > > I couldn't reproduce it. May that be due to linkage when running short on free disk space? I will try running make distcle

make depend on CVS fails due some widl error

2004-10-06 Thread Saulius Krasuckas
It may be redundant info, but whatever. An excerpt from the output: | Configure finished. Do 'make depend && make' to compile Wine. | | cd include && make all | make[1]: Entering directory `/mnt/antras/usr/src/wine-cvs/wine/include' | ../tools/widl/widl -I. -I. -I../include -I../include-h -

I'm getting two of every email post

2004-10-06 Thread Kevin R. Casper
I must have done something wrong when I signed up for this list as an email list. I'm getting two of every message. Any idea what's wrong? Kevin Casper

Re: make depend on CVS fails due some widl error

2004-10-06 Thread Michael Stefaniuc
On Thu, Oct 07, 2004 at 12:46:35AM +0200, Saulius Krasuckas wrote: > It may be redundant info, but whatever. An excerpt from the output: > > | Configure finished. Do 'make depend && make' to compile Wine. > | > | cd include && make all > | make[1]: Entering directory `/mnt/antras/usr/src/wine-c

Re: make depend on CVS fails due some widl error

2004-10-06 Thread Vincent Béron
Le mer 06/10/2004 à 18:13, Michael Stefaniuc a écrit : > On Thu, Oct 07, 2004 at 12:46:35AM +0200, Saulius Krasuckas wrote: > > It may be redundant info, but whatever. An excerpt from the output: > > > > | Configure finished. Do 'make depend && make' to compile Wine. > > | > > | cd include && m

Re: I'm getting two of every email post

2004-10-06 Thread Saulius Krasuckas
On Wed, 6 Oct 2004, Kevin R. Casper wrote: > I must have done something wrong when I signed up for this list as an > email list. I'm getting two of every message. Any idea what's wrong? I am getting multiple copies of some posts (or say: sometimes) too. This process appears to be of a stochastic

Re: make depend on CVS fails due some widl error

2004-10-06 Thread Saulius Krasuckas
On 6 Oct 2004, Vincent [ISO-8859-1] Béron wrote: > Le mer 06/10/2004 à 18:13, Michael Stefaniuc a écrit : > > On Thu, Oct 07, 2004 at 12:46:35AM +0200, Saulius Krasuckas wrote: > > > | make[1]: Entering directory `/mnt/antras/usr/src/wine-cvs/wine/include' > > > | ../tools/widl/widl -I. -I. -I../in

Re: Small API documentation fix

2004-10-06 Thread Francois Gouget
On Wed, 6 Oct 2004, Francois Gouget wrote: I found this one when examining the output of ./tools/winapi/winapi_check. It turned out to be just a stroke of luck as winapi_check seems to complain about the documentation of each and every function though I don't understand what's wrong: $ ./tools/w

Martin Rasp/PTB ist außer Haus.

2004-10-06 Thread Martin . Rasp
Ich werde ab 06.10.2004 nicht im Büro sein. Ich kehre zurück am 22.10.2004. Vertreter: Herr Scheffler, Telefon 8419

Re: I'm getting two of every email post

2004-10-06 Thread Duane Clark
Kevin R. Casper wrote: I must have done something wrong when I signed up for this list as an email list. I'm getting two of every message. Any idea what's wrong? If you send directly to me full headers of two of the posts, I could probably figure it out. Or take a look at the full headers and see w

Re: Winefile: fix "move file" implementation

2004-10-06 Thread Dmitry Timoshkov
"Martin Fuchs" <[EMAIL PROTECTED]> wrote: > Come on - is this really that difficult? ;-) > And as you see, I will maintain it for you. The problem is not whether you are maintaining it or not. It's about a programming practices in Wine for internal Win32 code. Using TCHAR buys you nothing. That'

Re: dlls/setupapi/parser.c

2004-10-06 Thread Alexandre Julliard
Ge van Geldorp <[EMAIL PROTECTED]> writes: > Changelog: > Ge van Geldorp <[EMAIL PROTECTED]> > - GetFullPathName returns length without nul byte If it does that's a bug, it's supposed to count the terminating null. Or do you have evidence that it doesn't do that on Windows? -- Alexandre Jul

Re: Winefile: fix "move file" implementation

2004-10-06 Thread Alexandre Julliard
"Dmitry Timoshkov" <[EMAIL PROTECTED]> writes: > The problem is not whether you are maintaining it or not. > It's about a programming practices in Wine for internal > Win32 code. Using TCHAR buys you nothing. That's not you > really want to maintain. Why do you need to hide real API > names and ty

Re: Handle the case when an active MDI child is being hidden

2004-10-06 Thread Alexandre Julliard
Dmitry Timoshkov <[EMAIL PROTECTED]> writes: > Hello, > > with my last patch I introduced a regression with frame menu handling > when last maximized MDI child gets destroyed. Here is a better fix for > that problem. > > Changelog: > Dmitry Timoshkov <[EMAIL PROTECTED]> > Handle the case w