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
034905a4
Commit
034905a4
authored
Nov 05, 2020
by
wuyang.zou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 兼容合并 FreemudWrapper.dll + PaymentWrapper.dll 功能 收尾工作
parent
1fbb1465
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
FreemudWrapper.cpp
+11
-2
No files found.
FreemudWrapper.cpp
View file @
034905a4
...
...
@@ -125,14 +125,23 @@ HMODULE GetInstance()
std
::
string
mod_config_path
=
dllPath
;
replace_all
(
mod_config_path
,
"
\\\\
"
,
"
\\
"
);
replace_all
(
dstEnvPath
,
mod_image_path
,
""
);
replace_all
(
dstEnvPath
,
";;"
,
""
);
replace_all
(
dstEnvPath
,
";;"
,
"
;
"
);
replace_all
(
dstEnvPath
,
mod_config_path
,
""
);
replace_all
(
dstEnvPath
,
";;"
,
""
);
replace_all
(
dstEnvPath
,
";;"
,
";"
);
//! Append moudle path
// 优先设置fmClient目录下dll库到环境变量的开头;
std
::
string
dstEnvNewPath
=
""
;
std
::
string
lastCharOfEnv
=
""
;
lastCharOfEnv
=
dstEnvPath
.
back
();
/*
ss.str("");
ss <<"dstEnvPath replace_all After: "<< dstEnvPath <<" mod_image_path: "<< mod_image_path <<
" ; mod_config_path: " <<mod_config_path <<" ; lastCharOfEnv : "<< lastCharOfEnv<< std::endl;
netDataLog.addLog(ss.str().c_str());
// 定位发现: mod_image_path: C:\Freemud\fmclient\ != mod_config_path: C:\Freemud\fmClient\
*/
if
(
mod_image_path
==
mod_config_path
)
{
if
(
mod_image_path
.
length
()
)
{
dstEnvNewPath
=
dstEnvPath
;
...
...
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