Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
cf5d9a0e
Commit
cf5d9a0e
authored
May 30, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winevdm: Print an error when trying to start a DOS app from the z: drive.
parent
7165e22d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
winevdm.c
programs/winevdm/winevdm.c
+6
-0
No files found.
programs/winevdm/winevdm.c
View file @
cf5d9a0e
...
@@ -161,6 +161,12 @@ static void start_dosbox( const char *appname, const char *args )
...
@@ -161,6 +161,12 @@ static void start_dosbox( const char *appname, const char *args )
char
*
dosbox
=
find_dosbox
();
char
*
dosbox
=
find_dosbox
();
if
(
!
dosbox
)
return
;
if
(
!
dosbox
)
return
;
if
(
tolower
(
appname
[
0
])
==
'z'
)
{
WINE_MESSAGE
(
"winevdm: Cannot start DOS application %s
\n
"
,
appname
);
WINE_MESSAGE
(
" because DOSBox doesn't support running from the Z: drive.
\n
"
);
ExitProcess
(
1
);
}
if
(
!
GetTempPathW
(
MAX_PATH
,
path
))
return
;
if
(
!
GetTempPathW
(
MAX_PATH
,
path
))
return
;
if
(
!
GetTempFileNameW
(
path
,
cfgW
,
0
,
config
))
return
;
if
(
!
GetTempFileNameW
(
path
,
cfgW
,
0
,
config
))
return
;
if
(
!
GetCurrentDirectoryW
(
MAX_PATH
,
path
))
return
;
if
(
!
GetCurrentDirectoryW
(
MAX_PATH
,
path
))
return
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment