Re: Question about replacing a stub...

2003-12-28 Thread Joshua Walker
Thanks for the reply... --- "Gregory M. Turner" <[EMAIL PROTECTED]> wrote: [A Bunch of really insightful stuff] Implementing should best be left to the implemnters. ^_^ I'll leave the stub in the .spec file, leaving the unimplemnted functions undocumented. This has some advantages. First c2man,

Congradulations :-}

2003-12-28 Thread Boaz Harrosh
Just wanted to let people know. And share this happy moment with my fellow workman I have successfully Beta released a WinLib port of a, 1 million lines of code, windows program. QA will Install a first Linux Machine and will start to bang on it tomorrow. (Well more like an advanced Alfa

Re: Question about replacing a stub...

2003-12-28 Thread Gregory M. Turner
On Sunday 28 December 2003 10:16 pm, Joshua Walker wrote: > Hi all. > On my ever winding quest to fill in the win32 API > documentation, I have found, I think, an intresting > issue. > When the documentation is generated with > c2man.pl, it checks the .spec file to see if the > function i

Re: wchar_t on GNU and Win32 - two worlds apart !

2003-12-28 Thread Boaz Harrosh
You did try -fshort-wchar on GCC command-line yes? It gives you 2 bytes wchar_t but there are these other problems people where saying. English will probably work. But Hebrew? I'm not sure! Subhobroto Sinha wrote: The program runs on Windows just fine because Windows Unicode function expects wch

Re: cabinet.Extract

2003-12-28 Thread Gregory M. Turner
On Sunday 28 December 2003 02:53 pm, Stefan Leichter wrote: > Hello, > > during playing with ie5.5 installer i noticed that the installing of some > cab files failed directly after the extract call. Doing exactly the same > extract call with the same cabinet file and the same content of the first >

Re: Winelib Program with DLL problem

2003-12-28 Thread Boaz Harrosh
Thanks. So I'll stay with my current hand hacked .spec.c file. It does work at least. My be we should define a new keyword in spec files, let's say "decorated" which implies stdcall and keeps the decoration on the export/import table. I'll look into it once I finish my current doing. Free Life B

Question about replacing a stub...

2003-12-28 Thread Joshua Walker
Hi all. On my ever winding quest to fill in the win32 API documentation, I have found, I think, an intresting issue. When the documentation is generated with c2man.pl, it checks the .spec file to see if the function is a stub or not. The problem is that if it is a stub, no documentation w

Re: default config file creation

2003-12-28 Thread Chris Morgan
- Where should we be installing the base config files? Can we put them in the libs directory with the rest of the wine libs? I was looking at modifying documentation/Makefile.in to take care of this - After seeing Marcus' email I realized that I completely forgot about the issue of the user n

Re: wchar_t on GNU and Win32 - two worlds apart !

2003-12-28 Thread Dan Kegel
Subhobroto Sinha wrote: The program runs on Windows just find because Windows Unicode function expects wchar_t to be 2 bytes (ulike GNU's) So the program runs on wine correctly too... But I want the app to be a native ELF using GLibc's own Internal functions... I have assumed that the user may n

Re: default wine browser

2003-12-28 Thread Chris Morgan
Will do. ;-) On Sunday 28 December 2003 06:33 pm, Ivan Leo Murray-Smith wrote: > > Comments? > > Add netscape and galeon to the script. > > Ivan.

Re: default wine browser

2003-12-28 Thread Ivan Leo Murray-Smith
> Comments? Add netscape and galeon to the script. Ivan.

Re: default wine browser

2003-12-28 Thread Chris Morgan
Alright, here is a patch and script file. One interesting thing, I can run konqueror fine but mozilla appears to have some issue starting up. I get these odd error messages on the console with mozilla: Failed to create E:\/gconfd-cmorgan: No such file or directory Failed to create E:\/gconfd-c

Re: Of wchar_t and WCHAR and incompatibilities....

2003-12-28 Thread Troy Rollo
On Fri, 26 Dec 2003 05:50, Subhobroto Sinha wrote: > As a result, Unicode strings on Windows are unsigned long arrays and thus I > had to convert them into glibc's own wchar_t format using a hack like > this: > void ConvertWCHARTo_wchar_t(const WCHAR* wszIn,wchar_t* wszOut) > { >if(wszIn) while

Re: wchar_t on GNU and Win32 - two worlds apart !

2003-12-28 Thread Gregory M. Turner
What about libs/unicode? I have no idea about that stuff, but isn't a situation like this what those libs are for? -- gmt "It is to be the assent and ratification of the several States, derived from the supreme authority in each State, the authority of the people themselves.  The act, therefor

Re: Re: wchar_t on GNU and Win32 - two worlds apart !

2003-12-28 Thread Subhobroto Sinha
The program runs on Windows just fine because Windows Unicode function expects wchar_t to be 2 bytes (unlike GNU's) which is what it gets.. So the program runs on wine correctly too... But I want the app to be a native ELF using GLibc's own Internal functions... I have assumed that the user may

Re: Re: wchar_t on GNU and Win32 - two worlds apart !

2003-12-28 Thread Subhobroto Sinha
No, actually I really don't want to use WineLib (then I can use COM to resolve the shortcut anyway!) I just want a method where I can use GLibc's Unicode functions on Win32 serialized data which treats wchar_t as 2 bytes long.. On Sun, 28 Dec 2003 Dimitrie O. Paun wrote : >On December 27, 2003

Re: Comments missing from auto-generated documentation. (HTML)

2003-12-28 Thread Joshua Walker
Sorry to bother I hate when I fix stuff right when I send out an email... The name if the DLL is asvapi32.dll not advapi.dll g. --- Joshua Walker <[EMAIL PROTECTED]> wrote: > (a bunch of stuff that he fixed three seconds later...) > -Joshua

Comments missing from auto-generated documentation. (HTML)

2003-12-28 Thread Joshua Walker
Hi all, I'm giving c2man.pl quite a workout here, but I've run into some snaggs. I'm trying to add a "Description" section in advapi.c and it's not being generated in the HTML docs. >From my copy of advapi.c #include "wine/debug.h"

Re: Key exist query in registry

2003-12-28 Thread Dimitrie O. Paun
On December 27, 2003 12:40 pm, Zimler Attila wrote: > Can somebody help me in what is the standard way to query if a key > exists in the registry? I try to implement addig new key in regedit. For that purpose, just use RegOpenKeyEx(): http://msdn.microsoft.com/library/default.asp?url=/libra

Installing from an .inf file? (fwd)

2003-12-28 Thread Kevin Atkinson
I was redirected to wine-devel. Attached is the .inf file if it would help. -- http://kevin.atkinson.dhs.org -- Forwarded message -- Date: Sat, 27 Dec 2003 14:50:48 -0500 (EST) From: Kevin Atkinson <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Installing from an .inf file

Re: Winelib Program with DLL problem

2003-12-28 Thread Dmitry Timoshkov
"Boaz Harrosh" <[EMAIL PROTECTED]> wrote: > I have noticed that my .spec.c file is very different than your .spec.c > file from above. I am using winebuild downloaded from source forge, as > of 20031212. > > Now if I use your suggested .spec file. I am missing the FooSTD > altogether. If I rem

Re: wchar_t on GNU and Win32 - two worlds apart !

2003-12-28 Thread Dimitrie O. Paun
On December 27, 2003 01:11 pm, Subhobroto Sinha wrote: > But as I am using pure C++, I have to use GLibc's library functions which > expects wchar_t to be 4 bytes long and NOT 2 bytes. Herein lies your problem. Mixing the two is not pretty, and I think it should be avoided to maintain sanity. Just

Re: Error in winemine resource file ??

2003-12-28 Thread Dimitrie O. Paun
On December 28, 2003 02:59 am, [EMAIL PROTECTED] wrote: > What I was really trying to do is port winpp (a numerical software) > from http://www.math.pitt.edu/~bard/bardware/winppsrc.tgz. However I had > a frustrating weekend trying to do this with wine maker. Make sure the app builds under MinGW.

Error in winemine resource file ??

2003-12-28 Thread thomas . 1037
Hi, I am unable to build the winemine application program that in the programs directory or the 20031212 wine release. As described in the manuals I am using winemaker . However on running make winebuilder report an syntax error in En.rc at line : LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US Could y

Re: Found it!

2003-12-28 Thread Mike Hearn
On Sun, 2003-12-28 at 16:28, Robert van Herk wrote: > I was just thinking: from the wine documentation I figured that every > global setting could be overwritten with an application specific > setting, right? This is said - kinda informally - in > http://www.winehq.org/site/docs/wine-user/config

Re: Implement RegFlushKey

2003-12-28 Thread Robert van Herk
Mike Hearn wrote: On Sun, 2003-12-28 at 10:25, Lionel Ulmer wrote: Yeah, but nothing beats editing a registry file with Emacs (which is a joy to do when, for example, a damn game refuses to re-install because it detects some keys in the registry from its last installation). Yeah, that's wh

Re: Found it!

2003-12-28 Thread Robert van Herk
Did you also experience that it says "Unable to set configuration key" for anything you'd try to change? Ah, well basically you need to change the header to point to a winecfg specific registry branch. The way config in wine works is like this: ... Okay I'll give it a try. I was just thi

Re: Running a game that wants 32bit colour depth?

2003-12-28 Thread Mike Hearn
On Sun, 2003-12-28 at 10:43, Lionel Ulmer wrote: > After some more grepping in the code, I think I fixed this in > dlls/x11drv/init.c by changing the BITSPIXEL case of the > X11DRV_GetDeviceCaps function by something like > > '(screen_depth == 24 ? 32 : screen_depth)' > > Note that a check for

RE: Fix after recent urlcache changes

2003-12-28 Thread Robert Shearman
> -Original Message- > From: Gerald Pfeifer [mailto:[EMAIL PROTECTED] > Sent: 28 December 2003 14:00 > To: Robert Shearman > Cc: [EMAIL PROTECTED] > Subject: Fix after recent urlcache changes > > After the following change to dlls/wininet/urlcache.c > > revision 1.14 > date: 2003/12/12

Re: instance problem in CreateWindowEx{A,W,16}

2003-12-28 Thread Dmitry Timoshkov
"Peter Oberndorfer" <[EMAIL PROTECTED]> wrote: > First i create a window with CreateWindowEx and pass 0 as instance. > When trying to read the instance with GetWindowLong(hWnd,GWL_HINSTANCE) > # Wine returns 0 as passed to the function. > # Win 98 returns 0x40 which is what GetModuleHandle( N

Re: reverse engineering

2003-12-28 Thread Dmitry Timoshkov
"Stefan Leichter" <[EMAIL PROTECTED]> wrote: > if i use a debugger to find the number of parameters of an undocumented > function, will a patch based on this knowledge be accepted in wine ? > > Is this the normal way to deal with undocumented stuff? Or is it better to > make a test program tha

Re: Running a game that wants 32bit colour depth?

2003-12-28 Thread Mike Hearn
On Sun, 2003-12-28 at 10:35, Lionel Ulmer wrote: > Does it bail after some DDraw calls ? If it's DDraw, it's strange as we > should report both 24 and 32 BPP (after my complaining to Alex in his > resolution change patch). No, it appears to use ChoosePixelFormat and the related function that I for

Re: Implement RegFlushKey

2003-12-28 Thread Mike Hearn
On Sun, 2003-12-28 at 10:25, Lionel Ulmer wrote: > Yeah, but nothing beats editing a registry file with Emacs (which is a joy > to do when, for example, a damn game refuses to re-install because it > detects some keys in the registry from its last installation). Yeah, that's why I said I wasn't go

Re: Key exist query in registry

2003-12-28 Thread Mike Hearn
On Sat, 2003-12-27 at 18:59, Zimler Attila wrote: > Hi :) I received a mail which tries to explain how windows do this. > Thanks for it. > To make things clear - my question is about wine API to use :) It depends on the location of the code. Inside most dlls use the advapi functions - RegCreateKey

Re: instance problem in CreateWindowEx{A,W,16}

2003-12-28 Thread Mike Hearn
On Sat, 2003-12-27 at 18:39, Peter Oberndorfer wrote: > Hello > Trying to run PEview.exe i found a problem. > > First i create a window with CreateWindowEx and pass 0 as instance. > When trying to read the instance with GetWindowLong(hWnd,GWL_HINSTANCE) > # Wine returns 0 as passed to the functio

Re: reverse engineering

2003-12-28 Thread Mike Hearn
On Sun, 2003-12-28 at 10:37, Stefan Leichter wrote: > if i use a debugger to find the number of parameters of an undocumented > function, will a patch based on this knowledge be accepted in wine ? My understanding is that this is acceptable. The only problems arise when somebody actually tries t

Re: Found it!

2003-12-28 Thread Mike Hearn
On Sun, 2003-12-28 at 10:27, Robert van Herk wrote: > Oops, didn't search thoroughly enough... Oops, should read all mail before replying :) > I found the winecfg program. It isn't finished though... > > Are you guys still working on it? No, at the moment nobody is working on it. > Did you als

Re: Status ToDo's #2

2003-12-28 Thread Mike Hearn
On Sun, 2003-12-28 at 10:01, Robert van Herk wrote: > Was anybody already working on a control panel like applet for Wine? > That would be a panel in which you could configure Wine without having > to edit the text files... Yes. Look in ./programs/winecfg - I did a lot of work on this app a few

Re: Winelib Program with DLL problem

2003-12-28 Thread Boaz Harrosh
Dmitry Timoshkov wrote: Foo.spec: @ stdcall [EMAIL PROTECTED]@8(long long) fnFooSTD @ cdecl fnFooC (long long) fnFooC resulted Foo.spec.c: asm(".data\n" "\t.align 4\n" "__wine_spec_exports:\n" "\t.long 0\n" "\t.long 0\n" "\t.long 0\n" "\t.long __wine_spec_exp_names\n" "

Re: Implement RegFlushKey

2003-12-28 Thread Andreas Mohr
Hi, On Sun, Dec 28, 2003 at 11:25:14AM +0100, Lionel Ulmer wrote: > > What you gain - fast, efficient, Unicode aware manipulation. Data > > integrity taken care for you. Concurrancy taken care for you. Seems too > > good to be true, I think. > > Yeah, but nothing beats editing a registry file w

Re: Status ToDo's #2

2003-12-28 Thread Ivan Leo Murray-Smith
>Was anybody already working on a control panel like applet for Wine? >That would be a panel in which you could configure Wine without having >to edit the text files... There already is such a tool, winesetuptk, but it's never been included in the wine source. A new and more advanced one, called

DEVELOPERS-HINTS.diff

2003-12-28 Thread Tom
Hi, Changelog add newdev section, update DMusic section, small fix to dpnhpast Tom DEVELOPERS-HINTS.diff Description: Binary data

Re: Running a game that wants 32bit colour depth?

2003-12-28 Thread Lionel Ulmer
On Sun, Dec 28, 2003 at 11:35:53AM +0100, Lionel Ulmer wrote: > Now if it does the check using standard Win32 API, I remember 'fixing' > something like that for a guy on IRC, but I cannot remember exactly where > (from what I remember, there is a BPP parameter stored somewhere in the > various sys-

Re: Running a game that wants 32bit colour depth?

2003-12-28 Thread Lionel Ulmer
> This is probably and FAQ but I have a game here that bails on > startup saying that I should change my colour depth to 32 bits. Problem > is, X has no concept of this colour depth. How does that work? Does it bail after some DDraw calls ? If it's DDraw, it's strange as we should report both

Found it!

2003-12-28 Thread Robert van Herk
Oops, didn't search thoroughly enough... I found the winecfg program. It isn't finished though... Are you guys still working on it? Did you also experience that it says "Unable to set configuration key" for anything you'd try to change? Didn't you finish it yet because you need some other libr

Re: Status ToDo's #2

2003-12-28 Thread Robert van Herk
Was anybody already working on a control panel like applet for Wine? That would be a panel in which you could configure Wine without having to edit the text files... If not, I'll give it a try :-). Would such a program best work on Unix or instead within Wine? Erhm, stupid question perhaps, I g

reverse engineering

2003-12-28 Thread Stefan Leichter
Hello, if i use a debugger to find the number of parameters of an undocumented function, will a patch based on this knowledge be accepted in wine ? Is this the normal way to deal with undocumented stuff? Or is it better to make a test program that prints the stack pointer before and after the

Re: Implement RegFlushKey

2003-12-28 Thread Lionel Ulmer
> What you gain - fast, efficient, Unicode aware manipulation. Data > integrity taken care for you. Concurrancy taken care for you. Seems too > good to be true, I think. Yeah, but nothing beats editing a registry file with Emacs (which is a joy to do when, for example, a damn game refuses to re-

Status ToDo's #2

2003-12-28 Thread Tom
Comments, Suggestions? Tom Wine Status - Known To Do's Window management Rewrite Wine's window management code to be able to change the visual of an X window once the window has been created. In Desktop Mode all processes started from one wine invocation should be confined to one desktop wind