1 #ifndef __CAPRICEINFO__
2 #define __CAPRICEINFO__
46 virtual ~CAPriceInfo();
50 UINT8* pTmpStr = NULL;
53 int hlen = strlen((
char*)m_pStrMixId)+1;
54 pTmpStr =
new UINT8[hlen];
55 memset(pTmpStr, 0, (hlen*
sizeof(
UINT8)) );
56 strncpy( (
char*)pTmpStr, (
char*)m_pStrMixId, (hlen-1));
61 UINT8* getPriceCertHash()
63 UINT8* pTmpStr = NULL;
64 if(m_pStrPriceCertHash!=NULL)
66 int hlen = strlen((
char*)m_pStrPriceCertHash)+1;
67 pTmpStr =
new UINT8[hlen];
68 memset(pTmpStr, 0, (hlen*
sizeof(
UINT8)) );
69 strncpy((
char*)pTmpStr, (
char*)m_pStrPriceCertHash, (hlen-1));
82 UINT8* m_pStrPriceCertHash;