473,396 Members | 1,676 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

ASP application with antiquated dll

Thanks ahead for any suggestions.

Newby question here concerning state.

I am working on a protype for a web page that uses an antiquated 3rd-party
dll. This dll was compiled with Microsoft Powerstation 4.0.

My ASP application will:

1. gather data from a user and write that data to a text file on the hard
drive
2.call the dll

The dll reads the text file, performs some math and then writes output to a
tab-delimited file.

My ASP application then reads the tab-delimited file and builds some graphs.

This works for demonstrative purposes, but I am worried that when we publish
it and have several dozen users accessing it, that I will have problems with
user data being overwritten or sent to the wrong user.

Any information--including KBs or references to literature on this topic--is
appreciated.

If the current scenario--where my ap writes and reads from the hard
drive--will work, then fine. But if it won't, I need to make a valid
argument for recompiling the dlls so the dlls will accept arguments and then
return data in memory.
Aug 21 '06 #1
1 954
If the file names are hard coded, then no doubt as soon as you have
concurrent users, you will run into problems.

It is very worth retrofitting this DLL, to return results of the function in
some sort of in memory format so you don't have these problems - not to
mention, so that you can avoid reading files from disk. Of course, if we are
talking about very large files being created here, then the in-memory
solution won't work. In this case, you will have to come up with a
workaround where a file name will be passed to the function, and that file
name will be unique for each user. This way each user gets their own file,
and they are not interfering with each other.

"Caroline" <Ca******@community.nospamwrote in message
news:4D**********************************@microsof t.com...
Thanks ahead for any suggestions.

Newby question here concerning state.

I am working on a protype for a web page that uses an antiquated 3rd-party
dll. This dll was compiled with Microsoft Powerstation 4.0.

My ASP application will:

1. gather data from a user and write that data to a text file on the hard
drive
2.call the dll

The dll reads the text file, performs some math and then writes output to
a
tab-delimited file.

My ASP application then reads the tab-delimited file and builds some
graphs.

This works for demonstrative purposes, but I am worried that when we
publish
it and have several dozen users accessing it, that I will have problems
with
user data being overwritten or sent to the wrong user.

Any information--including KBs or references to literature on this
topic--is
appreciated.

If the current scenario--where my ap writes and reads from the hard
drive--will work, then fine. But if it won't, I need to make a valid
argument for recompiling the dlls so the dlls will accept arguments and
then
return data in memory.

Aug 21 '06 #2

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

Similar topics

9
by: J. Baute | last post by:
I'm caching data in the Application object to speed up certain pages on a website The main reason is that the retrieval of this data takes quite a while (a few seconds) and fetching the same data...
3
by: Amit Dedhia | last post by:
Hi I am developing a Dot net application (involving image processing) on a uni processor. It works well on my machine. I then take all my code on a multi processor, build and run the application...
6
by: orekin | last post by:
Hi There I have been trying to come to grips with Application.Run(), Application.Exit() and the Message Pump and I would really appreciate some feedback on the following questions .. There are...
20
by: Peter Oliphant | last post by:
How does one launch multiple forms in an application? Using Photoshop as an example, this application seems to be composed of many 'disjoint' forms. Yet, they all seem somewhat 'active' in...
6
by: Josef Brunner | last post by:
Hi, I published my application (VS 2005) and am now trying to install it when I get this error message. It worked before...even on a different machine. Here is the detailed description: ...
9
by: jeff | last post by:
Hi All. I realize that when my Deployed winforms application starts, Windows needs to load the .net 2 framework before control is given to my application.... Is there anyway to either ... -...
3
by: asadikhan | last post by:
Hi, I have written a windows application with a GUI (let's call it MENU). I own the code for this application and have access to it. We have another application that is a third-part windows...
2
by: 1388-2/HB | last post by:
Title says it all. Long version is that I have a win 2003 server box with 2 nics in it, 1.1.1.1 and 2.2.2.2, both hosting websites that reference the same code location. "happywebsite.com" is...
2
by: Michael Kalika | last post by:
Hi, We have developed a VSTO 2005 Excel application and we would like to leverage ClickOnce deployment mechanism for distribution of this application. How can we do that? I was digging in MSDN...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.