MFC 並沒有直接讀寫XML節點的Class或Funtion
找了網路上別人常用的'外掛'
MSXML TinyXML CMarkup XMLLite
端從使用方法評估,選了CMarkup,很直覺,也不需要複雜的安裝步驟
以我為中心的宇宙 發表在 痞客邦 留言(0) 人氣(698)
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) 人氣(787)
一直試著利用
CoCreateGuid() 及 UuidToString()
取得GUID做為檔名
unsigned char * strguid=NULL;
UUID guid;
if(S_OK == CoCreateGuid(&guid))
{
if(RPC_S_OK == (UuidToString(&guid, &strguid)))
{
....
}
}
以我為中心的宇宙 發表在 痞客邦 留言(0) 人氣(149)
以我為中心的宇宙 發表在 痞客邦 留言(0) 人氣(139)