similar to: Re: Win32, file descriptors and rb

Displaying 20 results from an estimated 3000 matches similar to: "Re: Win32, file descriptors and rb"

2010 Mar 25
4
CreateFile \\\\.\\x: non-root
Hello, I have a usb data aquisition device interfaced by mass storage protocol. I open it like: hEcgDrive=CreateFile("\\\\.\\g:", GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL | FILE_FLAG_NO_BUFFERING | FILE_FLAG_WRITE_THROUGH | FILE_FLAG_OVERLAPPED, NULL); for communication I use DeviceIoControl(hEcgDrive,
2016 Feb 09
2
Compilation failure using mingw-w64 and gcc-5.3.0
Thank you for the feedback. This is cross-compiling for mingw-w64-x86_64 using gcc-5.3.0 and mingw-w64-4.0.4 on GNU/Linux. Upon attempting to compile now, a large number of errors occur in flac/decode.c which I have placed at the end of this email. They are eased by adding this to decode.c: #if _WIN32 #include <windows.h> #include <shlobj.h> #endif ...among the headers. Then, this
2001 Dec 04
2
Serial Errors
Hi, I am new to wine and the list. I am using Wine release 20010112 on a RH7.1 (used supplied RPM) to try and run a program to control a video switcher that doesn't have a linux ported program. The program starts OK but when it scans the com1 to diagnose the switcher, it reports a bad serial port or faulty connection. The utility has no problem under windows. I included a trace using
2014 Sep 27
0
Patch to add buffering to decoding too
The previous patch was bugged. The output file wasn't truncated to correct size and was a bit off from rounding the WAVE/AIFF header to smallest sector size. And RAW output didn't benefit from the change. And the existing functions didn't need changes as outputfilename was already known. Attached is a fixed and improved version. -------------- next part -------------- diff --git
2004 Aug 06
0
Please 30 second to look a my code
Well, you seem to be using FRAME_SIZE but only defining frame_size. Otherwise, the code looks OK, but it's always hard to tell. I suggest you start from speexenc/speexdec or from the example I wrote in the manual at: http://www.speex.org/manual/node12.html Jean-Marc Le ven 19/12/2003 à 05:22, Fabio a écrit : > Hi > i'm developing a sort of VoIP application > for my
2008 Nov 22
2
GetFinalPathNameByHandle for XP and earlier
Hi all, How''s this look? I based it on http://msdn.microsoft.com/en-us/library/aa366789(VS.85).aspx. I''m undecided as to when I should raise an error versus when I should just let it fall through, but this is how it is for now. You''ll need the latest windows-pr from CVS, btw. Regards, Dan PS - Where should I put it? In Windows::File directly? In a separate helper
2004 Aug 06
2
Please 30 second to look a my code
Hi i'm developing a sort of VoIP application for my ipaq using speex... I'm still at beginning and i have many problems encoding and decoding my wav files....output is only noise! Why? I'm using Libspeex 1.1.3, Embedded VisualC++ 3.0, Ipaq 3850(206 MHz Intel® Strong ARM 32-bit RISC Processor) PocketPC 2002 (Windows CE 3.0). Libspeex is complied with the definition of
2008 Jan 25
1
Windows share modes and Linux file locking, flock & fcntl
Hi, I am trying to understand file locking and share modes. I am using RedHat Enterprise Linux 4, with kernel 2.6.9-55.ELsmp, samba-3.0.10-1.4E.11 and Windows XP. In particular I am looking at a machine running Linux exporting its local filesystem using Samba, with a Windows client accessing the file share. If I use byte range locking (fcntl() on Linux, LockFile() on Windows) things work as
2006 Mar 21
0
wine and Mankind (the one from www.mankind.net) - possible networking or file creation problem
Hello! I am now trying for quiet a while to get Mankind running with wine. I tried almost everything and read tons of wine's debug output - without success (yet...). The story in short: (also see http://appdb.winehq.com/appview.php?appId=2409) The game installs perfectly. It can be started. Its possible display Mankind's news website within the client, but that doesn't have priority
2014 Sep 26
4
Patch to add buffering to decoding too
Removed buffer size increase. Only tells the filesize to Windows now. On 26.9.2014 14:08, Erik de Castro Lopo wrote: > Martijn van Beurden wrote: > >> Can you please wrap the setvbuf in _WIN32 IFDEFs too? Currently >> memory usage of FLAC decoding is about 1MB, so this patch is >> increasing memory usage tenfold, also for platforms that do not >> need this. It is a
2001 Nov 23
5
Communications problem
I am trying to get an home automation system called Thinkboxx to run on a linux system, Thinkboxx has a windoze program that controls the Thinkboxx over the com port. the program seems to be running well, but when it tries to open the com ports it say that it has an "Unknown Communications problem". I think my configuration of wine and the com port is ok, i have spent some time reading
2009 Mar 23
1
I/O error 32 (share error) while opening executable
Hi, I'm trying to run a win16 delphi application under Wine. At one point of the execution the program tries to open its own exe file and read some data from it. At that point i get an error message dialog: "I/O error 32". A quick google tells me that has to do with sharing of files. So I launch the application with "WINEDEBUG=+file" and here's the log right up
2010 Nov 20
1
Log entries from different threads are mixed with each other
Hi. I often see something like this happens with the log. Code: 0009:Call ntdll.RtlFreeHeap(00110000,00000000,0015b690) ret=7e0c9926 0009:trace:heap:RtlFreeHeap (0x110000,70000062,0x15b690): r002d:Call ntdl0009:Ret ntdll.RtlFreeHeap() retval=00000001 ret=7e0c9926 0009:trace:file:CreateFileW L"\\\\.\\Global\\oreans32" GENERIC_READ GENERIC_WRITE
2020 Jun 09
0
include in smb.conf
On 09/06/2020 12:59, Marcio Demetrio Bacci wrote: > Hi Rowland > > >Hi Marcio, we would need more info, where are you migrating the > home?folders from ? and where to ? > I copied Windows Server 2008 folders and permissions with ROBOCOPY to > my Samba 4 server. > > The folders must be mounted on a drive letter, ex: "H" in the windows > clients
2004 Aug 19
1
Serial Communication
I try to use SimoComU, a tool to control frequency converters, on Wine. Since version 2004-07-16 it opens its main window, and most functions seem to work. Anyway, it does not communicate over the serial line. I see the following output: trace:file:CreateFileW L"COM1" GENERIC_READ GENERIC_WRITE OPEN_EXISTING attributes 0x0 trace:file:RtlDosPathNameToNtPathName_U
2004 Nov 16
0
Re: Win32, file descriptors and rb_io_check_writable()
Hi Park, > That is due to detault translation mode. > > Insert > _setmode(NUM2INT(args[0]),_O_TEXT); > after > RFILE(self)->fptr->mode = rb_io_mode_flags("w+"); > RFILE(self)->fptr->f = rb_fdopen(NUM2INT(args[0]),"w+"); > in case of TEXT MODE. Ah, thanks. On a side note, any clue as to why Nobu''s suggestion
2006 Jan 07
1
CIFS + NFS'ing a single filesystem w/ locking
Hi, I have a Solaris 10 server exporting UFS directories using built-in NFS. I've built Samba 3.0.20b from OpenPKG (www.openpkg.org). I have a Solaris 10 (x86) client mounting the NFS share and opening OpenDocument files using StarOffice 8 (SO8, aka OO2.0). I also have a Windows 2003 Terminal Server mounting the Samba share and opening documents with SO8. This is a temporary development
2014 Sep 26
0
Patch to add buffering to decoding too
I made some changes to the previous patch. I don't know why I originally didn't put the output buffering to piped output too but that is now moved to cover both file and pipe output. Additionally this patch informs the Windows filesystem in advance about the decoded size to eliminate NTFS fragmentation. On 25.9.2014 23:01, Janne Hyv?rinen wrote: > Decoding flac files is also prone
2006 May 26
13
win32-dir, unicode
Hi, I''ve got a preliminary version of the pure Ruby version of win32-dir in CVS. However, I was hoping to work out the Unicode issue. Run this: from = "C:\\test" to = "?????" Dir.mkdir(from) unless File.exists?(from) Dir.create_junction(to, from) It works, but my explorer (and dos) window shows the name garbled. I don''t think it''s a font
2008 Feb 13
1
Flash Movie Player Control in VB
Hi all, I just started messing with wine (0.9.54 on Ubuntu 7.04-Feisty) a few weeks ago and there's some educational software I want to be able to run. It was made with VB, and I've managed to get it working fairly well except for an ActiveX control for showing Flash movies (.swf). I think it's unable to load the swf file because the box where the movie should show is blank, and