Using SQLite in C++ and C#
-
First, I no nothing at all about C++... We need to use SQLite for cross platform compatibility. We would like to have one copy of DB code in C++ and somehow make requests/ send command into it from C#. One possibility is to have the C++ portion send/receive its data from C# as JSON. In C# I can easily convert the JSON to C# objects and vice versa. Anyone done this? Any tips/advice/pointers? Thanks
If it's not broken, fix it until it is
-
First, I no nothing at all about C++... We need to use SQLite for cross platform compatibility. We would like to have one copy of DB code in C++ and somehow make requests/ send command into it from C#. One possibility is to have the C++ portion send/receive its data from C# as JSON. In C# I can easily convert the JSON to C# objects and vice versa. Anyone done this? Any tips/advice/pointers? Thanks
If it's not broken, fix it until it is
OK. Or C# can call a C++ DLL with P/Invoke?