I compiled the AMIN dissector as given at: http://www.codeproject.com/KB/IP/custom_dissector.aspx The dissector dll runs fine on both my compiled version and the binary version posted on The wireshark website under the downloads section (both are on the same computer). When I copy the amin.dll over to my coworkers computer, and place it under "C:Document and SettingsJohn SmithApplication DataWiresharkpluginsamin.dll" and then run Wireshark, it tells me "Couldn't load module C:Dou...pluginsamin.dll... The specified module could not be found." I have tried compiling the dissector with both VC++ 2005, and VC++ 2010EE and neither work on his computer. The one compiled with VC++ 2005 will not work on my computer either unless I use the version of Wireshark that I compiled, which is fine, and to be expected. Thank you for your time, Brandon asked 01 Aug '11, 09:41 officialhopsof edited 01 Aug '11, 16:06 helloworld |
2 Answers:
The VC++ Redistributable package was not installed on that computer. Once it was installed the Dissector ran properly. Thanks! answered 01 Aug '11, 13:42 officialhopsof |
Does the DLL as copied to your coworkers computer have "reasonable" permissions ? The error message indicates that the DLL name was found in the directory but attempting to load the DLL failed ("... could not be found"). (I'm not exactly sure what "reasonable permissions" would be, i.e., what is required for Wireshark to be able to load the DLL, but certainly the DLL must at least be readable for the account on your coworkers computer). On a separate note: Is your coworker running a 1.6 version of Wireshark ? (I'm assuming that you built your dissector from SVN). In general, plugins are not guaranteed to run properly if not compiled with the sources for the same major version of Wireshark as the version of the binary Wireshark being used. (I think using SVN, i.e., 1.7 to build the plugin and using the plugin on 1.6 should be OK). answered 01 Aug '11, 11:48 Bill Meier ♦♦ edited 01 Aug '11, 11:50 |