Re: can't redirect stdout?!

2003-07-23 Thread Boaz Harrosh
Dan Kegel wrote: OK, so with the normal X11 driver, you can no longer redirect stdout from commandline apps under Wine; the output just vanishes if you try to send it to a file. That's rather unacceptable dain bramage, if you ask me. - Dan Yes what is going on with this thing? Can one specify a

Re: [resend] Ensure ole32.dll gets correct version number

2003-07-23 Thread Mike Hearn
On Tue, 2003-07-22 at 18:18, Alexandre Julliard wrote: You may be able to install it by playing with the load order (i.e. set ole32 to native only). Having a bogus version in the builtin is going to force everybody to install the native, which is not what we want. g, yes you are quite

Re: Typelib marshalling BSTRs

2003-07-23 Thread Mike Hearn
On Tue, 2003-07-22 at 17:35, Gregory M. Turner wrote: I was kind of ignoring this as my brain is full with cabinet things ATM... but it sure sounds awfully wrong, doesn't it? Yeah. I have the feeling that some obscure rule of C is biting me on the backside (again). ./include/rpc.h-54-/*

visual age c++ Project

2003-07-23 Thread ahmed hafez
hi: i made a GUI project "Hello world" using visual age C++ and i failed to port it under Linux. i took the project source files and i tried to compile them using wine but i failed. can u help me in this problem? thanx HafezMSN 8 helps ELIMINATE E-MAIL VIRUSES. Get 2 months

Invoke with IDispatch* params

2003-07-23 Thread Mike Hearn
Hi, more questions (i'll master COM yet :) HRESULT IWebBrowser2::get_Document(IDispatch **ppDisp); invocation of this method/property fails, for some reason. I'm not sure why yet, but I don't understand how this is marshalled. Presumably, OLE Automation provides a ppDisp and then dereferences it

Re: Typelib marshalling BSTRs

2003-07-23 Thread Michael Stefaniuc
Hello, On Wed, Jul 23, 2003 at 10:41:12AM +0100, Mike Hearn wrote: Perhaps, this really indicates some kind of problem with the loading / linking or the spec.c file or something like that? Does the behavior change if you take out the RpcTryFinally? I would guess not. It does not. To

Re: Invoke with IDispatch* params

2003-07-23 Thread Ove Kaaven
ons, 23.07.2003 kl. 12.02 skrev Mike Hearn: Hi, more questions (i'll master COM yet :) HRESULT IWebBrowser2::get_Document(IDispatch **ppDisp); Hmm. I assume this is an argument marked [out]. invocation of this method/property fails, for some reason. I'm not sure why yet, but I don't

Re: Typelib marshalling BSTRs

2003-07-23 Thread Mike Hearn
On Wed, 2003-07-23 at 11:15, Michael Stefaniuc wrote: If yes then the gcc is probably throwing the variable away. Did you tried to compile it with -O0 or just put a volatile in front of it: volatile REFIID riid = NULL; I tried using volatile, no cigar.

Re: what is the correct way to put a bitmap into a resource file?

2003-07-23 Thread Dimitrie O. Paun
On July 23, 2003 06:54 am, Jonathan Wilson wrote: I see that all the wine dlls put the bitmaps in the resource file directly... Whats the best way to do it for a 32 bit wine dll (in this case cards.dll) amd where can I find a program to do it for me? Try the tools/bin2res program. It's use is

Re: what is the correct way to put a bitmap into a resource file?

2003-07-23 Thread Mike Hearn
On Wed, 2003-07-23 at 14:16, Dimitrie O. Paun wrote: Try the tools/bin2res program. It's use is a bit unintuitive, but essentially you need to add some markers (in comments) in the .rc file. Look for an example in: ./programs/winecfg/winecfg.rc search for BINRES. Out of interest,

Re: Invoke with IDispatch* params

2003-07-23 Thread Mike Hearn
On Wed, 2003-07-23 at 12:11, Ove Kaaven wrote: ons, 23.07.2003 kl. 12.02 skrev Mike Hearn: Hi, more questions (i'll master COM yet :) HRESULT IWebBrowser2::get_Document(IDispatch **ppDisp); Hmm. I assume this is an argument marked [out]. I don't have the IDL unfortunately, but I think

Re: what is the correct way to put a bitmap into a resource file?

2003-07-23 Thread Dimitrie O. Paun
On 23 Jul 2003, Mike Hearn wrote: Out of interest, how do you go about writing GUIs using that stuff? I'm thinking of winecfg here, I can't see any gui definitions in the code, they seem to be loaded from dialog templates. Are there any free editors available? I don't know about free

Re: Typelib marshalling BSTRs

2003-07-23 Thread Mike Hearn
So, moving on from that problem, I think my woes (currently) are caused by the NDR engine not handling VT_DISPATCH variants. in wire_size(): case VT_DISPATCH: FIXME(wire-size interfaces\n); that causes VARIANT_UserMarshal to skip doing anything special for VT_DISPATCH variants, when I

Re: can't redirect stdout?!

2003-07-23 Thread Bill Medland
On July 23, 2003 12:43 am, Boaz Harrosh wrote: Dan Kegel wrote: OK, so with the normal X11 driver, you can no longer redirect stdout from commandline apps under Wine; the output just vanishes if you try to send it to a file. That's rather unacceptable dain bramage, if you ask me. -

What's the problem with the winelib dll generated by winemaker.

2003-07-23 Thread dd jj
Hello everyone, I built a ping.dll.so from windows source codes using winemaker, (these source codes works under MS visual studio, also windows version dll works find under wine.)I did in this way: 1) put all the windows version source files-pingdll.h,pingdll.c,pingdll.dll,pingdll.dsp inone

Re: visual age c++ Project

2003-07-23 Thread Jon Bright
ahmed hafez wrote: i made a GUI project Hello world using visual age C++ and i failed to port it under Linux. i took the project source files and i tried to compile them using wine but i failed. can u help me in this problem? You'll need, at the least, to post the compile errors

Re: Status_Wine #2 -- lostwages

2003-07-23 Thread Jakob Eriksson
Tom Wickline wrote: Hi, I updated the cabinet.dll status per greg.. Fix bullet links again.. We have the History of wine as Poor *I* changed it to Adequate as there is a changelog going back 5+ years. My impression of History of Wine was that it should go into details about how the project

Re: Invoke with IDispatch* params

2003-07-23 Thread Jon Bright
Mike Hearn wrote: On Wed, 2003-07-23 at 12:11, Ove Kaaven wrote: Hmm. I assume this is an argument marked [out]. I don't have the IDL unfortunately, but I think that must be correct. It's access via IDispatch as a property at any rate. I don't have the IDL either, but from the header: /*

Re: Status_Wine #2 -- lostwages

2003-07-23 Thread Dimitrie O. Paun
On Wed, 23 Jul 2003, Jakob Eriksson wrote: My impression of History of Wine was that it should go into details about how the project started in the beginning. Like anecdotes and stuff... I may have totally misunderstood. :-) Not really, this is exactly what I was hoping for myself. A dry

Re: Define WINEPREFIX if it doesn't exist

2003-07-23 Thread Alexandre Julliard
Dmitry Timoshkov [EMAIL PROTECTED] writes: But in order to read ~/.wine/config WINEPREFIX should be either already detected or any default value used. Why not use that value everywhere else? After all, what is the problem with using a default value, which actually is being already used? The

Re: Typelib marshalling BSTRs

2003-07-23 Thread Mike Hearn
On Wed, 2003-07-23 at 17:50, Gregory M. Turner wrote: Mike, somehow in this thread, I have lost track of the basic parameters of your situation... could you remind us of the precise context in which your code is being compiled and run? The story is like so: I have an app. Said app is

Re: Typelib marshalling BSTRs

2003-07-23 Thread Gregory M. Turner
On Wednesday 23 July 2003 12:03 pm, Mike Hearn wrote: One dependency that isn't simple is that it embeds Internet Explorer and uses it as an HTML enabled word processor. The app uses a Java-COM bridge to do that, and as such gives OLE quite a work out. Originally, not having much time, I just

Re: Typelib marshalling BSTRs

2003-07-23 Thread Mike Hearn
On Wed, 2003-07-23 at 20:35, Gregory M. Turner wrote: Tell me abou it... both avenues are pretty darn thorny! My hope is that if I implement the LPC 'ports' api, NT rpcrt4/ole32/oleaut32 combo's will show more promise... but of course there is no guarantee until I try, which is going to

Re: Typelib marshalling BSTRs

2003-07-23 Thread Robert Shearman
Subject: Re: Typelib marshalling BSTRs From: Mike Hearn [EMAIL PROTECTED] To: Gregory M. Turner [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Date: 23 Jul 2003 16:28:58 +0100 So, moving on from that problem, I think my woes (currently) are caused by the NDR engine not handling VT_DISPATCH

Re: Define WINEPREFIX if it doesn't exist

2003-07-23 Thread Dmitry Timoshkov
Alexandre Julliard [EMAIL PROTECTED] wrote: The problem is that you can't depend on it being set, because Wine is supposed to work fine without it. Setting it in the wrapper script won't change that, because the wrapper is only used when running from inside the source tree. How about the

RE: Typelib marshalling BSTRs

2003-07-23 Thread Robert Shearman
-Original Message- From: Mike Hearn [mailto:[EMAIL PROTECTED] Sent: 23 July 2003 23:09 To: Robert Shearman Cc: [EMAIL PROTECTED] Subject: Re: Typelib marshalling BSTRs Well, the code doesn't actually marshal IWebBrowser2, it operates entirely in terms of IDispatch

Re: Define WINEPREFIX if it doesn't exist

2003-07-23 Thread Alexandre Julliard
Dmitry Timoshkov [EMAIL PROTECTED] writes: How about the following solution: do not set WINEPREFIX in the startup script, just add it to the Wine environment (possibly even not propagating it to the Unix environment) in the case it wasn't already set? I don't think we want to modify the

I need card back bitmaps

2003-07-23 Thread Jonathan Wilson
Before I continue with cards.dll work, I need card back bitmaps, specificly: back 53, a diamond cross-hatch background. This one should have black lines on a white background, its used as an indicator for where cards can go but where there are no cards yet. (e.g. the empty ace piles in solitare)

question about icon,bitmap,cursor resources in user.dll

2003-07-23 Thread Jonathan Wilson
I notice that some of the icons, cursors and bitmaps used in the user of wine (for example, the 4 icons used in message boxes) look just like the windows ones. How can wine have them looking just like the windows ones and not violate microsoft copyright? Or are they copyright violations but

Re: Status_Wine #2 -- lostwages

2003-07-23 Thread Tom
Dimitrie O Paun wrote: On Wed, 23 Jul 2003, Jakob Eriksson wrote: My impression of History of Wine was that it should go into details about how the project started in the beginning. Like anecdotes and stuff... I may have totally misunderstood. :-) Not really, this is exactly what I was

Re: wine/. configure.ac configure

2003-07-23 Thread Marcus Meissner
On Wed, Jul 23, 2003 at 07:09:52PM -0500, Alexandre Julliard wrote: ChangeSet ID: 8863 CVSROOT: /home/winehq/opt/cvs-commit Module name: wine Changes by: [EMAIL PROTECTED] 2003/07/23 19:09:52 Modified files: . : configure.ac configure Log message: