Skip to main content
Inspiring
March 6, 2008
Question

Can CF call an ISAPI extension (dll)?

  • March 6, 2008
  • 4 replies
  • 872 views
I'm not a CF guy, so bear with me.

We have an ISAPI extension and want to use it in a website written in CF.
Is this possible? The web guy is telling me to rewrite it as a custom tag.

    This topic has been closed for replies.

    4 replies

    Inspiring
    March 6, 2008
    Can you point me to a reference on this so I can figure out the calling
    syntax?

    "Mr Black" <webforumsuser@macromedia.com> wrote in message
    news:fqp4ul$sji$1@forums.macromedia.com...
    > Yes, you can use an IISAPI extension on CF Web-site. You do not need to
    > re-write it to any custom tag, unless, you want to. ColdFusion itself is
    > IISAPI extension.

    Participating Frequently
    March 6, 2008
    You cannot call it from CF, because it is a IIS extension. IIS extension is a self-contained app, which you can call from CF-generated HTML page, for example. This is similar like combining, let's say ASP and CF.

    What exactly is your purpose? And what kind of extension you are talking about?
    Inspiring
    March 6, 2008

    "SafariTECH" <contact@safaritech.com> wrote in message
    news:fqp2g0$q30$1@forums.macromedia.com...
    > It depends on what the executable needs to do etc - but CFEXECUTE can run
    > executable extensions on the server.

    The goal is to pass in an integer key, and return a text string containing a
    couple of pages of merged text.

    > If it is something straight forward, or if CFEXECUTE is disabled on the
    > server
    > for security reasons, writing it as a custom tag may be a better solution.

    I've been looking at custom tags. The only example I've found is in C++,
    and I'm writing in Delphi. I see references to Delphi examples, but haven't
    found the actual code yet. Any suggestions?


    Participating Frequently
    March 6, 2008
    Yes, you can use an IISAPI extension on CF Web-site. You do not need to re-write it to any custom tag, unless, you want to. ColdFusion itself is IISAPI extension.
    Inspiring
    March 6, 2008
    It depends on what the executable needs to do etc - but CFEXECUTE can run executable extensions on the server.

    If it is something straight forward, or if CFEXECUTE is disabled on the server for security reasons, writing it as a custom tag may be a better solution.