Re: Concerning the separate OpenAL32.dll thunk patch and OpenAL winmm driver patch

2006-11-29 Thread Fabian Cenedese
At 16:08 30.11.2006 +0900, Mike McCormack wrote: >Nick Burns wrote: >>The patches have been split in 2 one for the thunk and one for the winmm >>driver. >>Have these patches been rejected? >>(I still dont know how to tell that -- other than checking wine-cvs) > >"Rejected" is a strong word. Perh

Re: Bug #6439: requesting explanation of GDI_CheckNotLock in order to fix

2006-10-19 Thread Fabian Cenedese
At 19:09 18.10.2006 -0600, you wrote: >Alex Villací­s Lasso wrote: >> I would like to draw attention to bug #6439 >Why that bug in particular? Can we pick any other? You seems to really >like to copy list of all of your bugs. Hell that's turn this list into >another Bugzilla! > >You know, I wanted

Lotus native on Linux

2006-07-20 Thread Fabian Cenedese
Hi I just got this newsletter, thought I'd share it here: >At my previous job, everyone in the company was forced to use Lotus Notes. I >recall being often annoyed with the Notes e-mail client for its clumsy user >interface and appalling lack of features (to say nothing of its crummy >calendar

Re: Problem with explorer desktop and PAINT messages

2006-04-12 Thread Fabian Cenedese
>>Anyway I wrote a test app, showwindow.c. It is available on >>ftp://resnet.dnip.net . The relay log is there too. The test app tries >>to mimic the calls I see. I tested under wine and it does hang. I >>will see about windows. > >I don't know if I did it right. I created an empty Win32 applica

Re: Problem with explorer desktop and PAINT messages

2006-04-11 Thread Fabian Cenedese
>Ok, I'm not sure about it waiting for that event. The call is >0009:Call kernel32.WaitForSingleObject(0048,) ret=00401c00 > >Anyway I wrote a test app, showwindow.c. It is available on >ftp://resnet.dnip.net . The relay log is there too. The test app tries >to mimic the calls I see.

Re: Starcraft vs. fullscreen

2006-04-07 Thread Fabian Cenedese
>On Thu, Apr 06, 2006 at 10:18:16AM +0200, Stefan Dösinger wrote: >> Because windows' ddraw.dll restores everything when the app exists. I've >> added >> some code to do that do my ddraw lib. I restore the screen mode when the >> ddraw object is released, and on the last DllMain() unload call,

Re: Revisiting exceptions

2005-05-09 Thread Fabian Cenedese
>> Dmitry Timoshkov wrote: >> >Because it's patented by Borland? >> >> Do you have any reference to the patent? It looks to me like it is easy >> to by-pass by using different key words and than the user can Just >> define them to the MS ones. > >US Patent #5,628,016, Kukol, May 6, 1997. And you

Re: Commercial support

2005-05-04 Thread Fabian Cenedese
>LOL ! >EUR $1.48 eh? I have long suspected the existance of eurodolloars >, now the cats out of the bag. > >We'ed probably be as well adopting the US constitution while we're about >it. It makes more sense that the wooly non-constitution they are trying to >ram down our throats at the mome

Re: %Fp printf format specifier

2005-03-02 Thread Fabian Cenedese
>the net. And b.t.w., how do I get Google to not ignore the '%' in a search >for "%Fp"? You're out of luck (presently). I also had this problem and asked them about it. Here's their answer: --- Thank you for your note. Google currently does not recognize search terms cont

Re: Poor performance when using Texas Instruments code generation tools in Wine

2005-02-22 Thread Fabian Cenedese
>> We have done some profiling using oprofile, and found that most of this >> time (96%) is spent in the HEAP_FindFreeBlock* *function in the ntdll >> module. The time needed to locate a free heap block increases gradually, >> from a few iterations up to about 15000 in the project we are buildi

Re: Pretty Good Solitaire shootout: Wine vs. Crossover

2005-02-22 Thread Fabian Cenedese
>> fixme:ole:SPCF_CreateInstance >> (0x40a50d00,(nil),{7bf80980-bf32-101a-8bbb-00aa00300cab},0x403f1ec0), >> creating stdpic with PICTYPE_NONE. >> fixme:ole:OLEPictureImpl_Load Could only read 67468 of 138330 bytes in >> no-header case? >> fixme:ole:OLEPictureImpl_Load Unknown magic 746c, 67468 re

Re: Wine and industrial communication like OPC

2004-09-07 Thread Fabian Cenedese
>> You could even buy copies of Windows 98 off ebay or something for >> ultra-cheap living. The license can be for any version of Windows AFAIK. > >That could perhaps be an idea >What does AFAIK stand for? http://www.acronymfinder.com/af-query.asp?String=exact&Acronym=AFAIK&Find=Find bye F

Re: config converting problem

2004-08-11 Thread Fabian Cenedese
>>Also, reinstalling all apps just because you upgraded Wine seems a bit >>overkill, no? > >Well, yeah, but over time I think it becomes necessary as the contents of the initial >registry/config file change etc ... it's hard to know exactly what you need to do so >reinstalling is the easiest way

Re: debugging a dll

2004-08-02 Thread Fabian Cenedese
>Someone sent me a debug version of a Windows dll and a map file. I'm >not a Windows programmer, and I'm not sure how to use the map fiile. Look on the microsoft site for crashfinder (it's from a MS Journal article). It reads the mapfile(s), you can enter an address and it returns you the m

Re: Wine isn't GUI user friendly

2004-07-26 Thread Fabian Cenedese
At 13:31 26.07.2004 +0100, Mike Hearn wrote: >On Mon, 26 Jul 2004 11:04:38 +0200, Fabian Cenedese wrote: >> What about a simple GUI-application which would call wine and capture >> (and maybe parse?) the output? This would be called if a program is >> started with a shortcut

Re: Wine isn't GUI user friendly

2004-07-26 Thread Fabian Cenedese
>> Also, maybe we need a new debug level for that (above ERR and FIXME), >> which is "Human readable messages". The message as it is is perfectly >> understandable to programmers, but not to users. Even if it was, these >> messages are usually surrounded by hundred of messages that the user >>

Re: fix typo in wwn

2004-06-29 Thread Fabian Cenedese
>(from South Africa, where we have lions roaming the streets, no computers or >electricity, and Zimbabwe is like, as far as you can throw a stone to the north from >here) I was just wondering how you wrote that email... :) bye Fabi

Re: Linux links in Windows

2004-06-08 Thread Fabian Cenedese
>I have a question about the standard drive/directory. I think there were >some changes recently so I don't know the current state. I'm still on >20040408 as we needed to freeze and test the source. > >I have a process which changes the current dir and then starts a new >program with CreateThread.

Linux links in Windows

2004-06-08 Thread Fabian Cenedese
Hi I have a question about the standard drive/directory. I think there were some changes recently so I don't know the current state. I'm still on 20040408 as we needed to freeze and test the source. I have a process which changes the current dir and then starts a new program with CreateThread. Bu

Re: additional download for winehq download page

2004-05-25 Thread Fabian Cenedese
>> This may be a fine thing to do for another project, but this is >> not a Wine thing, sorry. >OK, but at least the vb runtime and the win installer should be there. Nobody is >implementing, or, AFAIK, planning to implement these parts of windows at the >moment, and without them many programs sim

Re: regression: crash on X2

2004-05-03 Thread Fabian Cenedese
>Got any idea for me anyway, I can try to check patch by patch but it takes a >really long time recompiling each time btw can I advance cvs my 1 patch >or something that is smaller then date? You can also use time, but patches come very close in time. See here for possible date/time formats

Re: err:clipping:CLIPPING_UpdateGCRegion hVisRgn is zero. Please report this.

2004-04-19 Thread Fabian Cenedese
>I have a pretty complex default template that has a number of styles in it that all >render with funky true-type fonts. When you scroll up and down this list a couple of >times, wine ceases to render the entries. It used to lock up in an endless loop >somewhere, but now it bombs with the below

Debugger frontend

2004-03-15 Thread Fabian Cenedese
Hi This project is a curses based frontend for gdb. Maybe there are some things useful for winedbg. The source view sure would make debugging easier. http://cgdb.sourceforge.net/ bye Fabi

Re: Is Wine CVS broken?

2004-03-11 Thread Fabian Cenedese
>I just did and "cvs checkout" and the resulting source tree no >longer configures/compiles. > >The problems seem to relate to the following directories: > >dlls/amstream >dlls/dxerr8 >dlls/dxerr9 > >which seem to have been added or removed very recently. > >I tried hackin

Re: wineinstall hangs

2004-03-11 Thread Fabian Cenedese
>>Could not stat /mnt/fd0 (No such file or directory), ignoring drive A: > >You can safely ignore this. Yep, I know. >>Xlib: extension "GLX" missing on display ":1.0". > >Do you have GLX compatible drivers on this maschine, is GLX activated in your >XF86Conig file? I often forget these trivial

wineinstall hangs

2004-03-10 Thread Fabian Cenedese
Hi I just tried on a new computer to checkout wine from cvs and do a install. Compilation worked fine, but there was again a problem with the regedit: --- snip --- Preparing to install default Wine registry entries... Installing default Wine registry entries... Warning: Language 'us' was not rec

OT: How to patch?

2004-03-10 Thread Fabian Cenedese
Hi Not directly wine related but I'm sure also useful to others. It was said on this list that the patches should be able to be applied with patch (-p1) patch.diff, hence the inlining in the mail. But the patch tool doesn't know anything about cvs. In the generated patch are infos about the diff'

Re: Contribution offer: Localization work

2004-03-08 Thread Fabian Cenedese
>Binärdateien), unter Unix auszuführen. Es besteht aus einem Programm- >Lader, der Microsoft Windows-Binärdateien lädt und ausführt, sowie >einer Library (Winelib genannt), die Aufrufe der Windows API unter >Verwendung der entsprechenden Unix- oder X11-Gegenstücke implementiert. I take it that th

Re: Sibelius 2

2004-02-29 Thread Fabian Cenedese
>When it crashes there is no useful message, only "Unhandled exception". Using winedbg >I have found that Sibelius appears to be following a NULL pointer. I haven't yet >managed to track down where it's getting the bad pointer from... any suggestions would >be appreciated. Maybe the NULL pointe

Re: LOCALE: Don't copy value if buffer is too small

2004-02-25 Thread Fabian Cenedese
>> Ok, I saw that you fixed the WCHAR/byte mess. But there is still a possibility that >> the function can copy a string longer than buffer if it already has an appended >> null. > >That shouldn't happen, NtQueryValue should have signaled an overflow >in that case. Do you have a test case showing

Re: VB-Error: Type mismatch

2004-02-25 Thread Fabian Cenedese
>> Contrary to my first tests these API functions understand VB hex >> numbers quite well. There is no problem with these calls on Win2K: >> >> OLECHAR test[]={'&', 'H', 'F', '0', '8', 'F', '\0'}; >> VarI4FromStr(test, LANG_NEUTRAL, NUMPRS_STD, &out); >> VarParseNumFromStr(test, LANG_NEUTRAL, NUM

Re: VB-Error: Type mismatch

2004-02-25 Thread Fabian Cenedese
>>I'm trying (again) to run a VB app on wine. But it never shows up. Instead >>I only see a dialog with this Type mismatch error and then it quits. I tried >>to find the place where it goes wrong. Apparently it tries to parse a number >>from a string in VB notation. >>0009:trace:ole:VarParseNumFro

RFC: OlePicture patch

2004-02-25 Thread Fabian Cenedese
Hi Can anybody comment on this? http://www.winehq.org/hypermail/wine-patches/2004/02/0121.html I know that it's not the best solution (or if it is it's without explanation). I tried to find anything about this magic number but I found nothing. Unless someone has a reason _not_ to apply it I vote

Re: buffer too small for currency

2004-02-24 Thread Fabian Cenedese
> Fabian> If I don't hear anything I'll take the easy road and send in a >Fabian> patch :) > >As always, it is a good idea to write a testcase in dlls/kernel/tests to >document this error... Of course, but I can only write a test if I know what to test/what the results should be, that's why

Re: buffer too small for currency

2004-02-24 Thread Fabian Cenedese
>I get this warning when I try to start a basic program. This comes from the >function VARIANT_GetLocalisedNumberChars. I added some printfs and >found that my currency is apparently "SFr.", so 4 chars plus zero which >is too much for the 4 char buffer. I continued this one too (I don't like unha

Re: Big hex numbers negative?

2004-02-23 Thread Fabian Cenedese
>> >double dVal; >> >OLECHAR test1[]={'&', 'H', '8', '0', '0', '0', '0', '0', '0', '0', '\0'}; >> >ok=VarR8FromStr(test1, LANG_NEUTRAL, NUMPRS_STD, &dVal); >> > >> >The result for dVal was -2147483648. But as a real value it shouldn't >> >have any problems holding the "real" value 2147483648. So w

Re: Winedbg that catches exception raised in IsBadReadPtr

2004-02-23 Thread Fabian Cenedese
>Winedbg catches the exception raised and handled in a __TRY/__EXCEPT/__ENTRY >statement in the IsBadReadPtr function. >Is it a normal behaviour? And if yes how can I disable it? >Without Winedbg everything is fine. Winedbg catches every exception. But you can pass it on to the application with

Big hex numbers negative?

2004-02-23 Thread Fabian Cenedese
Hi While testing more variant functions I tried this on Windows: double dVal; OLECHAR test1[]={'&', 'H', '8', '0', '0', '0', '0', '0', '0', '0', '\0'}; ok=VarR8FromStr(test1, LANG_NEUTRAL, NUMPRS_STD, &dVal); The result for dVal was -2147483648. But as a real value it shouldn't have any problems

Re: VarRound implementation

2004-02-23 Thread Fabian Cenedese
>be. You have 2 choices: try and match their exact algorithm (v. hard >w/o reverse engineering) or use the dutch rounding method (this makes >more sense IMO). I couldn't find anything about "Dutch rounding". Isn't rounding exactly defined? 0.1-0.4 round down -> 0.0, 0.5-0.9 round up -> 1.0? >> A

Re: DLL, shared library, ...

2004-02-23 Thread Fabian Cenedese
> I would like to ask you if there is a way how to convert .dll >library to the Linux .so library? This library contains simple >functions (something like voice codec) "without any dependency" on the >Windows operating system - it's "platform independet", but packed into >the .dll. > > I'm tryin

Re: +relay stops window output?

2004-02-22 Thread Fabian Cenedese
>[snip] >> But +relay makes the application... invisible :) Maybe someone >> could have a look at it. >[snip] > >LOL :-) You should send those two phrases to microsoft support, it would >make an interesting turing test. Yeah, reading it again I maybe could have phrased that better. But consideri

Re: +relay stops window output?

2004-02-20 Thread Fabian Cenedese
>I have a problem with debugging. Since cvs update today I can't use >+relay anymore. The app window comes up but doesn't show any >content. It's just an empty frame with dead visuals and doesn't react. >I can drag the frame and close it. But it works ok if I e.g. have +ole. >Same is with other ap

Re: VarRound implementation

2004-02-20 Thread Fabian Cenedese
>Without a test how can you know if this implementation produces the correct values? >What about variant type conversions? It seems silly to send a patch without testing >it... Now I'm confused. I'm adding more types to VarRound and I'm also implementing the test_VarRound function (programmer

Re: VarRound implementation

2004-02-19 Thread Fabian Cenedese
>Without a test how can you know if this implementation produces the correct values? >What about variant type conversions? It seems silly to send a patch without testing >it... I just saw that I submitted a patch with some debug code in it. I guess I'll have to send it again anyway :) bye F

Re: VarRound implementation

2004-02-19 Thread Fabian Cenedese
>Without a test how can you know if this implementation produces the correct values? >What about variant type conversions? It seems silly to send a patch without testing >it... I didn't mean that I never tested it. Of course I had a test program with which I found out what results Windows wou

Win Api Monitor

2004-02-19 Thread Fabian Cenedese
Hi For figuring out what my program does on Windows I was looking for an Api Monitor, kinda the Windows counterpart of +relay. So I came across this page. It didn't quite help me but it's maybe useful for others. Just be sure to set a process filter or your computer will stop responding as it's ov

Re: bt in traces

2004-02-19 Thread Fabian Cenedese
>this would be as intrusive as using the debugger (I assume that the running process >would be in charge of printing the backtrace, or an external process - like a >debugger - would print the backtrace, while the program is stopped (or after copying >the stack for instrospection, which dbghelp

ListView oddity

2004-02-18 Thread Fabian Cenedese
Hi I had a problem with the ListView control. I could circumvent it by changing (correcting?) my application. But I thought I'd still report it. I have an MFC-app which uses a CListCtrl-derived list. In the OnRButtonDown handler of my class I didn't call the baseclass handler from CListCtrl. Upon

Re: bt in traces

2004-02-18 Thread Fabian Cenedese
>>Is it possible to output the backtrace while the program is running? I >>mean that with a new debug command e.g. wine_dbg_bt or so you >>could output not only the name of the called function and the argument >>values (as with the debug channels) but also the call stack where it >>came from. That

bt in traces

2004-02-18 Thread Fabian Cenedese
Hi Is it possible to output the backtrace while the program is running? I mean that with a new debug command e.g. wine_dbg_bt or so you could output not only the name of the called function and the argument values (as with the debug channels) but also the call stack where it came from. That's of c

ListView patch

2004-02-17 Thread Fabian Cenedese
Hi I submitted this patch two weeks ago and it doesn't seem to have been applied. Is there something wrong with it? Should I resend? http://www.winehq.org/hypermail/wine-patches/2004/02/0010.html Thanks bye Fabi

Re: CopyFile fails sometimes

2004-02-16 Thread Fabian Cenedese
>Actually that's wrong :) It works if I call the copy tool directly with wine. >But calling the batch file with wineconsole gives the same error. So it >could be that wineconsole/batch files/dos mode/whatever don't like >the very long extensions or the chars contained. Yep, it doesn't like >the _

+relay stops window output?

2004-02-16 Thread Fabian Cenedese
Hi I have a problem with debugging. Since cvs update today I can't use +relay anymore. The app window comes up but doesn't show any content. It's just an empty frame with dead visuals and doesn't react. I can drag the frame and close it. But it works ok if I e.g. have +ole. Same is with other apps

Re: VB-Error: Type mismatch

2004-02-13 Thread Fabian Cenedese
>I'm trying (again) to run a VB app on wine. But it never shows up. Instead >I only see a dialog with this Type mismatch error and then it quits. I tried >to find the place where it goes wrong. Apparently it tries to parse a number >from a string in VB notation. >0009:trace:ole:VarParseNumFromStr

Re: LOCAL: Not enough space in GDI heap

2004-02-12 Thread Fabian Cenedese
>>I suspect your leak happens in the olefont implementation. You want >>to check that each hfont is destroyed when the IOleFont interface is >>released. > >When are the fonts released? If a control creates a font and uses it until >the dialog gets closed it doesn't help much. There will still be

Re: CopyFile fails sometimes

2004-02-12 Thread Fabian Cenedese
>>FILE: FILE_CreateFile: >>/home/fabi/winec/imp2/Config/_ConfigurationType._TemplInfoLinkMaster_ > >There are several files like that but in the destination directory I get only one >single file with the name "_ConfigurationType" with which they all begin with. >The content is the one from the la

CopyFile fails sometimes

2004-02-12 Thread Fabian Cenedese
Hi I wrote my own little copy program which mostly works with CopyFile. It does so quite well but it fails on some file(name)s. Here is the trace of copying two files with admittedly unusual filenames: trace:file:CopyFileW L"_ConfigurationType._TemplInfoLinkMaster_" -> L"C:\\imp2\\Config\\_Confi

VB-Error: Type mismatch

2004-02-12 Thread Fabian Cenedese
Hi Who invented VB...? Ah yeah, right... I'm trying (again) to run a VB app on wine. But it never shows up. Instead I only see a dialog with this Type mismatch error and then it quits. I tried to find the place where it goes wrong. Apparently it tries to parse a number from a string in VB notatio

System Error H80010108 (-2147417848)

2004-02-10 Thread Fabian Cenedese
Hi Did I already mention what I think of VB?... I try another VB program with an embedded ocx on wine and it gives me a dialog with the above mentioned error message. Then it just quits. After looking on the internet I found some explanation of this error: Run-time error '-2147417848 (80010108)'

Re: LOCAL: Not enough space in GDI heap

2004-02-10 Thread Fabian Cenedese
At 16:39 09.02.2004 +, Huw D M Davies wrote: >On Mon, Feb 09, 2004 at 05:03:40PM +0100, Fabian Cenedese wrote: >> >> I hacked some more and need an advice. I changed font.cpp: CreateFontIndirectW >> a bit. Instead of always allocating a new gdi object it has a list of

Re: LOCAL: Not enough space in GDI heap

2004-02-09 Thread Fabian Cenedese
>> I hacked some more and need an advice. I changed font.cpp: CreateFontIndirectW >> a bit. Instead of always allocating a new gdi object it has a list of already >> allocated font objects and first tests if there was already a font allocated >> with the same logical properties (LOGFONTW). If so i

Re: LOCAL: Not enough space in GDI heap

2004-02-09 Thread Fabian Cenedese
>>>If you work with Win2K/XP, you can use NTobjects a free tool from >>>www.smidgeonsoft.com. It shows you for each process the number of each >>>type of GDI objects, compare that with the number that you observe in >>>your wine logs. >> >>That's a nice page, interesting looking tools. I tried it

Re: LOCAL: Not enough space in GDI heap

2004-02-09 Thread Fabian Cenedese
>>> Now is this an error in my application (VB6 with lots of controls and ocx's) >>> or one in wine? Does my app really create so many fonts or should each >>> only appear once in this list because they're all the same? They do have >>> different handles/addresses but that could be wine too. Of co

Bug compatible?

2004-02-06 Thread Fabian Cenedese
Hi Looking for something else I found this in wine/objects/font.c: GetTextExtentPointA/W: TRACE("not bug compatible."); As funny as it is it doesn't say that much. Is this referring to a bug in Windows? And in what way not compatible? Maybe there should be some comment explaining it. Thanks by

Wrong short filenames instead of long ones

2004-02-06 Thread Fabian Cenedese
Hi I'm trying to find a file copy tool which works on windows as well as wine. I tried several and this looked promising: ftp://ftp.simtel.net/pub/simtelnet/msdos/fileutil/cc108dos.zip On Windows it copied all files without problems and kept the long filenames even if the name implies that it's

Re: OLEPictureImpl_Load: fix for headerless pictures

2004-02-06 Thread Fabian Cenedese
At 12:58 06.02.2004 -0500, Kirill Smelkov wrote: >On Fri, 6 Feb 2004, Fabian Cenedese wrote: > >[...] >> >I can't help you until i see how your app is supposed to work. >> >Please make sure the programm runs without (header[1]==0). >> >> That's

Re: LOCAL: Not enough space in GDI heap

2004-02-06 Thread Fabian Cenedese
At 17:42 05.02.2004 +0100, Rein Klazes wrote: >> Now is this an error in my application (VB6 with lots of controls and ocx's) >> or one in wine? Does my app really create so many fonts or should each >> only appear once in this list because they're all the same? They do have >> different handles/ad

Re: OLEPictureImpl_Load: fix for headerless pictures

2004-02-06 Thread Fabian Cenedese
>> Where did you disable it? My patch or yours? With my patch it should >> never even get to try to call CreateIcon (which fails). So either the >> field is not 0 or you don't jump out. > >I juste removed my header[1]==1, so you can say i rejected my patch. > >> >MessageBox with >> >"Failed to loa

Re: LOCAL: Not enough space in GDI heap

2004-02-05 Thread Fabian Cenedese
>When trying to run a program I get these messages: > >err:local:LOCAL_GetBlock not enough space in GDI heap 10c7 for 116 bytes >trace:ole:OLEFontImpl_get_hFont Returning (nil) >wine: Unhandled exception (thread 0009), starting debugger... > >I had a look at this LOCAL_GetBlock function. There is

LOCAL: Not enough space in GDI heap

2004-02-05 Thread Fabian Cenedese
Hi When trying to run a program I get these messages: trace:font:GetTextMetricsW text metrics: Weight = 400 FirstChar = 32 AveCharWidth = 6 Italic = 0 LastChar = 65532MaxCharWidth = 35 UnderLined = 0 DefaultChar = 0 Overhang = 0 Str

Re: OLEPictureImpl_Load: fix for headerless pictures

2004-02-04 Thread Fabian Cenedese
>> >Then what type of picture it is? >> > >> >0x4947 GIF >> >0xd8ff JPEG >> >0x4d42 BMP >> >0x ICON >> >0x746c ??? >> >> Well, as I didn't use any pictures I don't know what it's supposed to be. >> Might as well be "NoPic" :) But I have also seen this marker where the >> second field was

Re: ListView painting (was Re: Mouse up vs Mouse click)

2004-02-04 Thread Fabian Cenedese
>I think there are still problems with that patch because, in emule >when I change the size of a column, the selected row is not repainted >correctly, only some area of it are. >The style is fullrowselect and ownerdraw. > >Only the new space of the column whose size has increased is repainted >cor

Re: OLEPictureImpl_Load: fix for headerless pictures

2004-02-03 Thread Fabian Cenedese
>> >> This fails on on my computer and I don't >> >> know how wine could detect if it's a headerless picture or no picture at all >> >> if they look the same (so far). >> > >> >Maybe check header[0] to be real .bmp or .gif magic and header[1] for >> >zero? >> >> I couldn't see a difference, always

buffer too small for currency

2004-02-03 Thread Fabian Cenedese
Hi I get this warning when I try to start a basic program. This comes from the function VARIANT_GetLocalisedNumberChars. I added some printfs and found that my currency is apparently "SFr.", so 4 chars plus zero which is too much for the 4 char buffer. Strange though that on the command line it lo

Re: OLEPictureImpl_Load: fix for headerless pictures

2004-02-03 Thread Fabian Cenedese
>> >In my case there are lots of *.bmp (with picture) with exactly same header >> >i mentioned. Thus header[1]==0 doesnt imply 'there is no picture at all' >> > >> >This pictures came in ole storage taken from a real win32 app, and loading >> >them on windows works correctly. >> >> Do you have VB6

Re: OLEPictureImpl_Load: fix for headerless pictures

2004-02-03 Thread Fabian Cenedese
>> I don't think that this is correct. If header[1] is 0 then it means that there is >> no picture at >> all, and not a picture without header (me thinks). When trying to start a program >> that uses >> the SSTab from TabCtl32.ocx without having assigned icons to the tabs it fails >> because >>

Re: OLEPictureImpl_Load: fix for headerless pictures

2004-02-03 Thread Fabian Cenedese
>Hi, >In my case headerless bitmaps have >{ 0x42, 0x4d, 0x9c, 0xbd, 0x00, 0x00, 0x00, 0x00 } first 8 bytes. > >So, when last four are equal to zero its 'no header' case. > >ChangeLog: >OLEPictureImpl_Load: fix for headerless pictures > >Index: dlls/oleaut32/olepicture.c >==

Re: ListView painting (was Re: Mouse up vs Mouse click)

2004-02-02 Thread Fabian Cenedese
At 10:12 02.02.2004 -0500, Dimitrie O. Paun wrote: >I don't think behaviour in the LVS_OWNERDRAWFIXED case is explicitly documented, >but I think it should behave as in the LVS_EX_FULLROWSELECT case. In other words, >I think your patch is correct, please submit it to wine-patches. Done. Thanks :)

Re: ListView painting (was Re: Mouse up vs Mouse click)

2004-02-02 Thread Fabian Cenedese
>>The mouse tracking in listview happens in the LISTVIEW_TrackMouse() >>function, which seems correct. It is getting called from only one >>place (in LISTVIEW_LButtonDown()) so a few print statements there >>would be nice to see that (1) it is being called, and (2) that it >>doesn't exit premature

Re: ListView painting (was Re: Mouse up vs Mouse click)

2004-01-30 Thread Fabian Cenedese
>On January 30, 2004 07:55 am, Fabian Cenedese wrote: >> I think I already found the (apparent) difference in the events, the >> (not) hanging in the OnLButtonDown. I need to find out why it doesn't >> stay in there and if it's in listview, message, events... &g

Re: ListView painting (was Re: Mouse up vs Mouse click)

2004-01-30 Thread Fabian Cenedese
>> That was my weak try to explain what I see :) >> Ok, again in short what happens: I can click on a cell in the first column, >> it gets selected, I can release the mouse button, everything fine. >> But when I press on a cell in another column it shortly gets selected >> and immediately the sele

Re: OLEPictureImpl_Load CreateIcon failed

2004-01-29 Thread Fabian Cenedese
>>I'm still on the VB SSTab problem as described here: >> >>http://www.winehq.org/hypermail/wine-devel/2003/12/0157.html > >I now know that it works if there are icons (property Picture) assigned >to the single tabs in the TabCtrl. But if the icons are missing, wine >goes woo. So either wine shoul

Re: OLEPictureImpl_Load CreateIcon failed

2004-01-29 Thread Fabian Cenedese
>I'm still on the VB SSTab problem as described here: > >http://www.winehq.org/hypermail/wine-devel/2003/12/0157.html > >I looked further into this to find out what happens with this picture >stuff. I found out that it fails in this function (from olepicture.c): > > * OLEPictureImpl_IPersistStream

Re: ListView painting (was Re: Mouse up vs Mouse click)

2004-01-29 Thread Fabian Cenedese
At 08:27 29.01.2004 -0500, Dimitrie O. Paun wrote: >On January 29, 2004 08:08 am, Fabian Cenedese wrote: >> Understandable. Any hints how I could continue? Where to look at? > >I don't think I understand this bit. Care to explain it again? > > "So for me it looks li

Re: ListView painting (was Re: Mouse up vs Mouse click)

2004-01-29 Thread Fabian Cenedese
At 08:27 29.01.2004 -0500, Dimitrie O. Paun wrote: >On January 29, 2004 08:08 am, Fabian Cenedese wrote: >> Understandable. Any hints how I could continue? Where to look at? > >I don't think I understand this bit. Care to explain it again? > > "So for me it looks li

Re: ListView painting (was Re: Mouse up vs Mouse click)

2004-01-29 Thread Fabian Cenedese
At 07:54 29.01.2004 -0500, Dimitrie O. Paun wrote: >On January 29, 2004 06:27 am, Fabian Cenedese wrote: >> Does anybody know about the handling of mouse events in the listview? >> Is this a bug or just not implemented yet (I've seen the comment in the >> beginning

ListView painting (was Re: Mouse up vs Mouse click)

2004-01-29 Thread Fabian Cenedese
>>>The misbehaving app uses a ownerdrawn, CListCtrl-derived list. When >>>I click on a cell not in the first column the cell gets selected. But on >>>wine I can see that the selection flashes shortly and disappears right >>>again (Surprisingly it works when I click in the first column. As my >>>ap

Re: Mouse up vs Mouse click

2004-01-28 Thread Fabian Cenedese
>>The misbehaving app uses a ownerdrawn, CListCtrl-derived list. When >>I click on a cell not in the first column the cell gets selected. But on >>wine I can see that the selection flashes shortly and disappears right >>again (Surprisingly it works when I click in the first column. As my >>applica

OLEPictureImpl_Load CreateIcon failed

2004-01-27 Thread Fabian Cenedese
Hi Looks like I'm quite busy today... or just don't know anything about wine :) I'm still on the VB SSTab problem as described here: http://www.winehq.org/hypermail/wine-devel/2003/12/0157.html I looked further into this to find out what happens with this picture stuff. I found out that it fail

Re: DllOverride for ocx?

2004-01-27 Thread Fabian Cenedese
>Fabian Cenedese wrote: >>I have a ocx which works better with a native dll. But there are also other >>apps which work worse if this dll is set to native by default. OK, so I add >>a setting for the application which uses the ocx. Works. But there are >>many app

DllOverride for ocx?

2004-01-27 Thread Fabian Cenedese
Hi I have a ocx which works better with a native dll. But there are also other apps which work worse if this dll is set to native by default. OK, so I add a setting for the application which uses the ocx. Works. But there are many apps that use this ocx and the customer could even make his own. So

NtSetThreadExecutionState

2004-01-26 Thread Fabian Cenedese
Hi (Message bounced the first so I try again.) - The following addresses had permanent fatal errors - "|spamscan /var/lib/mailman/mail/wrapper-hq post wine-devel" (reason: User unknown) (expanded from: <[EMAIL PROTECTED]>) - Transcript of session follows - 550 5.1.1

Wrong LANG message

2004-01-26 Thread Fabian Cenedese
Hi When I start wine I always get a message about several possible language ids and that I need to set LANG to the specific sub id. But even after that I still get this message. I need to set LANGUAGE to the sub id, then wine keeps quiet. So either my setup is quite wrong or this message needs to

WineDbg didn't stop

2004-01-22 Thread Fabian Cenedese
Hi I tried to debug a program. I set a breakpoint but winedbg didn't stop though it said the breakpoint was set. Here's the output: Wine-dbg>b CIncoExpCtrl::OnCreate Unable to add breakpoint, will check again when a new DLL is loaded Wine-dbg>c ... (0x42a2) Loaded debug information from 32bit

Still SSTab, OleAut32.dll

2004-01-22 Thread Fabian Cenedese
Hi I'm still trying to get some VB programs to run on wine (actual cvs). But I always get the error that it can't load the SSTab control from TabCtl32.ocx as described here: http://www.winehq.org/hypermail/wine-devel/2003/12/0157.html I now tried setting some dlls to native and found that it wor

Re: wine cvs notes and proposed keyboard detection fix.

2004-01-20 Thread Fabian Cenedese
>That shouldn't happen. Keyboard detection code always does a full round >of comparisons with every keyboard table in x11drv. Ahmm... I don't have keyboard problems, just out of curiosity: Would it speed up wine starting if the keyboard was configured fixed and wine wouldn't have to test all poss

Re: Mouse up vs Mouse click

2004-01-08 Thread Fabian Cenedese
At 14:15 19.12.2003 +, Mike Hearn wrote: >On Fri, 2003-12-19 at 14:01, Fabian Cenedese wrote: >> The control is a bit quirky with moving focus around and handling events >> specially. But still it works on Windows :) Now I'm a bit lost how I can >> debug this. +

Re: Problem with Access-mdb/DAO

2004-01-08 Thread Fabian Cenedese
>>If you have a string like "Nodes", then the BSTR DWORD value should be >>5*sizeof(WCHAR) == 5*2 == 10, *NOT* 5. >> >>In other words, we don't have an even/odd division problem, but rather a >>problem with the string length, since it should have been twice as much. >> >>Please try to find out whi

Mouse up vs Mouse click

2003-12-19 Thread Fabian Cenedese
Hi Where is decided if I release the mouse button if a mouse up or a mouse click is generated? Is this time dependent? Or generally the same? The misbehaving app uses a ownerdrawn, CListCtrl-derived list. When I click on a cell not in the first column the cell gets selected. But on wine I can see

DC ownerdrawn background mode

2003-12-18 Thread Fabian Cenedese
Hi I have a control derived from CListCtrl. It's completely ownerdrawn. The problem comes when some item is selected. The whole column is drawn selected but the text is drawn with the actual back color instead of transparent. As this is white I get white text on white background... very readable :

  1   2   >