Wireshark-dev: Re: [Wireshark-dev] dissector plugin help
From: Brian Oleksa <oleksab@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 27 Mar 2009 00:12:52 -0400
|
Olivier (wsge) I really appreciate your quick response. I have added the following line to my Makefile.nmake mt.exe -manifest helen.dll.manifest - outputresource:helen.dll;2 This does indeed create a helen.dll.manifest file. I take that along with the helen.dll file and copy it into my plugins directory on another (deployment) machine. I am still getting the error: "Couldn't load module", The specified module could not be found. Am I missing something here..? Attached is all my code and files in the helen.zip file. Also attached is my ports file that goes in the root of C: (c:\ports.txt) Some things have changed from my last e-mail. I downloaded the source wireshark-1.1.2-SVN-26844. I built wireshark using the Visual Studio 2005 Command prompt. I put my plugin in place and it too builds fine and runs great on the development machine. I have no problems running my software and dissecting packets. But when I copy the helen.dll.manifest and the helen.dll to another machine I get "Couldn't load module", The specified module could not be found. Any thoughts..? Thank you very much for your help. Brian wsgd wrote: I think the answer is into your first mail : http://www.wireshark.org/lists/wireshark-dev/200902/msg00013.html To include the manifest inside the dll : mt.exe -manifest <dll_name>.dll.manifest - outputresource:<dll_name>.dll;2 Also, into proto_reg_handoff_helen, if you have many ports, you are calling many times : - data_handle = find_dissector("data"); ---> useless - helen_handle = create_dissector_handle(dissect_helen, proto_helen); ---> I do not think it works Olivier Brian Oleksa a écrit : |
8000 7636
Attachment:
helen.zip
Description: Zip compressed data
- Follow-Ups:
- Re: [Wireshark-dev] dissector plugin help
- From: philippe alarcon
- Re: [Wireshark-dev] dissector plugin help
- References:
- [Wireshark-dev] dissector plugin help
- From: Brian Oleksa
- Re: [Wireshark-dev] dissector plugin help
- From: wsgd
- Re: [Wireshark-dev] dissector plugin help
- From: Brian Oleksa
- Re: [Wireshark-dev] dissector plugin help
- From: wsgd
- [Wireshark-dev] dissector plugin help
- Prev by Date: [Wireshark-dev] buildbot failure in Wireshark (development) on Windows-XP-x86
- Next by Date: [Wireshark-dev] buildbot failure in Wireshark (development) on Solaris-10-SPARC
- Previous by thread: Re: [Wireshark-dev] dissector plugin help
- Next by thread: Re: [Wireshark-dev] dissector plugin help
- Index(es):