Developing on 64 bit Ubuntu? Add the Wine PPA for new ia32-libs that supports gstreamer codecs

2010-11-15 Thread Scott Ritchie
The ia32-libs that ships with Ubuntu doesn't contain 32 bit libraries for all the useful codecs of gstreamer. There's enough to build Wine, but not enough to actually show a video. I've fixed this in the ia32-libs on the Wine PPA by adding _73_ new libraries to it. This is something you'll want

Re: [PATCH] console: fix output for console handles opened with GENERIC_WRITE access

2010-11-15 Thread Martin Wilck
Hi Eric, hi everyone, as you may already know, my patch is obsoleted by your commit 91e3a40e412a6c04cfaf8f6d0d3d16a1a4c4bfdb. Thanks! Martin -- Dr. Martin Wilck Physicist and Software Engineer particle dynamics GmbH, Leipzig Geschäftsführer (Director): Markus Fait Handelsregister (Trade Regis

Re: [PATCH 1/4] msvcp90: Added basic_string::swap implementation. (try 2)

2010-11-15 Thread Piotr Caban
On 11/15/10 18:26, Vincas Miliūnas wrote: The way I see this is that the code above handles the case when lhs string is in the local buffer and rhs is allocated. The exchange requires copying (lhs->data->buf into rhs->data->buf and rhs->data->ptr into lhs->data->ptr), since setting one's ptr to

Re: how to use wcslen() in wine?

2010-11-15 Thread Damjan Jovanovic
Try: wineg++ -I /usr/include/wine/include/msvcrt file.cpp -o file -lmsvcrt 2010/11/15 飞翔 > > > > hello, I'm developing under Wine environment. >     I'm using Unicode and I want to be able to use standard library call > wcslen, but I don't know how to change my C library from the native glibc C

how to use wcslen() in wine?

2010-11-15 Thread 飞翔
hello, I'm developing under Wine environment. I'm using Unicode and I want to be able to use standard library call wcslen, but I don't know how to change my C library from the native glibc C library to the msvcrt C library. As it is described in "Winelib_User's_Guide":"In these cases you

Kernel APC in Wine?

2010-11-15 Thread Joerg-Cyril.Hoehle
Hi, my WINMM callback tests (cf. bug #3930, comments 37+38) showed that most MOM_ callbacks were executed in my own thread! The only way I know how to achieve this is to use an APC as in QueueUserAPC(). However, reading MSDN again, it seems like user-mode APC are never invoked unless the app use

Re: msvcrt: Add implementation of _strncoll

2010-11-15 Thread Piotr Caban
On 11/15/10 14:53, Vitaly Perov wrote: This function should be implemented without memory allocations. Why? I don't think it is possible to implement it without any memory allocations. I mean without copying the strings. Using strcoll doesn't make much sense (here and in MSVCRT_strcoll implem

Re: msvcrt: Add implementation of _strncoll

2010-11-15 Thread Vitaly Perov
Hi, Thank you very much for your answer! > strncoll is used to compare at most count characters (you can't access > data after nullbyte). You're not null terminating nstr1 and nstr2 strings. > Yes, I forgott this. Thank you. > This function should be implemented without memory allocations. Why? I

Re: msvcrt: Add implementation of _strncoll

2010-11-15 Thread Piotr Caban
Hi, +char * nstr1 = HeapAlloc(GetProcessHeap(), 0, count + 1); +char * nstr2 = HeapAlloc(GetProcessHeap(), 0, count + 1); + +memcpy(nstr1, str1, count + 1); strncoll is used to compare at most count characters (you can't access data after nullbyte). You're not null terminating nstr1

Re: winecoreaudio: OSStatus is not necessarily a FOURCC.

2010-11-15 Thread Michael Stefaniuc
Hi! joerg-cyril.hoe...@t-systems.com wrote: > This fixes the string from midi.ok mentioned in bug #21589 > err:wave:AudioUnit_GetVolume > AudioUnitGetParameter return an error "\xff\xff\xd5\x8e" > Now it will print a signed integer instead: > -10866 aka. kAudioUnitErr_InvalidScope > > As to whe