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 fixed? NtCreateFile or open_vxd_handle?
On 6/15/07, Vitaly Lipatov lav@etersoft.ru 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 /tmp/.wine/... and get failure. What part have to be fixed? NtCreateFile or open_vxd_handle?
-- Lav Vitaly Lipatov Saint-Petersburg, Etersoft www.etersoft.ru GNU! ALT Linux Team! WINE! LaTeX! LyX!
You can't use NtCreateFile on unix path names. One approach would be to change the file path to a Windows-style path (perhaps put the dummy file in c:\windows).
В сообщении от 16 июня 2007 Evan Stade написал(a):
On 6/15/07, Vitaly Lipatov lav@etersoft.ru 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 path to a Windows-style path (perhaps put the dummy file in c:\windows).
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...