Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


Using pCapture to Capture Log

Keywords: 		pCapture

Question:

I installed the samples from the serial port extender help file. When I run them and want to look at the capture-log afterwards in my browser, I see only a title line, and nothing below. When I look at it in a text editor, I see that the html is mutilated.

How can I capture the log in a clean textfile (w/o any html code)?

Answer:

If you change the pCapture(x) option to 1, as in:
	pCaptureOn(CaptureFile,1)
you can get a plain text file. Note that the pCapture is FOR DEBUGGING ONLY. We discard some information as we run behind.

To see on screen or in the capture file what is coming back from the other side, use pCaptureOn(0) and if the HTML is toasted, just View Source.


Article ID:   W12581
Filename:   Using pCapture to Capture Log.txt