Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IXmlNode problems
#5
CFileInterlocked class.
You can use it to synchronize access to shared files.

WORD LIST:
_error _hwndqm access accessed Add addline again all and append avoid because BEGIN Button call Called calling can Cancel cannot case CFileInterlocked change class Click Close closed CloseHandle Closes code compile computers CreateFileW creates CreateXml data declare defaultXML desktop destroying dialog Dialog_Editor dlg_test_CFileInterlocked dllerror does don each EDITOR empty EnableWindow end err Error ERROR_SHARING_VIOLATION errors ES_FAILED even EXAMPLES exist expandpath file FILE_ATTRIBUTE_NORMAL FILE_END fileName files fix flags for FromIXml FromStr FromString function GENERIC_READ GENERIC_WRITE getfile GetFileSize GetLastError goto handle have hDlg help IDCANCEL IDOK iif implicitly instead int invalid INVALID_HANDLE_VALUE itself IXml len lock locked Locks lParam macros message messages messages2 multiple need network not only Open OPEN_ALWAYS opened opening Opens opt other out path private probably processes read ReadFile reason rep restart ret RootElement Run running same sel
separate SetEndOfFile SetFilePointer setwintext shared ShowDialog simultaneously some Static Stores str Synchronizes test text that the Then this thread threads times ToIXml ToStr ToString txt unlocked until Use variable VISTA32 waiting waitmsg waits want when While will WM_COMMAND WM_DESTROY WM_INITDIALOG wParam write WriteFile Writes xml xxxxx You


Attached Files
.qml   CFileInterlocked.qml (Size: 4.04 KB / Downloads: 308)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)