English 中文(简体)
C#和C++应用程序之间的对应序列化图和共享数据? [复制]
原标题:map and shared_ptr serialization between C# and C++ applications? [duplicate]
This question already has answers here:
Closed 12 years ago.

Possible Duplicate:
Binary serialization/de-serialization in C++ and C#

我正在实施一项项目,在C++(广泛使用杀器)中书写服务器,客户申请在C#中书写。 在客户/服务器之间信息的序列化/代相传时,我正面临这一问题。

我研究了各种替代图书馆,以达到这种交叉格式的序列化,《Buffers议定书》似乎是最好的......但并不支持标准图书馆的序列化。 页: 1

我的问题是:

  • Can someone explain how map and boost::shared_ptr could be serialized using Protocol Buffers. Or failing that,
  • Would Apache s Thrift work for this?
  • ...Or am I stuck using interop DLLs on the (C#) client side?
问题回答

什么是用++/cliref等级打包C++的信息班,以便你在客户方面使用同样的增强序列化图书馆。





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签