On Thursday, August 7, 2003, at 12:39 AM, li wrote:
if I don't define PLUGINS_NEED_ADDRESS_TABLE, I can compilt ethereal.
Do you mean "compile Ethereal", or do you mean "compile the library you're making from Ethereal for your own application"?
Note, by the way, that Packetyzer:
http://www.packetyzer.com/
does something similar to what I think you're doing (using some of Ethereal's code to build a packet analyzer with your own user interface code), so you might want to look at what it does.
If you don't define PLUGINS_NEED_ADDRESS_TABLE, the resulting version of Ethereal, or the resulting library, will not be able to use *any* plugins on Windows.
but after I define it in config.h, I see lots of errors,
What errors do you see? On Windows, we build the Ethereal (and Tethereal) programs with PLUGINS_NEED_ADDRESS_TABLE defined, and it doesn't get fatal errors.
if I want to use H323 plugin , did I need to define it?
Yes (although note that the current CVS version of Ethereal has an H.323 dissector built into it.)
