in reply to Perl/ClearQuest or CQPerl/DBI on XP 64-bit
Please note, I know nothing of ClearQuest!
You are using OLE, and OLE loads dlls and then calls functions within them. You cannot load a 32-bit DLL from a 64.bit process.
So, unless IBM/Rational supplied you with 64-bit version of their interface components; or the sources so that you can build your own 64-bit versions, you are probably out of luck trying to use it from a 64-bit Perl.
Stick with a 32-bit version of Perl, they run fine under win64.
You could either:
This appears to be what you tried to do when you got
Can't load 'c:/path/to/blib/arch/auto/DBI.dll' for module DBI: load_file:%1 is not a valid Win32 application at c:/path/to/CQPerl/lib/5.8.6/lib/DynaLoader.pm line XX
It looks like the problem is that you had VC set up to do 64-bit builds. You need to use SetEnv.cmd to configure for 32-bit builds.
Alternatively, you could try using AS PPDs of DBI etc. with it. You would have to installl them manually (unzip and move the files), but it isn't too hard to do. You could even automate it.
You would have to copy their bits into your libs tree which might be an awkward process.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Perl/ClearQuest or CQPerl/DBI on XP 64-bit
by romm (Novice) on Aug 05, 2009 at 17:13 UTC | |
by BrowserUk (Patriarch) on Aug 05, 2009 at 17:35 UTC | |
by romm (Novice) on Aug 05, 2009 at 18:20 UTC | |
by BrowserUk (Patriarch) on Aug 05, 2009 at 18:36 UTC | |
by Anonymous Monk on Aug 31, 2009 at 01:15 UTC |