search for: widechartomultibyte

Displaying 20 results from an estimated 50 matches for "widechartomultibyte".

2011 Oct 28
2
Switched distros, now my applications don't work.
Hello, I had previously installed an MMORPG (Champions Online) and Internet Explorer 8 on Ubuntu 11.04 using Wine 1.2 and they both worked fine. When I upgraded to 11.10 I lost sound in the game and when I checked it had been upgraded to 1.3, so I switched back to 1.2 and the problem was resolved. I recently changed to Xubuntu 11.10 (being unable to move the Unity launcher bar was incredibly
2004 May 09
0
Wine crash after update
...enKey ((nil),L"Machine\\Software\\Wine\\Wine\\Config\\Drive A",f003f,0xbfffcda4) 0009:trace:reg:NtOpenKey <- 0x10 0009:trace:reg:NtQueryValueKey (0x10,L"Path",2,0xbfffce38,2064) 0009:trace:environ:ExpandEnvironmentStringsW (L"/floppy" 0xbfffd648 1024) 0009:trace:nls:WideCharToMultiByte cp 65010 L"/floppy" -> (null) 0009:trace:heap:RtlAllocateHeap (0x40330000,00000002,00000018): returning 40330510 0009:trace:nls:WideCharToMultiByte cp 65010 L"/floppy" -> "/floppy" 0009:trace:heap:RtlAllocateHeap (0x40330000,0000000a,00000018): returning 40330530...
2011 Jan 12
14
Problems with DC Universe Online
Has anyone had any luck running DC Universe Online on wine? I'm having problems booting the station launcher: Distro: Ubuntu 10.04 Wine: Latest Stable from repo Stack output Code: C:\program files\steam\steamapps\common\dc universe online>Registration.url File not found Install script executed.err:ole:RevokeDragDrop invalid hwnd (nil) err:ole:RevokeDragDrop invalid hwnd 0x7011a
2012 Jan 09
4
"timeGetTimeā€œ function in winmm.dll
Dear Forum, I installed MetaTrader 4 with wine it is up and running everything works well, the best performers is with the new wine 1.3. BUT if I run some EA Experts Advisors I get on two of it problems and the application crashes. The EA`s with crashes have custom .dll (FCS300.dll) and I try to debug this errors. Code: 0028:Ret ntdll.RtlFreeHeap() retval=00000001 ret=7d7984a2 0028:Ret
2008 Mar 15
12
Problem with PowerBuilder 6-based app
Hello to all; I'm looking for somebody who has tried powerbuilder 6-based apps in the newest versions of Wine (currently I'm using v0.9.57 in Debian Etch). Well, the situation is: I want to use a Sybase-based database management system, using Sql Anywhere 10 as the DB server and a powerbuilder-based app as the client. So I get the Anywhere 10 version for GNU/Linux, configure it and its
2013 Apr 23
2
Metaflac UTF-8 fixes
...write(entry->entry, 1, entry->length, f); diff --git a/src/share/utf8/utf8.c b/src/share/utf8/utf8.c index beb815a..18495fe 100644 --- a/src/share/utf8/utf8.c +++ b/src/share/utf8/utf8.c @@ -203,7 +203,7 @@ int utf8_decode(const char *from, char **to) return -1; } - chars = WideCharToMultiByte(GetConsoleCP(), WC_COMPOSITECHECK, unicode, + chars = WideCharToMultiByte(CP_ACP, WC_COMPOSITECHECK, unicode, -1, NULL, 0, NULL, NULL); if(chars < 0) /* underflow check */ @@ -224,7 +224,7 @@ int utf8_decode(const char *from, char **to) return -1; } - er...
2005 May 18
2
Networking functionality?
Is there (if not, can we get) the functionality to query for workstations in the local workgroup or domain? Zach
2004 May 28
2
Problem with ADO connection
Hi, First a big Thank You to the wine developers. Your efforts are greatly appreciated and have allowed me to move users to Linux that I could never have moved otherwise. I am currently setting up desktops for 7 end users, but doing so requires that I get a particular application (The Electronic Manual) which is a parts catalog for the restaurant equipment service industry. The application
2009 Aug 28
1
Attempting to install Prelude to Darkness in Wine
...000 f7f38ff4 7ec1c200 0032f851 0x0032f328: 0032f358 f7e162b9 00000000 7ec1c200 0x0032f338: 7eb13ec1 7eb0f21d 0032f370 00000000 0x0032f348: 00000000 00000000 7eb27ff4 0032f7f4 0x0032f358: 00651df0 0032f851 00000000 004053a3 0x0032f368: 00000000 00000000 0000000a ffffffff Backtrace: =>0 0x7b860fd0 WideCharToMultiByte+0x1f0(page=0, flags=0, src=0xa, srclen=1, dst="\", dstlen=260, defchar=0x0, used=(nil)) [/home/aniruddha/downloads/wine-1.1.26/dlls/kernel32/../../include/wine/unicode.h:216] in kernel32 (0x0032f360) 1 0x004053a3 in pyrrhic_tales_prelude_to_darknesZ:\home\aniruddha\ games\Ptd\Pyrrhic_Tale...
2016 Feb 02
1
[PATCH] use more windows API in src/share/utf8/utf8.c
src/share/utf8/utf8.c mentions that "On NT-based windows systems, we could use WideCharToMultiByte()/MultiByteToWideChar(CP_UTF8), but MS doesn't actually have a consistent API across win32". flac/metaflac don't support Win98 since ver. 1.3.0, so it's possible to use system routines to convert to/from UTF-8. I removed all fprintf(stderr...) code from the win32 code because no...
2007 May 14
1
xchat
When I try to run wine xchat I get fixme:msvcrt:__lconv_init stub. I'm guessing I need to setup the widechartomultibyte function somehow. How do I troubleshoot this? I'm using OpenSUSE 10.2. Thanks for the help, -Jmt
2006 Nov 25
0
"battle for middle earth II" demo fails to install
...version of "battle for middle earth II" with wine-0.9.26, but without success so far... 'WINEDEBUG=+all wine nzd_bfme2demo_english_final.exe' gives a rather short log (172ko) but probably too large to be sent to the list. A snipet of the very end of the log says : 0009:trace:nls:WideCharToMultiByte cp 0 L"Invalid parameter\n\0000" -> (null), ret = 19 0009:trace:heap:RtlAllocateHeap (0x110000,00000002,00000013): returning 0x1149c0 0009:trace:nls:WideCharToMultiByte cp 0 L"Invalid parameter\n\0000" -> "Invalid parameter\n\x00", ret = 19 0009:trace:resource:lo...
2011 Aug 17
1
Foxpro File Copying causes Invalid Name warning
...ll KERNEL32.GetConsoleOutputCP() ret=7ea973f0 001b:Ret KERNEL32.GetConsoleOutputCP() retval=000003b6 ret=7ea973f0 001b:Call KERNEL32.WideCharToMultiByte(000003b6,00000000,00132f58 L"Invalid name\r\n",0000000e,001bd028,0000ffff,7ea9bc30,00349d70) ret=7ea97410 001b:Ret KERNEL32.WideCharToMultiByte() retval=0000000e ret=7ea97410 001b:Call KERNEL32.WriteFile(00000014,...
2005 May 05
2
LockWindowUpdate
Hi, I've got a program that produces these error messages when started with wine. fixme:dc:LockWindowUpdate (0x10024), partial stub! fixme:dc:LockWindowUpdate ((nil)), partial stub! fixme:dc:LockWindowUpdate (0x10024), partial stub! fixme:dc:LockWindowUpdate ((nil)), partial stub! fixme:dc:LockWindowUpdate (0x10024), partial stub! fixme:dc:LockWindowUpdate ((nil)), partial stub! The program
2004 Jul 31
3
Bug in new_work_item
Hi all, Windows 2000 Ruby 1.8.2 R7 VC++ 6.0 I noticed that if I try to call new_work_item and give the task a name that already exists, I get a segfault: C:\eclipse\workspace\win32-taskscheduler>ruby test.rb "0.1.0" test.rb:22:in `new_work_item'': NewWorkItem() function failed (Win32::TaskSchedul erError) from test.rb:22 test.rb:22: [BUG] Segmentation fault ruby
2001 Mar 13
3
problems running homesite
Hi there, I have just installed wine (release 20010305) and it looks to work good. I can run notepad without trouble, winecheck.pl has one bad and one critical result: 023. Checking device needed for DGA (option "UseDGA"): /dev/BAD (/dev/mem is not writable for you). - ADVICE: Use chmod as root to fix it ("man chmod"). 025. Checking availability of windows registry
2011 Sep 20
0
[LLVMdev] [cfe-dev] Unicode path handling on Windows
I spent some more time on this. My idea was to use functionality from llvm::sys::fs like file_status instead of stat struct, but as it turns out this is not really possible. file_status structure is not a replacement for stat, nor are there functions inside llvm::sys::fs that can replace calls to ::stat and ::open. The only solution I can see is to create wrappers around ::stat, ::open, etc. and
2023 Nov 22
1
R-4.3 version list.files function could not work correctly in chinese
...value. > I've added a warning to R-devel when list.files() on Windows stops > listing a directory due to an error. > > There is probably not more we can do unless there is a revised bug > report of the original problem. > >> fs::dir_fs() uses NtQueryDirectoryFile() and WideCharToMultiByte() >> instead of FindNextFileW() and wcstombs(), but maybe this shouldn't >> matter. In particular, both list.files() and fs::dir_fs() would fail >> given a file name that cannot be represented in UTF-8 (invalid UTF-16 >> surrogate pairs?) > Right, R only support file...
2011 Sep 20
2
[LLVMdev] [cfe-dev] Unicode path handling on Windows
...ndLineW(), &argc); You may want to test the consistency of this approach from the original with regards to backslashes and quotation marks, if for no other reason than documenting it. CommandLineToArgvW calls them out in the documentation. + for (int i = 0; i != argc; ++i) + { + int len = ::WideCharToMultiByte(CP_UTF8, 0, wargv[i], -1, NULL, 0, NULL, NULL); + argv[i] = new char[len]; You should check the return value of WideCharToMultiByte. I don't expect it to fail, but better safe than sorry. I would guess an assert would be acceptable. I couldn't see it from the patch, but are all the cal...
2011 Sep 07
2
[LLVMdev] [cfe-dev] Unicode path handling on Windows
On Wed, Sep 7, 2011 at 12:20 AM, Nikola Smiljanic <popizdeh at gmail.com> wrote: > So what are you exactly saying? Somebody proposed using GetCommandLine > instead of using argv directly. And what about my other points about ::open > and ::stat? Because of the way Windows works, the only fully correct solution is to never touch the native charset, and keep everything in UTF-8/16