Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Asp and vfp exe
Message
From
06/02/2002 19:03:02
 
 
To
06/02/2002 15:52:30
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00616269
Message ID:
00616352
Views:
26
>Does it need to be single use? Have you tried to compile the VFP object as a multi threaded COM Server (MTDLL), or is this not an option in your situation?
>
>Aloha,
>
>James
>
>>Sorry for a similar post.
>>
>>This is from Help:
>>SingleUse Objects in EXE Servers.
>>
>>With the Instancing property set to SingleUse, each instance causes a new EXE process to begin (under Windows NT 4.0 or later you will see each running process in the Task Manager). …..
>>That’s exactly what my ASP page does when it gets multiple hits in the same time. Here is a source code:
>>
>>
>><SCRIPT LANGUAGE="JavaScript" RUNAT="Server">
>>Response.Expires = 0;
>>var oVfpServer = new ActiveXObject("ccsobjects.foxserver");
>> // Every remote page is calling same mDispetch method and provides info about a class library
>> oVfpServer.mDispetch(Request, Response, Session, 'ccs_middletier', Server);
>> // Cleanup
>> oVfpServer = null;
>></SCRIPT>
>>
>>
>>So, in the Task Manager I do see multiple processes.
>>
>>It works like this when I run my Web locally. Using another Web server I have different functionality. I don’t see multiple processes in the Task Manager and second hit waits for the first one to finish. What kind of Web Server settings am I missing? Another detail: Program gets data from SQL Server.
>>
>>Any help would be appreciated.
>>Thanks, Mark


I cannot use DLL because of that Print window that is a user interface not allowed in DLLs.

Mark
Previous
Reply
Map
View

Click here to load this message in the networking platform