Re:cfm won't work in combination of other isapi.dll
Dear Paul, If i get it right, this is an example on how it would work as an CFX tag, right? I surely will take a look at it and try to convince the Delphi programmer to take a look at it and try it out. I really appreciate your interest and help on this issue. Willy >There is a CFX_API downloadable for free for Delphi that allows you to >interface directly into Cold Fusion like C++. I use it on a pretty much >daily basis and I've written such tags as CFX_CharConv, CFX_IMAP4 , >CFX_Query2File, CFX_WhoIs, CFX_POP3, CFX_ReadLn. The API is available for >free and is downloadable from the following link > >http://www.mycgiserver.com/~Leonidius/cfxd/cfxd.htm > >Your Delphi programmer should be able to see how it works and alter his code >for you but I would still recommend asking for a full copy of the source on >a CD even if you don't understand how it works. > >Paul > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:cfm won't work in combination of other isapi.dll
Dear Dave, That's right: if i call pages trough CFHTTP, the weirdest things happens: for example: there is a function that generates a html table with meters and values, if i call that page trough CFHTTP, the table will be generated but not the data in it. Another example you can try yourself: with url="" resolveurl="yes"> #CFHTTP.FileContent# , you can call the loginpage right? Well, if you login, everything seems normal, until you want to see some data, it isn't generated properly: again: tables, pulldownmenus are generated, the data that has to be in it, not. It seems to be something with calling these pages directly. If i include the application.dll in the url in the CFHTTP-tag nothing will show up. Since I'm not a programmer I wouldn't know if I can get to the source code, and with it does exactly. The developers also stay very foggy on that. Willy >> I called it an Isapi.dll because this software developer >> called it so(it's written in Delphi). So it isn't like he >> said, now i understand. >> The dll is called from the browser, that's a fact, in >> Dcomcnfg.exe you define access rights to this software so >> internet users can use it.That's all i know. And it runs via >> IIS5 on a win2k server. And there is nowhere a place in IIS >> where the dll is configured as a filter. > >No, you're right, it is an ISAPI application; it's just not a filter. > >> I've allready tried to call it with >> url="" but >> like i said before, the dll isn't working properly anymore. > >Are you saying that the DLL doesn't work when invoked from a browser either? > >> I allready suggested to the developer to work with web >> services, but they never heard about it before, so about >> building serious web-apps i don't have to discuss with them: >> they have their own vision :-(. To make my own interface and >> build another application beside the existing one would be >> like re-inventing the wheel, isn't it? > >Yes, it would be like reinventing the wheel, but sometimes that's the best >option. In the long run, it would probably be better than using CFHTTP to >invoke an ISAPI DLL. Do you have the source code for the DLL? Do you know >what it does? > >Dave Watts, CTO, Fig Leaf Software >http://www.figleaf.com/ >voice: (202) 797-5496 >fax: (202) 797-5444 > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:cfm won't work in combination of other isapi.dll
Dear Paul, I amazed to hear it would be that simple(for turning it into a CFX tag). Because i'm not a programmer for languages like Delphi I wouldn't know if I had access to the source code. If you could explain how to do that, but i don't believe it's that simple? Willy >If it's written in Delphi, it wouldn't be a massive job to turn it into a >CFX tag instead if you have access to the source code, that way you could >drop the requirement for running a page request through two ISAPI dlls your >specialised on and ISCF.dll and your problems would go away. All the CFX >tags I write are in Delphi. Its pretty straight forward to do them. >You do have access to the source code for the custom ISAPI dll don't you? > >Paul > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:cfm won't work in combination of other isapi.dll
I called it an Isapi.dll because this software developer called it so(it's written in Delphi). So it isn't like he said, now i understand. The dll is called from the browser, that's a fact, in Dcomcnfg.exe you define access rights to this software so internet users can use it.That's all i know. And it runs via IIS5 on a win2k server. And there is nowhere a place in IIS where the dll is configured as a filter. I've allready tried to call it with I allready suggested to the developer to work with web services, but they never heard about it before, so about building serious web-apps i don't have to discuss with them: they have their own vision :-(. To make my own interface and build another application beside the existing one would be like re-inventing the wheel, isn't it? W. >> You are executing a DLL from the browser (so to speak); which is >> different than an ISAPI application. I'm still under the impression >> that if you are loading a DLL in a browser you are not running that >> DLL as an ISAPI filter. > >You're right that this DLL wouldn't be an ISAPI filter. However, filters are >only one small part of ISAPI, and this DLL would certainly be an ISAPI >application if it's run through an IIS server - ISAPI is the only API >available for writing IIS applications. > >Dave Watts, CTO, Fig Leaf Software >http://www.figleaf.com/ >phone: 202-797-5496 >fax: 202-797-5444 > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:cfm won't work in combination of other isapi.dll
Hi, It's an isapi.dll directly called in the browser. With COM it communicates with database-driven software on the server. I don't think it has something to do with CGI. Unfortunately it isn't possible to access the databse directly either it's a weird Paradox DB. With CFHTTP it's not possible to control the input that's needed in the application, I allready tried that one. Cfm code will work, but the output coming with the dll won't work properly. That's when I started to worry. What do you mean with regex exactly? I'm not a real experienced user here. thx in advance. Grts, Willy > When you access the DLL directly in the URL doesn't that mean you're > > executing a CGI program; not calling an ISAPI filter? > > IIS (or your web server) sees the DLL extension and doesn't recognize > it > as a ColdFusion page; so therefore does not pass it onto the > ColdFusion > server. It won't matter whether there is a "cfm' file in the query > string > (or not). I would guess that to process CFM pages; your application. > dll > would have to send the page to the ColdFusion server before sending > results > back to the browser. How to do that I cannot say. > > You might try calling the "application.ddl?toppage=mypage.html" using > > cfhttp and then using regex to process the results in the manner you > need > them? > > > At 12:01 PM 1/4/2004, you wrote: > >Subject: cfm won't work in combination of other isapi.dll > >From: Willy Otto <[EMAIL PROTECTED]> > >Date: Sun, 04 Jan 2004 11:20:28 -0400 > >Thread: > >http://www.houseoffusion.com/cf_lists/index. > cfm/method=messages&threadid=29590&forumid=4#148464 > > > >I'm am struggling with this serious problem: we have software for pc, > and > >the software engineer of it also made an ISAPI.dll to access the > functions > >via a web page. > >When you call a web page and you want to get the functions working > on > >your page you have to make an url like this: > >www.mysite.com/application.dll?topage=mypage.html > >On that page we use labels, formatted like this(looks a bit like cf): > > >#nameoffunction#. > >If you run the page the labels show the function output, for example > a > >report or inputfields. This output is programmed in the software. > > > >Now it comes: when I want to work with Coldfusion and I also want the > > >application function to work I have to use the "application. > dll?topage="- > >in the urls, but the Coldfusion-functionality isn't working anymore. > The > >webserver recognises the *.cfm extensions but not what is inside. > >If I pass the isapi-driven labels as a variable to a next page for > >example, using an action page, then I manage to use the functions > with > >only 1 line of output. But there's also a function that generates a > whole > >table with several columns and rows, and that one I can't manage to > pass > >trough to the next page. > >I was wondering if someone could help me, maybe you have experienced > > >something like this? The software-engineer refuses to make to output > more > >editable, and they also don't understand much of real webdevelopment > with > >CFM, so I'm left all alone here and i see some good website > functionality > >go up in smoke. > >Thank you in advance and I also want to wish you a very happy new > year! > > > >With kindly regards, > > > >Willy Otto > > -- > Jeffry Houser, Web Developer > Aaron Skye, Guitarist / Songwriter > -- > AIM: Reboog711 | Phone: 1-203-379-0773 > -- > My Books: > Recording Music: > Original Energetic Acoustic Rock: > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]