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
e39b3a2f
Commit
e39b3a2f
authored
Apr 06, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
capi2032: Use standard dlopen() instead of the libwine wrappers.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3caa3331
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
cap20wxx.c
dlls/capi2032/cap20wxx.c
+2
-3
No files found.
dlls/capi2032/cap20wxx.c
View file @
e39b3a2f
...
...
@@ -37,7 +37,6 @@
#ifdef HAVE_CAPI20_H
# include <capi20.h>
#endif
#include "wine/library.h"
#include "wine/debug.h"
#include "cap20wxx.h"
...
...
@@ -61,12 +60,12 @@ static void load_functions(void) {
if
(
pcapi20_register
)
/* loaded already */
return
;
capi_handle
=
wine_dlopen
(
SONAME_LIBCAPI20
,
RTLD_NOW
,
NULL
,
0
);
capi_handle
=
dlopen
(
SONAME_LIBCAPI20
,
RTLD_NOW
);
if
(
!
capi_handle
)
{
FIXME
(
"Wine cannot find the library %s, capi2032.dll not working.
\n
"
,
SONAME_LIBCAPI20
);
return
;
}
#define LOAD_FUNCPTR(f) if((p##f =
wine_dlsym(capi_handle, #f, NULL, 0
)) == NULL){WARN("Can't find symbol %s\n", #f); return;}
#define LOAD_FUNCPTR(f) if((p##f =
dlsym(capi_handle, #f
)) == NULL){WARN("Can't find symbol %s\n", #f); return;}
LOAD_FUNCPTR
(
capi20_register
);
LOAD_FUNCPTR
(
capi20_release
);
LOAD_FUNCPTR
(
capi20_put_message
);
...
...
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