Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
FreemudWrapper
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李定达
FreemudWrapper
Commits
3115db20
Commit
3115db20
authored
Aug 01, 2017
by
李定达
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.统一spn和res导出函数
parent
672d92cc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
13 deletions
+14
-13
.gitignore
+1
-0
FreemudWrapper.cpp
+13
-13
No files found.
.gitignore
View file @
3115db20
...
...
@@ -2,3 +2,4 @@ Debug/
Release/
*.ipch
*.sdf
*.opensdf
FreemudWrapper.cpp
View file @
3115db20
...
...
@@ -111,19 +111,19 @@ void DoCopyFile(const char *dir)
extern
"C"
{
//
__declspec(dllexport) int _stdcall GetValue(char *indata, char *outdata)
//
{
//
HMODULE hMod = GetInstance();
//
if (hMod) {
//
PFN_GETVALUE pfn_GetValue = (PFN_GETVALUE)GetProcAddress(hMod, "_GetValue@8");
//
if (pfn_GetValue) {
//
return pfn_GetValue(indata, outdata);
//
}
//
FreeLibrary(hMod);
//
}
//
return -1;
//
}
__declspec
(
dllexport
)
int
_stdcall
GetValue
(
char
*
indata
,
char
*
outdata
)
{
HMODULE
hMod
=
GetInstance
();
if
(
hMod
)
{
PFN_GETVALUE
pfn_GetValue
=
(
PFN_GETVALUE
)
GetProcAddress
(
hMod
,
"_GetValue@8"
);
if
(
pfn_GetValue
)
{
return
pfn_GetValue
(
indata
,
outdata
);
}
FreeLibrary
(
hMod
);
}
return
-
1
;
}
__declspec
(
dllexport
)
int
_stdcall
RESGetValue
(
char
*
indata
,
char
*
outdata
)
{
...
...
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