 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
John Klimek Guest
|
Posted: Wed Feb 28, 2007 12:38 am Post subject: Can I create a unit that when included it will add debugging |
|
|
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 |
|
 |
|
|
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
|
|