sturlamolden wrote:
> The answer is YES. C# can access C functions exported by any DLL with
> platform invoke. Since the Python C API is plain C and not C++ you can
> gain access to it from C#. Import System.Runtime.InteropServices and
> write wrappers like
> 
> [DllImport("Python25.dll"), CallingConvention=CallingConvention.Cdecl]
> public static void Py_Initialize();

There is no need for that. PythonDotNET wraps the P/Invokes and internal
C API of CPython in a nice .NET API.

Christian
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to