PC Review


Reply
Thread Tools Rate Thread

ASP application with antiquated dll

 
 
=?Utf-8?B?Q2Fyb2xpbmU=?=
Guest
Posts: n/a
 
      21st Aug 2006
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.
 
Reply With Quote
 
 
 
 
Marina Levit [MVP]
Guest
Posts: n/a
 
      21st Aug 2006
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" <(E-Mail Removed)> wrote in message
news:4D9FCF75-9747-4584-8C5B-(E-Mail Removed)...
> 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.



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
appdata-local-Application Data-Application Data-Application Data infinitum ad nauseum. WHY keepout@yahoo.com.invalid Windows Vista General Discussion 15 16th Sep 2007 01:50 AM
Managed C++: The application failed to initialize properly (0xc000007b).Click on OK to terminate the application. Tommy Vercetti Microsoft VC .NET 4 23rd Mar 2005 08:19 PM
Fail in operating my hardware in web application , makes other windows application startup failure. Ryan.ZhYin Microsoft C# .NET 0 25th Jan 2005 08:34 AM
Making more memory available to application?Im making a memory intense application, the application is supposed to open a prettylarge image (about 9200*10200 in 300Dpi) yosh@liquidzone.net Microsoft Dot NET Framework Forms 0 6th Dec 2004 07:16 PM
How can I safe exit my application when the user terminates the application from the Control panel? Dolphin White Microsoft Dot NET Compact Framework 1 4th Sep 2003 03:47 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:15 AM.