Wireshark mailing list archives
Re: in linux works......in windows not!??
From: Bill Meier <wmeier () newsguy com>
Date: Thu, 15 Jul 2010 17:47:11 -0400
Manthos S. wrote:
Dear experts, i wanted to append something to the Info-Column of my dissector. I did it with: if(check_col(pinfo->cinfo, COL_INFO)) col_set_str(pinfo->cinfo, COL_INFO, " something"); ..and in linux worked perfect! I checked it out to my repository, booted with windows, made svn update, compiled in windows, copied the .dll......but no result.(???) No errors or warnings at all! What could be the reason?
1. Is " something" a permanently allocated string ?? From the source ... /* Use this if "str" points to something that will stay around (and thus needn't be copied). */ void col_set_str(column_info *cinfo, const gint el, const gchar* str) 2. if (check_col()) is no longert needed since the check is done in col_set_str.
How could i launch wireshark from the console in the same thread like linux for debugging?
See the wireshark wiki for info on using the Windows VC debugger. Essentially: you open Wireshark exe as a "project" in the VC IDE and then set breakpoints and etc. ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- in linux works......in windows not!?? Manthos S. (Jul 15)
- Re: in linux works......in windows not!?? Bill Meier (Jul 15)
- Re: in linux works......in windows not!?? Manthos S. (Jul 16)
- Re: in linux works......in windows not!?? Bill Meier (Jul 15)