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 

Can I create a unit that when included it will add debugging

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





PostPosted: Wed Feb 28, 2007 12:38 am    Post subject: Can I create a unit that when included it will add debugging Reply with quote



My company uses standalone CGI .EXE files which are basically applications with a TWebModule.

What I'd like to do is create a unit that you can include in a project that will add javascript debugging to the application.

Here's what I would need:

1) Add JavaScript to the top of the response content no matter what. (It seems like I can do this in TWebModule.AfterDispatch)

2) Add a global function called log() that can be called to write content to the output stream (or buffer it until AfterDispatch)

Can this be done? How can I find the TWebModule at run-time in my code?
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.