Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
e9a4dee1
Commit
e9a4dee1
authored
Feb 23, 2011
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Feb 24, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Make sure system xpcom dll gets loaded.
parent
45ead7fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
nsembed.c
dlls/mshtml/nsembed.c
+7
-3
No files found.
dlls/mshtml/nsembed.c
View file @
e9a4dee1
...
...
@@ -311,13 +311,17 @@ static void set_environment(LPCWSTR gre_path)
static
BOOL
load_xpcom
(
const
PRUnichar
*
gre_path
)
{
static
const
WCHAR
strXPCOM
[]
=
{
'x'
,
'p'
,
'c'
,
'o'
,
'm'
,
'.'
,
'd'
,
'l'
,
'l'
,
0
};
static
const
WCHAR
strXPCOM
[]
=
{
'\\'
,
'x'
,
'p'
,
'c'
,
'o'
,
'm'
,
'.'
,
'd'
,
'l'
,
'l'
,
0
};
WCHAR
file_name
[
MAX_PATH
];
strcpyW
(
file_name
,
gre_path
);
strcatW
(
file_name
,
strXPCOM
);
TRACE
(
"(%s)
\n
"
,
debugstr_w
(
gre_path
));
TRACE
(
"(%s)
\n
"
,
debugstr_w
(
file_name
));
set_environment
(
gre_path
);
hXPCOM
=
LoadLibrary
W
(
strXPCOM
);
hXPCOM
=
LoadLibrary
ExW
(
file_name
,
0
,
LOAD_WITH_ALTERED_SEARCH_PATH
);
if
(
!
hXPCOM
)
{
WARN
(
"Could not load XPCOM: %d
\n
"
,
GetLastError
());
return
FALSE
;
...
...
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