SharpDevelop Community

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

How to use ctypes in IronPython ?

Last post 07-13-2016 9:17 AM by Vinod K Chandran. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 07-13-2016 9:17 AM

    How to use ctypes in IronPython ?

    Hi all,

    I am using sharpdevelop version  4.4.1.9729-7196a277. My IronPython version is 2.7.5.  I have 2 questions to ask.

    1. I can't use ctypes in Sharpdevelop. But i can in IronPython console and even in visual studio(2013). When i type "import ctypes" SharpDevelop shows me an intellisence item "_ctypes" and "_ctypes_test".

     This is the worked code in visual studio

    sd = ctypes.windll.LoadLibrary("kernel32.dll")
    sd.Beep(500,1000)
    And this is the code worked in IronPython console.
    ctypes.windll.kernel32.Beep(500,1000)
    Both were using import ctypes and working perfectly.
    But i can't use this method in #develop. 
    2. Which latest SharpDevelop version which supports IronPython's latest version aka 2.7.5 ?
    Filed under: ,
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.