Wireshark-bugs: [Wireshark-bugs] [Bug 7623] Couldn't load module..The specified module could not

Date: Mon, 13 Aug 2012 01:09:50 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7623

--- Comment #1 from Guy Harris <guy@xxxxxxxxxxxx> 2012-08-13 01:09:49 PDT ---
(In reply to comment #0)
> Build Information:
> build machine :

    ...

> Built using Microsoft Visual C++ 9.0 build 21022

    ...

> Target PC where I am getting an error :

    ...

> Built using Microsoft Visual C++ 10.0 build 40219

    ...

> I am getting following error on target machine:
> 
> Couldn't load module D:\wireshark-1.8.0\plugins\ipt_spy\ipt_spy.dll:
> 'D:\wireshark-1.8.0\plugins\ipt_spy\ipt_spy.dll': The specified module could
> not be found

Unfortunately, that error is probably not saying what the real problem is - the
real problem may be that the plugin was built using MSVC++ 9.0 but Wireshark
was built using MSVC++ 10.0.  Sadly, this is MSVC++ and Windows, not UN*X; on
UN*X, different compiler and run-time library versions are, in general, binary
compatible, but I'm not sure that's the case with MSVC++ on Windows.

Try building the plugin with MSVC++ 10.0, and see if that works...

> I have gone through following links to make sure if everything is fine.
> http://ask.wireshark.org/questions/12153/couldnt-load-modulespecified-module-cannot-be-found

...because, as Mike_P's answer, and Kurt's comment on that answer, suggest, the
compiler or run-time redistributable differences might cause a problem.

In particular, as one of the Wireshark Q&A questions to which Mike_P pointed
you:

   
http://ask.wireshark.org/questions/5377/dissector-runs-on-my-computer-but-not-others

suggests, perhaps you need the VC++ Redistributable package for MSVC++ 9.0 on
any machine that's using a plugin built with MSVC++ 9.0.  See, for example,
this section:

   
http://www.wireshark.org/docs/wsdg_html_chunked/ChToolsMSChain.html#msvc-runtime-redistributable

of the Wireshark Developer's Guide, which includes information on how to
download and install the MSVC++ 9.0 Redistributable (and the Redistributables
for other MSVC++ versions).

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.