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.