Ethereal-dev: [Ethereal-dev] Unhandled exception...

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Gautham Thavva" <gautham.thavva@xxxxxxxxx>
Date: Fri, 11 Oct 2002 14:07:23 -0400
Please can someone who knows about the GUI help me. I had to include a text field for entering an IP address which would call a routine
for bringing HDLC traffic from a remote terminal.

These were the changes I made.

I modified the capture file structure in file.h to add
the IP address field. (gchar *ipaddr)
I initialized the capture file variable in main.c 
(cfile.ipaddr = NULL)
I added the GUI text entry construct in the capture_dlg.c 
When an IP address is entered, I trigger the remote
capture by calling a routine.

What happened was that initially, ethereal just quit.
Then I commented out the portion of calling of the routine and recompiled. I then encountered Unhandled exception:0xC0000005:Access Violation. It was at the instruction do_capture(save_file) in capture_dlg.c

I then commented out all the extra additions and having brought
to the original state, no longer faced the unhandled exception.
That however doesn't solve my problem. I don't understand why the
GUI additions caused the error.

Did I miss updating somewhere else? 
Please can someone help in resolving this issue.

with regards,
Gautham Thavva


____________________________________________________________
Watch a championship game with Elway or McGwire.
Enter Now at http://champions.lycos.com