similar to: CreateFile for EXE images vs other files

Displaying 20 results from an estimated 500 matches similar to: "CreateFile for EXE images vs other files"

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,
2001 Oct 23
1
samba NT ACL support problem?
Recently, a problem developed in storing IE5's Temporary Internet Files on our samba exported network scratch space. In tracking it down, I found that the Win2k client attempts to set the ACL of the file "Content.IE5/index.dat". However, the this call ends up setting the mode of index.dat to 0407 (-r-----rwx), thus making the file unmodifiable to the user who created it. (This in
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
2013 Apr 20
1
One tiny Windows Unicode patch
I have been doing some heavy testing with the new FLAC version, and I found that CreateFile function in grabbag had been left out of UTF-8 treatment at some point. This causes re-encoding an existing flac to the same name to break the file if it contains non-ascii characters. Attached patch fixes this. -------------- next part -------------- diff --git a/include/share/win_utf8_io.h
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
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
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
2001 Dec 12
0
Solid Edge 7
Hi, I try to install Solid Edge 7.0 (one CAD prg), but wine give alway: "trace:file:CreateFileA D:\Setup.exe GENERIC_READ FILE_SHARE_READ OPEN_EXISTING trace:file:CreateFileA C:\WINDOWS\_delis32.ini GENERIC_READ FILE_SHARE_READ OPEN_EXISTING warn:file:CreateFileA Unable to get full filename from 'C:\WINDOWS\_delis32.ini'(GLE2) err:win:WIN_FindWndPtr window 10022 belongs to other
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 Nov 06
3
Calling CreateFile on an instance of File - possible?
Hi all, I''m going over win32-file this weekend. I''m creating instance methods for setting (or unsetting) the various file attributes. So, you can do something like: f = File.open("foo.txt") f.archive = true f.hidden = true f.close This works for the basic attributes, but it requires extra work for others. Specifically, I am having trouble trying to set the
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
2008 Aug 14
1
Security leak in map_nt_perms?
In map_nt_perms any of FILE_READ_DATA, FILE_READ_EA or FILE_READ_ATTRIBUTES is mapped unconditionally to Unix read permission and similarly for write permission This means that if I put a file on a samba share where I explicitly left *only* FILE_READ_ATTRIBUTES and FILE_READ_EA the file content becomes hiddenly readable also if I decided (for very good reasons) otherwise. I'd say that when a
2002 Sep 24
0
Changing file permissions from the command line
Hi, I run Samba 2.2.3a (Solaris 7) in domain authentication mode in a Windows 2000 domain. I would like to be able to script file permissions changes from the Windows side using a command line utility, e.g. cacls, however I have only been successful in changing the UNIX world permisssions, not owner and group. A summary follows. Has anyone come across a solution for this? Thanks, Fintan ---
2004 May 09
0
Wine crash after update
Hi, I was using wine_0.0.20040309-1 in a Debian distro and it was working. I updated to wine_0.0.20040408-1, it is not working more. The bug report is below. Note that if I go to directory where .exe file is and starts wine. Wine works. I think that the problem is with blank spaces in the directory name. Bug report: Warning: the --debugmsg option is deprecated. You should use the WINEDEBUG
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
2005 Aug 30
0
No subject
Apparently it seems to work but when I try to open a file to convert it, TMPGEnc opens a popup telling that it cannot open the file or the format is unsupported. Since I'm trying to convert a sample file that TMPGEnc reads regularly on a win box it seems that it can't open the file. So I enabled dubugmsg for file and dosfs with the following command line: wine -managed -debugmsg
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
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
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
2006 Mar 30
1
caller anounce
I am attempting to setup a asterisk server to take place of my current service with freedomvoice. With the current system a auto-attendant picks up and they go through all the normal menu stuff, once they select the department they wish to speak to the attendant asks them to say their name. Once they do that the system attempts to contact a agent and when that agent picks up the