[protobuf] Re: DynamicMessage and unknown fields

2014-06-12 Thread Sean Chen
I forgot to add that I'm using Protobuf 2.4.0 for C++. On Thursday, June 12, 2014 9:34:22 AM UTC-7, Sean Chen wrote: Hi, I have some code set up like this: const Descriptor* msg_desc = pool-FindMessageTypeByName(class_name); DynamicMessageFactory dmf; Message* dm =

[protobuf] Re: DynamicMessage and unknown fields

2014-06-12 Thread Sean Chen
After a nice energizing lunch, I found out that I was parsing it into the wrong type... On Thursday, June 12, 2014 10:46:50 AM UTC-7, Sean Chen wrote: I forgot to add that I'm using Protobuf 2.4.0 for C++. On Thursday, June 12, 2014 9:34:22 AM UTC-7, Sean Chen wrote: Hi, I have some code