AW: WG: what's wrong in Win32-OLE, DBD-ADO ...

From: Joachim Goerner (joachim.goerner_at_adac.de)
Date: 03/17/05

  • Next message: Mark Addison: "Re: Insert help..."
    To: dbi-users@perl.org
    Date: Thu, 17 Mar 2005 15:30:22 +0100
    
    

    Hi Steffen,
    if I load DBD::ADO (with use in my script) is all ok
    if I do this not (I think the DBI load DBD::ADO)
    the error is writing.

    If I use 'my' variables has same effect (error if I not
    load DBD::ADO).

    I need connect_cached.

    Mit freundlichen Grüssen
    Joachim Görner

    Informationsverarbeitung Systemtechnik Basisdienste (ISB)
    ADAC e.V., Am Westpark 8, 81373 München
    Tel.: (089) 76 76 27 83 Fax: (089) 76 76 28 82
    <mailto:joachim.goerner@adac.de>
    www.adac.de

    > -----Ursprüngliche Nachricht-----
    > Von: Steffen Goeldner [mailto:sgoeldner@cpan.org]
    > Gesendet: Donnerstag, 17. März 2005 11:02
    > An: joachim.goerner@adac.de
    > Cc: dbi-users@perl.org
    > Betreff: Re: WG: what's wrong in Win32-OLE, DBD-ADO ...
    >
    >
    > joachim.goerner wrote:
    >
    > [...]
    >
    > > > Win32::OLE(0.1702): GetOleObject() Not a Win32::OLE object at
    > > > C:/Perl/site/lib/Win32/OLE/Lite.pm line 154 during global
    > destruction.
    >
    > Oh: 'global destruction'. Can't give much advise here:
    >
      <http://www.xray.mpe.mpg.de/mailing-lists/dbi/2004-02/msg00085.html>

    [...]

    > > my $dbh = DBI->connect_cached ...

    Can you try a simple connect? Cached handles may cause the trouble
    during global destruction.

    Steffen


  • Next message: Mark Addison: "Re: Insert help..."

    Relevant Pages

    • Saving .csproj files
      ... I'm writing a ORM program. ... This causes Visual Studio to puke upon trying to load the ... XmlNode currentnode = doc.DocumentElement.FirstChild; ... If I remove the xmlns="" manually, ...
      (microsoft.public.dotnet.xml)
    • Re: Windows/Office problem
      ... Champ secured a place in history by writing: ... > What a load of tosh. ... > That's the problem with newsgroups - anyone can stand up and pretend ...
      (uk.rec.motorcycles)
    • Re: Reference to a class that does not exist
      ... Specifically, I am writing a Java library and there is another library that has some very useful features, but I don't expect that other library to always be available. ... It should depend upon your main application source, but there should not be any opposite dependencies. ... To attempt to use the code, use Class.forName to load a root class, and create a single instance with Constructor.newInstance. ...
      (comp.lang.java.programmer)
    • Thanks - Will try
      ... I will try what you suggested after dinner and see if ... I'll be writing :-) ... >> two Data Adapters and fill the dataset with two tables, ... > Yes, when you load the form,load your data and create the datarelations. ...
      (microsoft.public.dotnet.framework.adonet)
    • Re: Invoke Java from Excel
      ... I'd never done it with Excel but with several other programs: ... First you must reach "native" code in your program (writing vb, ... load your main class, ... It seems to me that there is an activeX that launch the JVM, ...
      (comp.lang.java.programmer)