Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
7718f129
Commit
7718f129
authored
Sep 16, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Win32:use Unicode LoadLibrary
so we can install VLC in non-ANSI-named directories
parent
a921f15e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
src/modules/os.c
src/modules/os.c
+5
-6
No files found.
src/modules/os.c
View file @
7718f129
...
@@ -180,14 +180,13 @@ int module_Load( vlc_object_t *p_this, const char *psz_file,
...
@@ -180,14 +180,13 @@ int module_Load( vlc_object_t *p_this, const char *psz_file,
}
}
#elif defined(HAVE_DL_WINDOWS)
#elif defined(HAVE_DL_WINDOWS)
wchar_t
psz_wfile
[
MAX_PATH
];
MultiByteToWideChar
(
CP_ACP
,
0
,
psz_file
,
-
1
,
psz_wfile
,
MAX_PATH
);
#ifdef UNDER_CE
#ifdef UNDER_CE
{
handle
=
LoadLibrary
(
psz_wfile
);
wchar_t
psz_wfile
[
MAX_PATH
];
MultiByteToWideChar
(
CP_ACP
,
0
,
psz_file
,
-
1
,
psz_wfile
,
MAX_PATH
);
handle
=
LoadLibrary
(
psz_wfile
);
}
#else
#else
handle
=
LoadLibrary
(
psz_
file
);
handle
=
LoadLibrary
W
(
psz_w
file
);
#endif
#endif
if
(
handle
==
NULL
)
if
(
handle
==
NULL
)
{
{
...
...
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