|
From: | Ranjeet Sonone |
Subject: | A question regarding ASN.1 snacc compiler. |
Date: | Wed, 31 Jan 2001 15:27:59 +0530 |
Hi there, I am working on a ASN.1 based file for a command interface, kindly find it attached. Please refer to the .asn1 file. The production: PSESQLCommands ::= SEQUENCE OF PSESQLMessage I intend to use so that I can have more than one messages in one command. When I encode the PSESQLCommands object, it does not encode the embedded PSESQLMEsssage objects in it. I modified the generated source code to make this happen. Kindly find all the source files attached. PSEEngine.cpp and .h -> generated files. I modifed the .cpp at line 6726. The PSEBer.cpp is the test program, which uses the generated classes. I am using VC++ 6.0 compiler on NT. I am sure I do not have to make this change. There is something wrong in the way I am specifying my productions. I need some pointers and help. Awaiting your help, Thanks and kind regards, Ranjeet Sonone.
PSEEngine.asn1
Description: Binary data
PSEEngine.cpp
Description: Binary data
PSEEngine.h
Description: Binary data
PSEBer.cpp
Description: Binary data
PSEBer.dsp
Description: Binary data
PSEBer.dsw
Description: Binary data
[Prev in Thread] | Current Thread | [Next in Thread] |