Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

call python dll from C++

$
0
0

To Whom It May Concern:

     I would like to call a Python dll in C++. I am using SharpDevelop 4.4.

   An example source file for Python would be:

    def somemethod(self):

        print "in some method"

    def isodd(self, n):
        return 1 == n % 2

  How would I:

  1) import the dll: + write function prototypes

  2) specify the parameters in c format:

      Python list, string, int, float, double, bool

  3) pass ByVal or ByRef in c 

    Thank you,

               Tom


Viewing all articles
Browse latest Browse all 1764

Trending Articles