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
b09e18c4
Commit
b09e18c4
authored
May 01, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rundll32: Build with msvcrt.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
94700e83
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Makefile.in
programs/rundll32/Makefile.in
+2
-1
rundll32.c
programs/rundll32/rundll32.c
+2
-3
No files found.
programs/rundll32/Makefile.in
View file @
b09e18c4
MODULE
=
rundll32.exe
APPMODE
=
-mwindows
-municode
IMPORTS
=
user32
EXTRADLLFLAGS
=
-mwindows
-municode
-mno-cygwin
C_SRCS
=
\
rundll32.c
programs/rundll32/rundll32.c
View file @
b09e18c4
...
...
@@ -37,7 +37,6 @@
#define WIN32_LEAN_AND_MEAN
#include "windows.h"
#include "wine/winbase16.h"
#include "wine/unicode.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
rundll32
);
...
...
@@ -123,7 +122,7 @@ static void *get_entry_point32( HMODULE module, LPCWSTR entry, BOOL *unicode )
/* determine if the entry point is an ordinal */
if
(
entry
[
0
]
==
'#'
)
{
INT_PTR
ordinal
=
atoiW
(
entry
+
1
);
INT_PTR
ordinal
=
wcstol
(
entry
+
1
,
NULL
,
10
);
if
(
ordinal
<=
0
)
return
NULL
;
...
...
@@ -265,7 +264,7 @@ int WINAPI wWinMain(HINSTANCE instance, HINSTANCE hOldInstance, LPWSTR szCmdLine
if
(
!
szDllName
||
*
szDllName
==
0
)
goto
CLEANUP
;
WINE_TRACE
(
"DllName=%s
\n
"
,
wine_dbgstr_w
(
szDllName
));
if
((
szEntryPoint
=
strchrW
(
szDllName
,
','
)))
if
((
szEntryPoint
=
wcschr
(
szDllName
,
','
)))
*
szEntryPoint
++=
0
;
else
szEntryPoint
=
get_next_arg
(
&
szCmdLine
);
...
...
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