By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,573 Members | 1,760 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,573 IT Pros & Developers. It's quick & easy.

Shared Variable... Help me please...

P: n/a

Here the situation:

I have 2 Web services which call each one a DLL. Each one of these dlls
uses a shared variable to read and write in a file XML (the same one).
The problem, when file XML is updated by one of the applications, the other
is not refreshed even if I make a ' xmlDocument.load(path) '.

The 2nd application continues to use its old version. The problem is that
my 2 applications crush file XML mutually and the data are erroneous.

Moreover (perhaps this is not significant, I do not know), but a '
ReaderWriterLock' is used for this file XML.

I thus created a new DLL which declares the variable shared and my 2 Dlls
call this new DLL. The result is completely the same one...

Is this due to the Service Web?? What to make?? Thank you!
Feb 10 '06 #1
Share this Question
Share on Google+
1 Reply

P: n/a

In my opinion will this never work.

A write to a database of a XML file and the removing of the old one secure,
needs so much time, that you never can predict the results.

However just my idea.

Feb 11 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.