This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Getting R6034 runtime error while opening any trace file

0

Hi Folks,

I had made a dissector plugin some time back with VS 2008 and Wireshark 1.7.1.

It used to run fine with version-1.7.1 but same plugin gives me "R6034 runtime error" with Wireshark 1.8.2 ,which happens to be latest stable release.

Now i found this thread below , wherein it is mentioned that VS version should be same for plugin and executable. Now i wanted to know which VS version was used to build 1.8.2 ?? And how can i make my plugin compatible with both release ?

http://www.wireshark.org/lists/wireshark-dev/201004/msg00302.html

asked 20 Aug '12, 08:11

yogeshg's gravatar image

yogeshg
41222326
accept rate: 0%

edited 20 Aug '12, 08:11


One Answer:

1

Now i wanted to know which VS version was used to build 1.8.2

This command will tell you:

wireshark -v

Look for "Built using Microsoft Visual C++ ....".

And how can i make my plugin compatible with both release ?

Please read the following questions/answers.

http://ask.wireshark.org/questions/12706/custom-dissector-portability
http://ask.wireshark.org/questions/13484/dll-not-working-with-wireshark-181
http://ask.wireshark.org/questions/13594/updating-my-own-plugin

AFIAK it's not possible to make your plugin compatible with both releases.

You could write an installer, that determines the wireshark version and then installs the appropriate plugin, OR you distribute your plugin together with the wireshark version it needs.

Regards
Kurt

answered 20 Aug '12, 08:53

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

edited 20 Aug '12, 08:54

Thanks for the reply sir!!

It shows -- "Built using Microsoft Visual C++ 10.0 build 40219"

I think this is the reason of my problem.

(20 Aug '12, 09:04) yogeshg

I think this is the reason of my problem.

it is ;-)

(20 Aug '12, 09:05) Kurt Knochner ♦