You are viewing a plain text version of this content. The canonical link for it is here.
Posted to asp@perl.apache.org by Ph...@netscape.net on 2003/01/28 17:45:33 UTC
[Apache:ASP] Configuring threads ?
Everyone,
My application consists of several dlls written in VB. I am using Apache::ASP with a Server-->CreateObject to create and pass in the parameters.
Everything seems to work well, except when I do a GetObject on a running executable. The flow looks like:
Apache:ASP ----> CreateObject(First.dll)---->GetObject(,"Second.func")
BUT
If I substitute a VB test interface instead of the Apache::ASP everything works well, meaning I am able to do the GetObject and retrieve values from the executable.
This makes me wonder if the problem has to do with some configuration of threads in Apache::ASP. Am I far off the mark?
Anyone with a suggestion regarding threads?
Any/all help will be greatly appreciated.... Thanks for your valuable time... looking forward to hearing from you,
Philip.
__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp
Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org
Re: [Apache:ASP] Configuring threads ?
Posted by Josh Chamas <jo...@chamas.com>.
PhilNadavallil@netscape.net wrote:
> Everyone,
>
> My application consists of several dlls written in VB. I am using Apache::ASP with a Server-->CreateObject to create and pass in the parameters.
>
> Everything seems to work well, except when I do a GetObject on a running executable. The flow looks like:
> Apache:ASP ----> CreateObject(First.dll)---->GetObject(,"Second.func")
> BUT
> If I substitute a VB test interface instead of the Apache::ASP everything works well, meaning I am able to do the GetObject and retrieve values from the executable.
>
> This makes me wonder if the problem has to do with some configuration of threads in Apache::ASP. Am I far off the mark?
>
If you think this is threads related, try MaxClients 1 in apache 1.3.x
and PerlInterpMax 1 in Apache 2.
I haven't worked with the COM/OLE interface much that $Server->CreateObject
invokes, so don't know what kind of troubles you are running into.
Further research might come up with something looking at Win32::OLE
interface and maybe on perl-win32 groups.
Regards,
Josh
________________________________________________________________
Josh Chamas, Founder phone:925-552-0128
Chamas Enterprises Inc. http://www.chamas.com
NodeWorks Link Checking http://www.nodeworks.com
---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org