Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Can CF call an ISAPI extension (dll)?

LEGEND ,
Mar 05, 2008 Mar 05, 2008
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.

755
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 06, 2008 Mar 06, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Mar 06, 2008 Mar 06, 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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 06, 2008 Mar 06, 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?


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 06, 2008 Mar 06, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Mar 06, 2008 Mar 06, 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?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 06, 2008 Mar 06, 2008
> What exactly is your purpose? And what kind of extension you are talking
> about?

The goal is to encapsulate existing D7 code that produces a couple of pages
of printable rtf text. The text will be displayed by the website.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Mar 07, 2008 Mar 07, 2008
LATEST
What is the difference between D7 and D12345?

Just include the call to the extension, as link, frame, page, pop-up, etc.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources