Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.04; 'attempting': 0.04; 'subject:module': 0.04; 'importerror:': 0.07; '32-bit': 0.09; 'subject:windows': 0.09; 'error:': 0.12; 'wrote:': 0.15; 'library': 0.15; 'dll,': 0.16; 'dll.': 0.16; 'received:192.168.1.40': 0.16; 'pm,': 0.16; 'subject:problem': 0.19; '(most': 0.21; 'header:In-Reply-To:1': 0.22; '64-bit': 0.23; 'compiled': 0.23; 'traceback': 0.25; 'architecture': 0.26; 'windows': 0.26; 'load': 0.26; 'work.': 0.28; 'skip:" 30': 0.28; 'fix': 0.29; 'version': 0.30; 'looks': 0.30; 'thanks': 0.31; 'shared': 0.32; "won't": 0.32; 'skip:" 20': 0.33; 'to:addr:python- list': 0.34; 'header:User-Agent:1': 0.34; 'dll': 0.35; 'last):': 0.35; 'file': 0.36; 'but': 0.37; 'getting': 0.38; 'received:192': 0.38; 'subject:: ': 0.38; 'problem.': 0.38; 'hello,': 0.38; 'received:192.168.1': 0.39; 'either': 0.39; 'to:addr:python.org': 0.39; 'link': 0.63; 'received:62': 0.67; 'from:addr:t': 0.84; 'procure': 0.84 Date: Tue, 05 Jul 2011 17:05:11 +0200 From: Thomas Jollans User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110626 Iceowl/1.0b2 Icedove/3.1.11 MIME-Version: 1.0 To: python-list@python.org Subject: Re: module problem on windows 64bit References: <55f1238e-2613-4767-9c5f-ae4b6e56d1c2@d1g2000yqm.googlegroups.com> In-Reply-To: <55f1238e-2613-4767-9c5f-ae4b6e56d1c2@d1g2000yqm.googlegroups.com> X-Enigmail-Version: 1.1.2 OpenPGP: id=5C8691ED Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1309878293 news.xs4all.nl 21789 [2001:888:2000:d::a6]:49715 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:8835 On 06/27/2011 06:59 PM, miamia wrote: > Hello, > > on 32-bit windows everything works ok but on 64-bit win I am getting > this error: > Traceback (most recent call last): > File "app.py", line 1040, in do_this_now > File "kinterbasdb\__init__.pyc", line 119, in > File "kinterbasdb\_kinterbasdb.pyc", line 12, in > File "kinterbasdb\_kinterbasdb.pyc", line 10, in __load > ImportError: DLL load failed: This application has failed to start > because the application configuration is incorrect. Reinstalling the > application may fix this problem. > > How to get it work on 64bit windows as well? many thanks A process can only link to a shared library compiled for the same architecture as the process. In layman's terms: A 32-bit DLL won't work with a 64-bit program. It looks like this package is attempting to load a 32-bit DLL. That's not going to work. Either procure a 64-bit version of the DLL, or use a 32-bit version of Python.