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
36d10c88
Commit
36d10c88
authored
Mar 09, 1999
by
Marcus Meissner
Committed by
Alexandre Julliard
Mar 09, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corrected cast so hello5 compiles again.
parent
e16512ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
hello5.c
libtest/hello5.c
+2
-2
No files found.
libtest/hello5.c
View file @
36d10c88
/*
* This example demonstrates dynamical loading of (internal) Win32 DLLS.
*/
#include <windows.h>
#include <stdio.h>
#include <windows.h>
int
PASCAL
WinMain
(
HANDLE
inst
,
HANDLE
prev
,
LPSTR
cmdline
,
int
show
)
{
...
...
@@ -15,7 +15,7 @@ int PASCAL WinMain (HANDLE inst, HANDLE prev, LPSTR cmdline, int show)
fprintf
(
stderr
,
"FATAL: could not load KERNEL32!
\n
"
);
return
0
;
}
fnGetSystemInfo
=
(
void
(
CALLBACK
*
)(
LPSYSTEM_INFO
)
)
GetProcAddress
(
kernel32
,
"GetSystemInfo"
);
fnGetSystemInfo
=
(
void
*
)
GetProcAddress
(
kernel32
,
"GetSystemInfo"
);
if
(
!
fnGetSystemInfo
)
{
fprintf
(
stderr
,
"FATAL: could not find GetSystemInfo!
\n
"
);
return
0
;
...
...
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