Re: Can COM objects be called from both foxisapi and ASP?
From: Paul (paulnospam_at_laberg.com.au)
Date: 10/20/04
- Next message: Andrew Howell: "Re: Move on, nothing to see here."
- Previous message: Andrew Howell: "Re: procedure in separate files = slow execution?"
- Maybe in reply to: Paul: "Can COM objects be called from both foxisapi and ASP?"
- Next in thread: Paul: "Re: Can COM objects be called from both foxisapi and ASP?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 20 Oct 2004 20:44:57 +1000
Thanks for your reply Olaf.
I did what you suggested and made 2 separate executables, but it didn't
help. I think that may be it is a problem with IIS accessing the
foxisapi.dll and the com server executable within the one web site. My
application does not report any errors and I can still access the com server
using createobject in foxpro, but IIS won't instantiate the COM server
anymore until iisreset.
So I guess I will have to bite the bullet and convert the whole site over to
Foxisapi.
"Olaf Doschke" <T2xhZi5Eb3NjaGtlQFNldG1pY3MuZGU@strconv.14> wrote in message
news:uZmSNMotEHA.2596@TK2MSFTNGP15.phx.gbl...
> > I tried building a separate com server within the one executable, but it
> > didn't help.
> Why "within"?
>
> Just rename the project temporary and build the second
> one identical to the first one, but with another name.
> I think the problem is, that it's one file, so you can only
> solve it by building another file.
>
> if you have a comserverclass "mycomserverclass"
> in a project "myexe" you compiled to myexe.exe
> and instanciated it with
> oComASP = createobject("myexe.mycomserverclass")
>
> Now if you rename the project to "myexeISAPI"
> you'd have myexe2.exe and would instanciate
> this with
> oComISAPI = createobject("myexeISAPI.mycomserverclass")
>
> Now ASP and ISAPI shouldn't lock each other.
>
> Well, AFP was just a thought because you mentioned
> ISAPI. At the original manufacturer the prices were
> considerable, if used commercial. But remember:
> a) subdomains don't count as a host. b) the list of legal
> hosts is reset if the afp engine restarts. The binding to
> the motherboard is more annying to me. I didn't read
> about this at the original manufacturer www.prolib.de
>
> There is also the free ActiveVFP from
> www.activeVFP.com or you may look at west-wind
> www.west-wind.com.
>
> Bye, Olaf.
>
>
- Next message: Andrew Howell: "Re: Move on, nothing to see here."
- Previous message: Andrew Howell: "Re: procedure in separate files = slow execution?"
- Maybe in reply to: Paul: "Can COM objects be called from both foxisapi and ASP?"
- Next in thread: Paul: "Re: Can COM objects be called from both foxisapi and ASP?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|