Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fmupdate
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
李定达
fmupdate
Commits
893345dd
Commit
893345dd
authored
Dec 24, 2018
by
刘帅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修正一处字串转换引起的崩溃,添加红宝石、友琪便利商户
parent
2701981e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
2 deletions
+16
-2
fmscupd/fmcontrol.cpp
+1
-1
fmscupd/fmscupd.pro
+3
-1
fmscupd/fmtools.cpp
+12
-0
No files found.
fmscupd/fmcontrol.cpp
View file @
893345dd
...
...
@@ -148,7 +148,7 @@ bool FmControl::_LaunchProcess(const QString &exePath, QString& error)
}
// 在复制的用户Session下执行应用程序,创建进程。
if
(
CreateProcessAsUser
(
hDuplicatedToken
,
exePath
.
toStdWString
().
c_str
(
),
NULL
,
NULL
,
NULL
,
FALSE
,
reinterpret_cast
<
const
wchar_t
*>
(
exePath
.
utf16
()
),
NULL
,
NULL
,
NULL
,
FALSE
,
NORMAL_PRIORITY_CLASS
|
CREATE_NEW_CONSOLE
|
CREATE_UNICODE_ENVIRONMENT
,
lpEnvironment
,
NULL
,
&
si
,
&
pi
)
==
FALSE
)
{
...
...
fmscupd/fmscupd.pro
View file @
893345dd
...
...
@@ -10,9 +10,11 @@ CONFIG += c++11
DEFINES
+=
QUAZIP_STATIC
#DEFINES += SHIQIJIA
#DEFINES += SHAN_LIN
DEFINES
+=
BALIBEITIAN
#
DEFINES += BALIBEITIAN
#DEFINES += AI_SEN
#DEFINES += TODAY
#DEFINES += RUBY
DEFINES
+=
YOUQI
TARGET
=
fmscupd
CONFIG
+=
windows
...
...
fmscupd/fmtools.cpp
View file @
893345dd
...
...
@@ -153,6 +153,18 @@ FmTools::FmTools()
m_keyPosId
=
"pos_no"
;
#endif
#ifdef RUBY
m_partnerId
=
"1774"
;
m_siIniPath
=
QCoreApplication
::
applicationDirPath
()
+
"/user.ini"
;
m_keyStoreId
=
"storeInfo/storeId"
;
m_keyPosId
=
"storeInfo/posId"
;
#endif
#ifdef YOUQI
m_partnerId
=
"1758"
;
m_siIniPath
=
QCoreApplication
::
applicationDirPath
()
+
"/user.ini"
;
m_keyStoreId
=
"storeInfo/storeId"
;
m_keyPosId
=
"storeInfo/posId"
;
#endif
}
FmTools
::~
FmTools
()
...
...
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