Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.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.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; '64-bit': 0.07; 'importerror:': 0.07; 'subject:application': 0.07; '32-bit': 0.09; 'dependency': 0.09; 'failed:': 0.09; 'matched': 0.09; 'skip:c 80': 0.09; 'python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject: \n ': 0.16; 'subject:failed': 0.16; 'subject:start': 0.16; 'fix': 0.17; 'wrote:': 0.18; 'load': 0.23; 'dll': 0.24; 'mon,': 0.24; 'van': 0.27; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; '25,': 0.31; 'file': 0.32; "can't": 0.35; 'problem.': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'c++': 0.36; 'vice': 0.36; 'application': 0.37; '2008': 0.38; 'nov': 0.38; 'to:addr :python-list': 0.38; 'visual': 0.39; 'to:addr:python.org': 0.39; 'first': 0.61; "you've": 0.63; 'believe': 0.68; 'subject:This': 0.74; 'complaint': 0.84; 'subject: ...': 0.84; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=yI9N1UZMMB7ZD/shDymZFXmvNlNwjMNWGERqBZtjPIk=; b=HLIOVwik/FXGsrIK6dq3MYIF1UC/5EC/DV4wcx1Bxw2Zo2vssNh6hEmrSrtk0L6eZL Wb8s2RLkUNBX4rHTzYqXSGDjGEPrOG5kUReI71xmT00JGcIzwAc5VJvBz24YYTxZmMpT o5LpfkGA90NrItidF2e6kie8Els8wjwuxKxq74vOhUx/eXCU1T6OtjGprMhwYEtNzEwA sKUZP/+PEE5IwlVT5Rt0zhNi2B+aFX8dkeeDdYjAdwGtZ1e+AA9eAWeEHTOE1Sh2ZkDz bIFVdLLlISeac0pyoYdLkWx8A2Loe7oHoiADPGyZSXaRb0nc0ttgP22FFyZGwY2SypqD OZIg== MIME-Version: 1.0 X-Received: by 10.68.194.97 with SMTP id hv1mr1530086pbc.162.1385313496517; Sun, 24 Nov 2013 09:18:16 -0800 (PST) In-Reply-To: References: Date: Mon, 25 Nov 2013 04:18:16 +1100 Subject: Re: cx_Oracle throws: ImportError: DLL load failed: This application has failed to start ... From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1385313499 news.xs4all.nl 15964 [2001:888:2000:d::a6]:39220 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:60389 On Mon, Nov 25, 2013 at 4:12 AM, Ruben van den Berg wrote: > ImportError: DLL load failed: This application has failed to start becaus= e the application configuration is incorrect. Reinstalling the application = may fix this problem. > > I then ran Dependency Walker on cx_Oracle.pyd. Its first complaint was ab= out msvcr80.dll. However, this file is present in C:\WINDOWS\WinSxS\x86_Mic= rosoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.91_x-ww_0de56c07. (I believe it'= s part of the MS Visual Studio C++ 2008 package which I installed.) Welcome to DLL hell... There is one thing I would suggest: Check to see if you've matched the word size (32-bit vs 64-bit) for Python and all the DLLs. You can't (normally) load a 64-bit DLL into a 32-bit process or vice versa. ChrisA