Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Query related to versions in moduleinfo.h and moduleinfo.nma

From: "A Verma" <laughaloud43@xxxxxxxxx>
Date: Thu, 28 Feb 2008 13:21:37 +0530
Hi,
Thanks Jaap!
 
2 things:
1. If I am doing everything correctly why do I get these errors: :-(
2. I tried doing a make all after I gave nothing againts the MODULE_VERSION_EXTRA, like this:
MODULE_VERSION_EXTRA=
I got 2 errors then.
 
Can you pls let me know how to correct point 1.
 
Thanks!
regards,
Ashna
 
On 2/28/08, Jaap Keuter <jaap.keuter@xxxxxxxxx> wrote:
Hi,

These two files are related. They both convey version information
to the user. The contents of moduleinfo.h is expressed through the
Wireshark about dialog, on the plugins tab, while the contents of
moduleinfo.nmake is expressed through the Windows resource mechanism.

The format is MAJOR.MINOR.MICRO.EXTRA.

Since the VERSION string is a string EXTRA can be void.

MODULE_VERSION_* is an unsigned integer so has to be set to a value.
therefore MODULE_VERSION_EXTRA is normally set to 0. They way you set
them is correct.

You should keep them synchronized manually, since we have not devised
a way to do this automatically.

Thanx,
Jaap

A Verma wrote:
> Hi,
> I have a query. I am making a dll called yyy.dll.
>
> Now in the folder c:\wireshark\plugins\yyy there are 2 files:
> 1. moduleinfo.h
> 2. moduleinfo.nmake
>
> Is there any relation between the version in
> "#define VERSION "0.6.5" in moduleinfo.h
> and between
>
> "# The version
> MODULE_VERSION_MAJOR=0
> MODULE_VERSION_MINOR=6
> MODULE_VERSION_MICRO=5
> MODULE_VERSION_EXTRA=0" in moduleinfo.nmake?
>
> I have tried to keep them the same. I am doing correctly?
>
> Or should i have done:
> "# The version
> MODULE_VERSION_MAJOR=0
> MODULE_VERSION_MINOR=0
> MODULE_VERSION_MICRO=6
> MODULE_VERSION_EXTRA=5" ?
>
> Pls suggest me. Thanks so much!
> regards,
> Ash
>

_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
http://www.wireshark.org/mailman/listinfo/wireshark-dev