Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Christian Gollwitzer Newsgroups: comp.lang.python Subject: Re: Begginer in python trying to load a .dll Date: Tue, 12 Aug 2014 21:16:21 +0200 Organization: A noiseless patient Spider Lines: 15 Message-ID: References: <3dade0aa-55ca-4e52-af08-8104e9edf4c3@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 12 Aug 2014 19:16:18 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="0ca390f552aaaca2fd2a25e51821864b"; logging-data="15089"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX182utFbUGXGmBzdHW9AoD+MaUv2xyHMw6c=" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: <3dade0aa-55ca-4e52-af08-8104e9edf4c3@googlegroups.com> Cancel-Lock: sha1:XwL8+hZuSYmhHiwyW5ruG16CKr4= Xref: csiph.com comp.lang.python:76143 Am 12.08.14 20:36, schrieb c1223: > Hi, Im working in the development of a program based in python that > allow us to contrl a spectometer. The spectometer has an .dll file. > The idea is to work through this dll and operate the spectometer. The > name of the .dll is AS5216.dll. I've trying with ctype, but it > doesn't work. I'm begginer in python. All the comments are useful to > me. For sure this DLL will come with a header file for C. You could pass it through SWIG and see if it generates a useful Python module. You need a C compiler for that route, though. Christian