Ethereal-dev: [Ethereal-dev] Help please - dissector not getting registered

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

Date: Fri, 2 Sep 2005 15:45:37 -0700
Title: Help please - dissector not getting registered

Hello all,
Compiling with VC6 for Win32, my register function proto_register_MYPROTO gets placed into register.c correctly, and compiles correctly.  But when I debug step through the register_all_protocols function, it is as if the source file is out of date with the compile.  I get to the line to register MYPROTO, step INTO the code, and see it step into what should be the next line of code, that is, the one AFTER mine gets registered.

I know that the register.obj is getting updated (built) along with register.c.  Also dissectors.lib.  And my protocol dissector source is also getting compiled.  I even forced combined source/assembly output from the compiler, and that looks good too.

Any ideas?
Thanks,
Dave
"This message is intended only for the named recipient. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited."