MFC 並沒有直接讀寫XML節點的Class或Funtion
找了網路上別人常用的'外掛'
MSXML TinyXML CMarkup XMLLite
端從使用方法評估,選了CMarkup,很直覺,也不需要複雜的安裝步驟

以我為中心的宇宙 發表在 痞客邦 留言(0) 人氣()

GetFileAttributes() returns -1 if the file does not exist, and does NOT require a handle to an open file.
Similarily, _access() also does this.
if(_access (FileName, mode) != -1)

以我為中心的宇宙 發表在 痞客邦 留言(0) 人氣()

一直試著利用 
CoCreateGuid() 及 UuidToString()
取得GUID做為檔名

unsigned char * strguid=NULL;
UUID guid;
if(S_OK == CoCreateGuid(&guid))
{
if(RPC_S_OK == (UuidToString(&guid, &strguid)))
{
....
}
}

以我為中心的宇宙 發表在 痞客邦 留言(0) 人氣()

CoCreateGUID()

以我為中心的宇宙 發表在 痞客邦 留言(0) 人氣()

1
Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。