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

I want to use asn1 module to decode mms packet in my program.

0

Hi, everyone.

I make packet monitoring program which monitors particular packets including mms packet.

So I want to use asn1 module for mms. I, however, don't know where is start point to do that.

I successed to compile wireshark by MSVC2008 using nmake.

And In my project(this program used mfc), I included asn.1, config.h and other code needed for this, and then follow error was appeared.

"fatal error C1189: #error : Your MSVC_VARIANT setting in config.nmake doesn't match the MS compiler version! F:YangProgramingC & C++librarywireshark-1.6.1wireshark-1.6.1config.h 267 PacketAnalyzer""

I guess the problem is the compiler that I used is VS MFC compiler that is different with MSVC2008 using "namake".

Summary, I have two question. The first question is "Can't I include and use asn1 module of wireshark for my mfc program?"

If that is impossible, where do I start to make my own program using asn1 module of wireshark using nmake?

asked 26 Aug '11, 04:35

one%20step's gravatar image

one step
16224
accept rate: 0%

edited 26 Aug '11, 14:32

helloworld's gravatar image

helloworld
3.1k42041

Wireshark has an MMS dissector generated from asn1 files with asn2wrs, isn't that good enough?

(26 Aug '11, 13:23) Anders ♦