SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

call python dll from C++

Last post 02-05-2017 5:03 AM by GTom001. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 02-05-2017 5:03 AM

    call python dll from C++

    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

Page 1 of 1 (1 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.