Re: Can COM objects be called from both foxisapi and ASP?

From: Paul (paulnospam_at_laberg.com.au)
Date: 10/20/04


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.
>
>



Relevant Pages

  • Make IIS V6 2003 Server React with the Desktop
    ... trying to migrate to our new win 2003 small business edition server. ... In the service manager under IIS Service under Log On we checked the box ... Created a virtual directory "cgi-win " with the same scripts and executables ...
    (microsoft.public.windows.server.sbs)
  • Re: Need help with threading..
    ... the threads in the thread pool are part of the MTA apartment. ... This might not work with your out of process COM server. ... MyKindOfObject myObject = new MyKindOfObject; ... You said that they are COM executables which honestly, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Reducing the size of executables produced by GNAT
    ... 120K or 45K or 10K CGI executables won't make a difference because the ... The Ada Web Server library from AdaCore was designed ... I do not know how to do with the exceptions runtime. ...
    (comp.lang.ada)
  • Re: c++ web scripting
    ... > a compiler, produce an executable, put it on a server, and stroll away. ... the executables themselves are cached, not the HTML output of those ... Web server invokes the CGI handler for .cpp files, ServeCPPFile. ...
    (comp.lang.cpp)
  • Re: authenticating remote peer question
    ... InitializeSecurityContext - you get data to send to the server ... AcceptSecurityContext - you may get data to return to the client ... Microsoft MVP, MCSD ... I have a service which accepts executables send by remote machine and ...
    (microsoft.public.win32.programmer.networks)