Thread View: borland.public.cppbuilder.internet.web
4 messages
4 total messages
Started by jb
Tue, 06 Jul 2004 22:39
HOW TO DEBUGGING CGI
Author: jb
Date: Tue, 06 Jul 2004 22:39
Date: Tue, 06 Jul 2004 22:39
24 lines
1421 bytes
1421 bytes
Hi, How can I display a Message Box in a CGI for debugging purpose. I tried inserting MessageBox(...) in one of my Action function but that seems to lock up the CGI. I believe this is do to the fact that my CGI is running in the IIS environtment and therefore using IIS message loop. If my understanding is correct, in order for this to work, I must create my own message loop for my message dialog box. Help please. Environment info: -IIS is running on my local/testing machine where my development environment is. -Win2003 server -Cbuilder 5 - and I'm totally new in Cbuilder. Thx jb
Re: HOW TO DEBUGGING CGI
Author: Remy Lebeau (TeamB)
Date: Tue, 06 Jul 2004 23:48
Date: Tue, 06 Jul 2004 23:48
17 lines
1472 bytes
1472 bytes
"jb" <jboonmee@propay.com> wrote in message news:40eb2a28$1@newsgroups.borland.com... > How can I display a Message Box in a CGI for debugging purpose. You can't, because then a popup dialog box will appear on the server end and lock up the CGI from sending data back to the client. > I tried inserting MessageBox(...) in one of my Action > function but that seems to lock up the CGI. As well it should, because the CGI is waiting for a user to come and close the popup dialog on the server itself. Gambit
Re: HOW TO DEBUGGING CGI
Author: Hans Galema
Date: Wed, 07 Jul 2004 06:40
Date: Wed, 07 Jul 2004 06:40
11 lines
1263 bytes
1263 bytes
jb wrote: > How can I display a Message Box in a CGI for debugging purpose. That is not the way to debug a cgi program. You have at least two options: - Make a -debug-logfile, and change ShowMessage to append to the file. - printf() your debuginfo as comments or tekst to the htmlpage. Hans.
Re: HOW TO DEBUGGING CGI
Author: jb
Date: Fri, 16 Jul 2004 10:39
Date: Fri, 16 Jul 2004 10:39
41 lines
1942 bytes
1942 bytes
Actually, you can as long as you have a way to close the dialog box before the IIS times out (if you are quick, this is where you would attach to the CGI process , then close the dialogbox). I'm doing it now. In fact I even have a better solution. Email me if you want it. Thanks anyway though. jb "jb" <jboonmee@propay.com> wrote in message news:40eb2a28$1@newsgroups.borland.com... > Hi, > > How can I display a Message Box in a CGI for debugging purpose. > > I tried inserting MessageBox(...) in one of my Action function but that > seems to lock up the CGI. I believe this is do to the fact that my CGI is > running in the IIS environtment and therefore using IIS message loop. > > If my understanding is correct, in order for this to work, I must create my > own message loop for my message dialog box. > > Help please. > > > Environment info: > > -IIS is running on my local/testing machine where my development environment > is. > -Win2003 server > -Cbuilder 5 > - and I'm totally new in Cbuilder. > > Thx > jb > >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads