Since you are only dealing with data, I would use a WCF web service (.Net C#).

I would wrap your exisiting C code as Managed C++ assemblies and expose them with the above C# WCF service.

That way, any client capable of consuming web service code can connect to the service.