• Post Reply Bookmark Topic Watch Topic
  • New Topic

IO access problem  RSS feed

 
Li Caocao
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In order to speed up file I/O access, I let program do directly with variant insteand of database file. I put all records' value into a data structure. Now my problem is: if I make local and network client run at the same time, I cannot let them show the same dynamic results if changes happen. What's more, is it required that I have to run local and network together?
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Posts: 12100
246
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Li
Check your instructions. You probably have a comment (it may be in the "Locking" section) stating "You may assume that at any moment, at most one program is accessing the database file".
So you do not have to worry about the local and networked applications running simultaneously.
Regards, Andrew
 
Li Caocao
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!