|
|
@@ -751,8 +751,10 @@ public:
|
|
|
if (m_nSysCallType == 0)
|
|
|
{
|
|
|
SpBuffer buf;
|
|
|
- buf.OpenWrite(32 + m_strMenuTree.GetLength()*2);
|
|
|
- buf & m_strMenuTree;
|
|
|
+ buf.OpenWrite(32 + m_strMenuTree.GetLength() * 2);
|
|
|
+ CSimpleString16Bit menuTree = CSimpleStringW216Bit(m_strMenuTree);
|
|
|
+ buf& menuTree;
|
|
|
+ Dbg("%s After convert: %s", __FUNCTION__, CSimpleString16Bit2A(menuTree).GetData());
|
|
|
ChannelService_Send_Info Info;
|
|
|
Info.sub_type = ACM_IM_MENUTREE;
|
|
|
Info.type = ACM_TYPE_IM;
|
|
|
@@ -780,7 +782,9 @@ public:
|
|
|
{
|
|
|
SpBuffer buf;
|
|
|
buf.OpenWrite(32 + m_strMenuPath.GetLength()*2);
|
|
|
- buf & m_strMenuPath;
|
|
|
+ CSimpleString16Bit menuPath = CSimpleStringW216Bit(m_strMenuPath);
|
|
|
+ buf& menuPath;
|
|
|
+ Dbg("%s After convert: %s", __FUNCTION__, CSimpleString16Bit2A(menuPath).GetData());
|
|
|
ChannelService_Send_Info Info;
|
|
|
Info.sub_type = ACM_IM_MENUPATH;
|
|
|
Info.type = ACM_TYPE_IM;
|
|
|
@@ -807,7 +811,9 @@ public:
|
|
|
{
|
|
|
SpBuffer buf;
|
|
|
buf.OpenWrite(32 + strText.GetLength()*2);
|
|
|
- buf & strText;
|
|
|
+ CSimpleString16Bit convertData = CSimpleStringW216Bit(strText);
|
|
|
+ buf& convertData;
|
|
|
+ Dbg("%s After convert: %s", __FUNCTION__, CSimpleString16Bit2A(convertData).GetData());
|
|
|
ChannelService_Send_Info Info;
|
|
|
Info.sub_type = ACM_IM_SHOWTEXT;
|
|
|
Info.type = ACM_TYPE_IM;
|
|
|
@@ -846,7 +852,10 @@ public:
|
|
|
{
|
|
|
SpBuffer buf;
|
|
|
buf.OpenWrite(32 + strContent.GetLength()*2);
|
|
|
- buf & id & strContent;
|
|
|
+ buf& id;
|
|
|
+ CSimpleString16Bit convertedData = CSimpleStringW216Bit(strContent);
|
|
|
+ buf& convertedData;
|
|
|
+ Dbg("%s After convert: %s", __FUNCTION__, CSimpleString16Bit2A(convertedData).GetData());
|
|
|
ChannelService_Send_Info Info;
|
|
|
Info.sub_type = ACM_IM_FRONTSYNC;
|
|
|
Info.type = ACM_TYPE_IM;
|
|
|
@@ -1008,7 +1017,9 @@ public:
|
|
|
{
|
|
|
SpBuffer buf;
|
|
|
buf.OpenWrite();
|
|
|
- buf & packet;
|
|
|
+ CSimpleString16Bit convertedData = CSimpleStringW216Bit(packet);
|
|
|
+ buf& convertedData;
|
|
|
+ Dbg("%s After convert: %s", __FUNCTION__, CSimpleString16Bit2A(convertedData).GetData());
|
|
|
ChannelService_Send_Info Info;
|
|
|
Info.sub_type = ACM_SUBTYPE_ANS_FLOW;
|
|
|
Info.compress = true;
|