In the past, if I've needed two processes to share data I've used some communication method.
When one process has been AutoIt and the other C/++ I've used filemapping.
I now find myself wanting to just use a file of some sort. I believe you cannot use a text or ini file because of access collisions and such, but what what about xml, can they be used safely with 2 processes accessing them.
What are my options?
EDIT:
Again, one will be AutoIt and the other C++
Ok, let's the C part alone for now.
Compile these:
; reader
#include <SQLite.au3>
#include <SQLite.dll.au3>
Local $aResult, $iRows, $iColumns, $iRval, $sDbName = @ScriptDir & '\test.db'
_SQLite_Startup()
If @error Then
MsgBox(16, "SQLite Error", "SQLite.dll Can't be Loaded!")
Exit -1
EndIf
ConsoleWrite("_SQLite_LibVersion=" & _SQLite_LibVersion() & @CRLF)
Local $hDskDb = _SQLite_Open($sDbName) ;this is the path ; Open a permanent disk database
If @error Th