[protobuf] protobuf2.3.0 crashes on using extensions

2010-02-06 Thread PromeLite
I am trying to use extensions in protcol buf(version 2.3.0) using visual studio 2008 c++. Here is my .proto file: message DataMsg { optional int32 msgtype=99; extensions 100 to max; } message FilterData { extend DataMsg { optional string filter_colu

[protobuf] protobuf usage for socket communication

2010-02-06 Thread PromeLite
I am trying to a create communication between client / server using protocol buffers. My problem is that the client sends different structures. say for example: client wants person record to be written to data base or contact record to be written to database. Now I am able to serialize person and