[protobuf] question about creating message classes dynamically (known at runtime)

2009-11-16 Thread JC-MAD-SP
Hi I'm new to ProtocolBuffer. Until now all is going ok with Protocol Buffers for my needs. But, now I'm struggling for a while with a Message->New issue without a clue. I'm trying to create "concrete" messages, which are known at runtime using DynamicMessageFactory (C++). Following is the pseu

[protobuf] Re: question about creating message classes dynamically (known at runtime)

2009-11-16 Thread JC-MAD-SP
to your own code. > > On Mon, Nov 16, 2009 at 11:44 AM, Kenton Varda wrote: > > On Mon, Nov 16, 2009 at 11:35 AM, JC-MAD-SP > > wrote: > > >> ConcreteMessage* concreteMessage = reinterpret_cast > >> (mesage->New()); > > > This line is invalid.  Here,