[protobuf] Problems de-serialising a string, C++

2010-01-28 Thread iWalsh
Hi I've created some logging functionality for a project I'm working on. It creates a series of LogEvents for different system events. Here's part of the message definition: message Log { message LogEvent { message NetInfo { optional string ip_add

[protobuf] Re: Problems de-serialising a string, C++

2010-01-28 Thread iWalsh
Hi Thanks for the reply. The methods are both returning correctly. It's the only thing I write to the file. They are also open in binary mode I think, I'll have to double check the binary mode part. Regards Iain -- You received this message because you are subscribed to the Google Groups "Pro

[protobuf] Re: Problems de-serialising a string, C++

2010-01-28 Thread iWalsh
Ah Sorry I should also mention that leaving the mac address field empty/default means that the file works correctly. On Jan 28, 7:45 pm, iWalsh wrote: > Hi Thanks for the reply. > > The methods are both returning correctly. It's the only thing I write > to the file. They are al

[protobuf] Re: Problems de-serialising a string, C++

2010-01-29 Thread iWalsh
t.  Can you please reduce it > to a small, self-contained example and send it to the list? > > On Thu, Jan 28, 2010 at 11:47 AM, iWalsh wrote: > > > Ah Sorry I should also mention that leaving the mac address field > > empty/default means that the file works correctly. > >

[protobuf] Re: Problems de-serialising a string, C++

2010-02-01 Thread iWalsh
M, Iain Walsh > > wrote: > > >> Hi > >>   I've provided a slightly silly example in a zip file. I had to rename > >> everything for work security reasons. > > >> I'm using 2.3.0 RC2 > > >> To create the problem remove the comm