Re: vxd loading is broken last months

2007-06-17 Thread Vitaly Lipatov
В сообщении от 17 июня 2007 Dan Kegel написал(a): > Vitaly Lipatov wrote: > > INT21_CreateMagicDeviceHandle in winedos/int21.c uses the same dummy file > > magic with open file with unix path from wine_get_server_dir(). > > I guess we could use NtCreateFile on unix path before. > > Now we need sele

Re: vxd loading is broken last months

2007-06-16 Thread Markus Amsler
Evan Stade wrote: On that note, I have been unable to get Wine to run dos .com programs (including via cmd.exe). It gets stuck in an infinite loop in DOSVM. Is there some trick to getting .com programs running? There's a regression, freecom [1] used to work, now it doesn't. Perhaps it has to do

Re: vxd loading is broken last months

2007-06-16 Thread Evan Stade
On 6/16/07, Dan Kegel <[EMAIL PROTECTED]> wrote: Vitaly Lipatov wrote: > INT21_CreateMagicDeviceHandle in winedos/int21.c uses the same dummy file > magic with open file with unix path from wine_get_server_dir(). > I guess we could use NtCreateFile on unix path before. > Now we need select correc

re: vxd loading is broken last months

2007-06-16 Thread Dan Kegel
Vitaly Lipatov wrote: INT21_CreateMagicDeviceHandle in winedos/int21.c uses the same dummy file magic with open file with unix path from wine_get_server_dir(). I guess we could use NtCreateFile on unix path before. Now we need select correct place for such dummy files inside wine disk tree... Y

Re: vxd loading is broken last months

2007-06-16 Thread Vitaly Lipatov
В сообщении от 16 июня 2007 Evan Stade написал(a): > On 6/15/07, Vitaly Lipatov <[EMAIL PROTECTED]> wrote: > > CreateFile is not success with somename.vxd (somename.vxd.so > > exists in /usr/lib/wine) ... > You can't use NtCreateFile on unix path names. One approach would be > to change the file p

Re: vxd loading is broken last months

2007-06-15 Thread Evan Stade
On 6/15/07, Vitaly Lipatov <[EMAIL PROTECTED]> wrote: CreateFile is not success with somename.vxd (somename.vxd.so exists in /usr/lib/wine) As known open_vxd_handle( LPCWSTR name ) in kernel32/vxd.c have to open dummy file in the wineserver directory. It try use NtCreateFile for open Unix path /

vxd loading is broken last months

2007-06-15 Thread Vitaly Lipatov
CreateFile is not success with somename.vxd (somename.vxd.so exists in /usr/lib/wine) As known open_vxd_handle( LPCWSTR name ) in kernel32/vxd.c have to open dummy file in the wineserver directory. It try use NtCreateFile for open Unix path /tmp/.wine/... and get failure. What part have to be f