Crash while initializing StaticDescriptorInitializer

2009-03-26 Thread jesper . eskilson
I have libprotobuf.lib linked into a DLL, and when loading the DLL, I get the following crash. (Noteworthy is that I previously hade the same code linked into a single exe, and then it worked without any problem.) Any clues about how I can solve this? CSpyServerLib.dll!

Re: Visual Studio 200x fix

2009-03-26 Thread Kenton Varda
The existing format mimics GCC. Unfortunately I think if we changed it, it would break other tools. Maybe we could enable this format based on a command-line flag? On Wed, Mar 25, 2009 at 8:59 PM, os_ oleg.smol...@gmail.com wrote: Hey there, below is a tiny patch that lets VS200x go to the

Re: Crash while initializing StaticDescriptorInitializer

2009-03-26 Thread Kenton Varda
Did you make sure to compile libprotobuf and your code using the same settings? (E.g. debug vs. release, same compiler version.) MSVC is pretty touchy about that when using STL in the interface to a library. On Thu, Mar 26, 2009 at 9:08 AM, jesper.eskil...@gmail.com wrote: I have

Re: Any edition for as3?

2009-03-26 Thread Kenton Varda
There are a few AS ports listed here: http://code.google.com/p/protobuf/wiki/OtherLanguages I don't know how well any of them work. On Thu, Mar 26, 2009 at 2:03 AM, Ayr w2m...@gmail.com wrote: I want to use Protocol Buffers in my Flex project. Is that possible?

Re: Crash while initializing StaticDescriptorInitializer

2009-03-26 Thread Jesper
On Mar 26, 5:22 pm, Kenton Varda ken...@google.com wrote: Did you make sure to compile libprotobuf and your code using the same settings?  (E.g. debug vs. release, same compiler version.)  MSVC is pretty touchy about that when using STL in the interface to a library. I think so, but I'll

Re: Crash while initializing StaticDescriptorInitializer

2009-03-26 Thread Kenton Varda
On Thu, Mar 26, 2009 at 9:28 AM, Jesper jesper.eskil...@gmail.com wrote: I think so, but I'll double-check. (Wouldn't that have showed up when libprotobuf.lib was linked into the exe?) Unfortunately, probably not. Strange crashes at runtime are the usual symptom. :(