A question regarding ASN.1 snacc compiler.

Ranjeet Sonone ranjeet at pspl.co.in
Wed Jan 31 09:57:59 UTC 2001


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PSEEngine.asn1
Type: application/octet-stream
Size: 4714 bytes
Desc: not available
URL: <http://mail.esnacc.org/pipermail/dev/attachments/20010131/bfe4edaa/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PSEEngine.cpp
Type: application/octet-stream
Size: 156056 bytes
Desc: not available
URL: <http://mail.esnacc.org/pipermail/dev/attachments/20010131/bfe4edaa/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PSEEngine.h
Type: application/octet-stream
Size: 27705 bytes
Desc: not available
URL: <http://mail.esnacc.org/pipermail/dev/attachments/20010131/bfe4edaa/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PSEBer.cpp
Type: application/octet-stream
Size: 2669 bytes
Desc: not available
URL: <http://mail.esnacc.org/pipermail/dev/attachments/20010131/bfe4edaa/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PSEBer.dsp
Type: application/octet-stream
Size: 5197 bytes
Desc: not available
URL: <http://mail.esnacc.org/pipermail/dev/attachments/20010131/bfe4edaa/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PSEBer.dsw
Type: application/octet-stream
Size: 506 bytes
Desc: not available
URL: <http://mail.esnacc.org/pipermail/dev/attachments/20010131/bfe4edaa/attachment-0005.obj>


More information about the dev mailing list