Re: [protobuf] protobuf newbie questions

2014-06-18 Thread 'Feng Xiao' via Protocol Buffers
On Wed, Jun 18, 2014 at 1:04 AM, wrote: > Hi, > I'm new to protobuf library. I have generated a .h and .cc file out of a > sample .proto file by using protoc.exe on windows. > I want to know > 1. Can I use above generated files on MAC without any change? > Yes. > 2. Can I use the same files

[protobuf] protobuf newbie questions

2014-06-18 Thread ajay . sonawane
Hi, I'm new to protobuf library. I have generated a .h and .cc file out of a sample .proto file by using protoc.exe on windows. I want to know 1. Can I use above generated files on MAC without any change? 2. Can I use the same files generated using 32 bit protoc.exe on windows for 64 build

Re: [protobuf] Newbie questions

2010-11-02 Thread Marc Gravell
Speaking specifically to protobuf-net: 1: there is no formal xml spec, and you should generally **only** need this for writing a template file, but passing -t:xml to protogen should do what you ask 2: do you mean without using the plugin? There is a command-line tool "protogen" included in the zi

Re: [protobuf] Newbie questions

2010-11-02 Thread Kenton Varda
On Tue, Nov 2, 2010 at 5:06 AM, Ofir Ben-Ezra wrote: > Hi, > I'm rather new to protocol buffers and to protobuf-net. > I have 2 questions: > 1. I'm trying to find out how can I generate XML file from a > given .proto file and vice versa? > I'm not aware of any tool for this. > 2. I know this is

[protobuf] Newbie questions

2010-11-02 Thread Ofir Ben-Ezra
Hi, I'm rather new to protocol buffers and to protobuf-net. I have 2 questions: 1. I'm trying to find out how can I generate XML file from a given .proto file and vice versa? 2. I know this is done automatically in VS2008 plug in, but how can I generate C# classes from a given .proto file? Thanks,