473,791 Members | 3,229 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Simple Multiuser access to file ?

Hi,

i need a simple multiuser access to a file for
parameters like increment numbers.
The numbers are needed for order-numbers etc.
They should be incremented by every programm (client) on
an simple LAN server.

How can i do this ?
Thanks in advance,
Howie
Jul 19 '05 #1
1 2038
Howie wrote:
Hi,

i need a simple multiuser access to a file for
parameters like increment numbers.
The numbers are needed for order-numbers etc.
They should be incremented by every programm (client) on
an simple LAN server.

How can i do this ?
Thanks in advance,
Howie


Hmmm, another file question. File manipulation is
a platform specific operation and not discussed in
this newsgroup. The _standard_ C++ language has
no facilities for nor imposes any restrictions on
file attributes (such as multi-user access).

Read the FAQ and Welcome.txt below.

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.l earn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1717
by: nephish | last post by:
Hey there, i have been spending some time learning python. i do enjoy it so. Heres the deal. i need some dirrection advice. i have a friend that wants me to set up a customer database for him. Easy stuff like name, phone number, email address. and current status. he also wants to be able to print this stuff out. Heres the deal. He runs windows xp. how could i write something to help him out ? i thought of glade, since its gtk and gtk can...
0
334
by: Ketchup Kerry | last post by:
I wrote a multithreaded windows service that has read/write access to an XML file using a mutex. I started wondering -- a multiuser XML file could be really useful in cases where a small, one-table, database is needed. Then, I am wondering how to implement in a web service. For example, when a user consumes a web service, is each user on a single thread on the server?
0
1272
by: Caesare Gentile | last post by:
Suppose I want to write a webservice, where an XML file is loaded in XmlDocument and then a web method is built that would take in an XPath query as a parameter, and a string value. The Xpath query would be used to find the node, and the value would update the InnerXml attribute. The question is: how can a web service provide multiuser access to the same XmlDocument?
0
430
by: Durai | last post by:
Hello All, How to test the "Multiuser testing" in PostgreSQL?. I used the apache bench "ab" tool for this one. The following command execute the "test.php" 50 times concurrently. $ ab -c 1 -n 50 http://127.0.0.1/test.php The test.php file contains the following contents:
6
4259
by: Mike Wiseley | last post by:
We recently converted our department wide shared Access97 database to Access2K. We used to be able to open various reports in design mode and make changes to the design (or create new reports) even while other users in this shared database might be using other, unrelated reports. Now, in Access2k, it appears that whenever you do not have exclusive access, you cannot make any design changes to reports. It seems that the presence of any...
2
1774
by: marifusman | last post by:
Acees 2.0 application when user run application it give following error. The database is opened by user "Admin" on machine "abc". you can not open this database exclusively. Please help me usman
0
1722
by: s | last post by:
I need to develop a multiuser database application to be used by four people(The number of users are not likely to increase). It is for storing records of different versions of particular papers. I am new to building such an application. I would like to know what would the requirements be for using Access as the means for building the multiuser database. Two of the four use Access 2000(running Windows 98) and other two use Access...
3
1557
by: jofo | last post by:
Hello all, I am working on a multiuser access db. I want to have people login and then store their user information in an object. I want to store the information because it will be used in every form along with selections made on the forms in the database. The db will be stored on a file server and the users will access it through their desktop version of Access 2003.
4
2162
by: sumansengupta | last post by:
I created an access in access2003 , its being used in multiuser environment ..based on a particular value the database is automatically closed and only i can change the value. Even after the database is closed the .ldb file exist .. Now I tried your code die.cfm from the following website http://evolt.org/node/3644 , not very sure how to use it , because with the .cfm extension its not getting executed , can you suggest how can i get it...
0
10419
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10201
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10147
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9987
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7531
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6770
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5552
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3709
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2910
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.