Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multithreaded dll
Message
From
02/09/2003 03:45:34
Bhavesh Desai
Apex Softcell (India) Pvt. Ltd.
India
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Multithreaded dll
Miscellaneous
Thread ID:
00825186
Message ID:
00825186
Views:
54
Hi everybody,
We have built a 3 tier application in which asp is front end and backend is oracle and vfp is in middle since the application is used on WAN. The main problem comes in when too many users fire the same report, the mtx hangs and then unless you end task the mtx you can't proceed further.
When a user request a report, the dll fetches data from the server, manipulates it and creates a report file and the dll then passes on the filename to the front end which then zips up the same and transfer to client side. A sample prg is given below

lcInitstring1="Chr(27)+'@'"
lcInitstring2="Chr(27)+Chr(67)+Chr(72)"
lcPageeject="Chr(12)"

lcAltfile=tcOutputfile
Set Alternate to &lcAltfile
Set Alternate On
Set Cons Off
?? &lcInitstring1
?? &lcInitstring2
lnPgbreak=64
Scan
?
??
Endscan
Set Console On
Close Alternate
Set Alternate Off

retu

Can anyone tell me what could be the problem

Regards and Thanks.

Bhavesh Desai
Next
Reply
Map
View

Click here to load this message in the networking platform