03-14-2012, 02:05 PM
New type of QM items? I'm not sure it is possible in exe without any external files. When exe is executing, its file is locked and cannot be modified. Also it possibly will be in Program Files or other folder where exe cannot write if runs not as admin. Also you may need separate data files for each user of that computer. Also you may sign your exe in the future. Will need separate file for data anyway. Possible to add all data to a single file.
It can be a Sqlite database file. Then need sqlite dll, but possible to add it to exe. Need some SQL learning, but it will be useful in future not only with QM.
Or an XML file. If data will not be very big.
Or registry. If data will not be big and don't need to use the data as a file.
You can add initial file to exe, if want. Extract somewhere when exe runs first time. Then use the extracted file.
Maybe I'll create a class to make it easier.
It can be a Sqlite database file. Then need sqlite dll, but possible to add it to exe. Need some SQL learning, but it will be useful in future not only with QM.
Or an XML file. If data will not be very big.
Or registry. If data will not be big and don't need to use the data as a file.
You can add initial file to exe, if want. Extract somewhere when exe runs first time. Then use the extracted file.
Maybe I'll create a class to make it easier.