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] MSVC variant problem in v1.0.5

From: Pascal Quantin <pascal.quantin@xxxxxxxxx>
Date: Fri, 30 Jan 2009 16:35:27 +0100
So far, 1.0.X versions are built with MSVC6 and 1.1.X are built with
MSVC2008. You have 2 solutions:
- build 2 versions of your plugin
- try to build your custom plugin with MSVC2008 and ensure you embed
the manifest and distribute the CRT dlls with it. It should work
(there is already an ongoing discussion on this topic on the mailing
list: http://www.wireshark.org/lists/wireshark-dev/200901/msg00155.html)

Pascal.

2009/1/30  <gogrady@xxxxxxxxx>:
>
> Damn. Well I'm creating a custom dissector plugin for my company, which they will want to use in versions of wireshark to come. What would be the best thing to do so that my plugin will be compatible across many of the release versions?
>
> Greg
>
> -----Original Message-----
> From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Pascal Quantin
> Sent: Friday, January 30, 2009 10:18 AM
> To: Developer support list for Wireshark
> Subject: Re: [Wireshark-dev] MSVC variant problem in v1.0.5
>
> 2009/1/30  <gogrady@xxxxxxxxx>:
>> If I download the changed files would it be the same?
> Yes, you can try this. The corresponding revisions are 27186
> (http://anonsvn.wireshark.org/viewvc?view=rev&revision=27186) and
> 27200 (http://anonsvn.wireshark.org/viewvc?view=rev&revision=27200)
>
>> Also, if I compile a custom dissector plugin, will it work with the official 1.0.5 version?
> No, you will face the usual manifest/CRT version issues. It is better
> to avoid mixing MSVC versions...
>
>>
>>
>> -----Original Message-----
>> From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Pascal Quantin
>> Sent: Friday, January 30, 2009 10:09 AM
>> To: Developer support list for Wireshark
>> Subject: Re: [Wireshark-dev] MSVC variant problem in v1.0.5
>>
>> 2009/1/30  <gogrady@xxxxxxxxx>:
>>> I'm trying to build wireshark v1.0.5. But i'm getting this error
>>>
>>> C:\wireshark>nmake -f makefile.nmake setup
>>>
>>> Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
>>> Copyright (C) Microsoft Corporation.  All rights reserved.
>>>
>>> config.nmake(439) : fatal error U1050: MSVC_VARIANT unknown
>>> Stop.
>>>
>>> in config.nmake i have the msvc set to MSVC_VARIANT=MSVC2008
>>
>> Hi,
>> wireshark up to version 1.0.5 is built with MSVC6. MSVC 2008 is not supported.
>>
>>>
>>> How do i get it to build / what's my problem?
>>
>> Get the trunk-1.0 svn repository. A patch to allow MSVC2008 building
>> was delivered after 1.0.5 branching.
>>
>> Regards,
>> Pascal.
>> ___________________________________________________________________________
>> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
>> Archives:    http://www.wireshark.org/lists/wireshark-dev
>> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>>             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>>
>> ___________________________________________________________________________
>> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
>> Archives:    http://www.wireshark.org/lists/wireshark-dev
>> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>>             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>>
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>