 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Dave Krajcar Guest
|
Posted: Tue Aug 10, 2004 1:39 pm Post subject: Quickreports on a web app. |
|
|
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 |
|
 |
|
|
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
|
|