Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Felix Münchhalfen
wine
Commits
a4f829f4
Commit
a4f829f4
authored
26 years ago
by
Pascal Cuoq
Committed by
Alexandre Julliard
26 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fixed typos.
parent
d72e2dea
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
documentation/internal-dll
+8
-8
8 additions, 8 deletions
documentation/internal-dll
documentation/shell32
+2
-2
2 additions, 2 deletions
documentation/shell32
documentation/wine.man
+2
-2
2 additions, 2 deletions
documentation/wine.man
with
12 additions
and
12 deletions
documentation/internal-dll
+
8
−
8
View file @
a4f829f4
This document describes some points you should know
when you are go
ing
to
implement
the internal counterparts to external DLL's. Only 32 bit DLL's
This document describes some points you should know
before implement
ing
the internal counterparts to external DLL's. Only 32 bit DLL's
are considered.
1. The LibMain function
-----------------------
Th
ese are
the way to do some initiali
s
ing when a process or thread is attached
Th
is is
the way to do some initiali
z
ing when a process or thread is attached
to the dll. The function name is taken from a *.spec file line:
init YourFunctionName
the you have to implement the function:
the
n,
you have to implement the function:
BOOL32 WINAPI YourLibMain(HINSTANCE32 hinstDLL,
...
...
@@ -26,11 +26,11 @@ BOOL32 WINAPI YourLibMain(HINSTANCE32 hinstDLL,
The problem here is, that you can't know if you have to call the function from
the internal or the external DLL. If you just call the function you will get
the internal implementation. If the external DLL is loaded the executed program
will use the external and you the internal
DLL
.
When you -as example- fill a iconlist placed in the internal DLL the
application wont get the icons from the external DLL.
will use the external
DLL
and you the internal
one
.
When you -as
an
example- fill a
n
iconlist placed in the internal DLL the
application won
'
t get the icons from the external DLL.
To
go
around this you
have
to call
the
functions
over pointer.
To
work
around this
,
you
should always use a pointer
to call
such
functions
:
/* definition of the pointer type*/
void (CALLBACK* pDLLInitComctl)();
...
...
This diff is collapsed.
Click to expand it.
documentation/shell32
+
2
−
2
View file @
a4f829f4
...
...
@@ -12,7 +12,7 @@ base functionality is roughly in place. The missing parts are the icon
the file copy status window.
The basis comes from Marcus Meissner and I <juergen.schmied@metronet.de>
implemented the classes and filled function stubs.
implemented the classes and filled
in
function stubs.
2. General Information
----------------------
...
...
@@ -71,7 +71,7 @@ implemented the classes and filled function stubs.
Undocumented:
MS says: the abID of SHITEMID should be treated as binary data and not
be interpreted by applications. Appl
y
s to everyone but MS itself.
be interpreted by applications. Appl
ie
s to everyone but MS itself.
Word95 interprets the contents of abID (Filesize/Date) so we have to go
for binary compatibility here.
I expect the file open/close dialog in comctl32 does so also.
...
...
This diff is collapsed.
Click to expand it.
documentation/wine.man
+
2
−
2
View file @
a4f829f4
...
...
@@ -37,9 +37,9 @@ libc6 (aka glibc2).
.PP
.B X
must be installed. To use Wine's support for multithreaded applications,
your X libraries must be reetrant. If you have libc6 (glibc2), or you
your X libraries must be ree
n
trant. If you have libc6 (glibc2), or you
compiled the X libraries yourself, they were probably compiled with the
reetrant option enabled.
ree
n
trant option enabled.
.PP
.B libXpm
must be installed. If you're using Red Hat, make sure the following
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment