Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #71454

ctypes does not load .dll and generate windowsError 127

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <ji.xia@nxp.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.019
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'subject:not': 0.03; '__init__': 0.09; 'python': 0.11; 'windows': 0.15; 'os:': 0.16; 'subject:ctypes': 0.16; 'all,': 0.19; 'trying': 0.19; 'machine': 0.22; 'to:name:python-list@python.org': 0.22; 'load': 0.23; 'subject: .': 0.24; 'file.': 0.24; 'skip:" 30': 0.26; 'specified': 0.30; 'ctypes': 0.31; 'file': 0.32; 'skip:_ 10': 0.34; 'could': 0.34; 'anybody': 0.35; 'url:rec-html40': 0.35; 'charset:us-ascii': 0.36; 'thanks': 0.36; 'url:org': 0.36; 'url:microsoft': 0.37; 'received:10': 0.37; 'mine': 0.38; 'url:office': 0.38; 'to:addr :python-list': 0.38; 'url:schemas': 0.38; 'url:omml': 0.39; 'url:2004': 0.39; 'does': 0.39; 'url:12': 0.39; 'to:addr:python.org': 0.39; '[error': 0.84
From Ji Xia <ji.xia@nxp.com>
To "python-list@python.org" <python-list@python.org>
Subject ctypes does not load .dll and generate windowsError 127
Thread-Topic ctypes does not load .dll and generate windowsError 127
Thread-Index Ac9uhk+c80Fy0CfIS8urKRpb5w+nHQ==
Date Tue, 13 May 2014 08:45:14 +0000
Accept-Language en-US
Content-Language en-US
X-MS-Has-Attach
X-MS-TNEF-Correlator
x-originating-ip [92.121.32.16]
x-forefront-prvs 0210479ED8
x-forefront-antispam-report SFV:NSPM; SFS:(10019001)(6009001)(428001)(199002)(189002)(53754006)(19580395003)(19625215002)(101416001)(64706001)(50986999)(20776003)(77096999)(33646001)(76482001)(2656002)(85852003)(83072002)(81342001)(74502001)(74316001)(46102001)(92566001)(4396001)(19609705001)(76576001)(80022001)(19300405004)(54356999)(86362001)(15202345003)(83322001)(81542001)(16236675002)(74662001)(77982001)(87936001)(31966008)(21056001)(79102001)(15975445006)(24736002); DIR:OUT; SFP:1102; SCL:1; SRVR:DBXPR04MB318; H:DBXPR04MB319.eurprd04.prod.outlook.com; FPR:; MLV:sfv; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf None (: nxp.com does not designate permitted sender hosts)
authentication-results spf=none (sender IP is ) smtp.mailfrom=ji.xia@nxp.com;
Content-Type multipart/alternative; boundary="_000_46e1b559ed224fbfbc1c786739ce68c8DBXPR04MB319eurprd04pro_"
MIME-Version 1.0
X-OriginatorOrg nxp.com
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.9953.1399972680.18130.python-list@python.org> (permalink)
Lines 116
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1399972681 news.xs4all.nl 2909 [2001:888:2000:d::a6]:34390
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:71454

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi all,

Could anybody help me out? I am trying to use python ctypes and load a .dll file. It works on my colleagues' machine, just does not work on mine

Python on my machine is : python 2.7.6
OS: windows 7

Result is always:
  File "C:\Python27\Lib\ctypes\__init__.py", line 365, in __init__
    self._handle = _dlopen(self._name, mode)
WindowsError: [Error 127] The specified procedure could not be found

Does anybody could help me out?

Thanks

Ji

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

ctypes does not load .dll and generate windowsError 127 Ji Xia <ji.xia@nxp.com> - 2014-05-13 08:45 +0000

csiph-web