Wireshark-dev: Re: [Wireshark-dev] cannot load the module error

From: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
Date: Tue, 27 Apr 2010 11:13:26 +0100
On 27/04/2010 11:05, ankur madan wrote:
Hi,
    i created my own dissector "dissbill".i created the dll and manifest of this plugin and copied it to c:\program files\wireshark\plugin.after that i run tshark.exe though cmd.it gave me the error,could not load the module and msvcr80.dll not found.
after this i copied msvcr80.dll to system32 folder.the error is still coming,but now the error is a runtime error R6034.
 
may i know what is the main issue.looking forward for response.
 
thanks
ankur
  
You need to build a plain old version of wireshark before you try building a custom one.  Can you confirm that you have built and run a standard wireshark?  Did you build the installer and install it?

Is the Wireshark in C:\Program Files\Wireshark the one you have built and installed, or an install built elsewhere?  During a build, Wireshark isn't installed, that's a separate step.

If the latter then it is likely to have been linked with msvcr90.dll and your plugin is linked with msvcr80.dll (due to compiling with VS2005) causing the issue.

-- 
Regards,

Graham Bloice