BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Quickreports on a web app.

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Isapi-WebBroker
View previous topic :: View next topic  
Author Message
Dave Krajcar
Guest





PostPosted: Tue Aug 10, 2004 1:39 pm    Post subject: Quickreports on a web app. Reply with quote



I am trying to create a pdf file from an app that is a web broker type app.
It runs fine in the web app debugger, but many problems when running as a
dll under IIS. Main problem I have discovered (thanks to a great assist from
a poster on this group) is that I can't have the report as an actual part of
the project. Instead, I must manually call the create method for the report.
My code looks like this (relevant part only):

pdffilt := tqrpdfdocumentfilter.create(pdf_name);

appldgr := tappldgr.create(nil);

appldgr.exporttofilter(pdffilt);

appldgr.free;

pdffilt.free;

handled := true;

response.sendredirect(pdf_name);

The module for appldgr is in the uses statement so that it can be called. As
near as I can tell, the dll generates an exception of some kind and returns
a 500 type error to the browser.

What is the secret to having a report in a dll that does not really have any
visual components. (more like a console app, I guess).

Thanks!

-Dave


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Isapi-WebBroker All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.