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
5275b1b8
Commit
5275b1b8
authored
Apr 01, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Apr 02, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advpack: Call OleInitialize before registering OCXs, like native does.
parent
fd8868ba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Makefile.in
dlls/advpack/Makefile.in
+1
-1
install.c
dlls/advpack/install.c
+3
-0
No files found.
dlls/advpack/Makefile.in
View file @
5275b1b8
...
...
@@ -4,7 +4,7 @@ SRCDIR = @srcdir@
VPATH
=
@srcdir@
MODULE
=
advpack.dll
IMPORTLIB
=
libadvpack.
$(IMPLIBEXT)
IMPORTS
=
setupapi version user32 advapi32 kernel32 ntdll
IMPORTS
=
ole32
setupapi version user32 advapi32 kernel32 ntdll
C_SRCS
=
\
advpack.c
\
...
...
dlls/advpack/install.c
View file @
5275b1b8
...
...
@@ -30,6 +30,7 @@
#include "winnls.h"
#include "setupapi.h"
#include "advpub.h"
#include "ole2.h"
#include "wine/debug.h"
#include "wine/unicode.h"
#include "advpack_private.h"
...
...
@@ -350,8 +351,10 @@ static HRESULT adv_install(ADVInfo *info)
if
(
hr
!=
S_OK
)
return
hr
;
OleInitialize
(
NULL
);
hr
=
iterate_section_fields
(
info
->
hinf
,
info
->
install_sec
,
RegisterOCXs
,
register_ocxs_callback
,
NULL
);
OleUninitialize
();
if
(
hr
!=
S_OK
)
return
hr
;
...
...
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