RE: MSVCR71.dll error in ActivePerl-5.10.0.1002-MSWin32-x86-283697.msi

2008-02-26 Thread Jan Dubois
On Tue, 26 Feb 2008, Chris O wrote:
> > Does installing msvcr71.dll (into one of your "path" folders) fix
> > the problem ? Rob
>
> It appears to be a library issue at compile. Jan mentioned that dbd-
> odbc makes reference to msvcr71.dll. He's working on it. The dll is
> installed on the machine in question and works when I revert to
> 5.8.

The Windows PPM build system was moved to a new box earlier this year, and
it looks like all builds on that machine have been done with the wrong
compiler. :(  We have removed all packages containing DLLs with references
to MSVCR71 from the PPM repository for now and are running a rebuild.
This may take a few days, but later this week everything should be back
to normal.

I'll probably post a script later that will search a Perl tree for modules
with references to MSVCR71, so you can uninstall and reinstall them if you
want to.

Note that the modules will work fine as is, as long as you have MSVCR71.dll
on your machine. They needlessly load 2 copies of the C runtime library
though, and will also have MSVCR71 as a dependency if you want to include
them in a PerlApp/Perl2Exe/PAR application, so it will be nicer to have
all modules reference MSVCRT.dll only.

Sorry for the inconvenience!

Cheers,
-Jan

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Re: PerlTK: Window Always on Top

2008-02-26 Thread Spencer Chase
Greetings Daniel,

you need to use the StayOnTop module. It is not included in the stock 
distribution so you need to PPM it or download and install it. I think it is an 
easy one to install. Here is a test script that seems to work.


use strict;
use Tk;
use Tk::StayOnTop;

my $on_top = 0;
my $maintitle = "Test Stay On Top";
my $backcolor = "#DCA5FF";

my $mw = MainWindow->new(
-background=> "$backcolor",
-borderwidth=>4,
-relief=>'ridge');
$mw-> title ($maintitle);

my $bodytext_font = $mw->fontCreate(-family=>"times",-size => 14);

my $canvas = $mw->Scrolled('Canvas',-height => 100, -width =>200)->pack();
my $c = $canvas-> Subwidget("canvas");

my $bttn = $c-> Button(-text => "On Top", -background=>'pink', -command => 
\&on_top);
my $id = $c-> createWindow(100, 75, -window => $bttn);

sub on_top{
if ($on_top == 0){
$on_top = 1;
$mw->stayOnTop;
$mw->update;
}
else {
$on_top = 0;
$mw->dontStayOnTop;
$mw->update;
}
}
MainLoop;


Tuesday, February 26, 2008, 6:22:36 AM, you wrote:
DB> Hi,

DB> I have an application wherein it calls a tk window asking the user
DB> to fill a form.

DB> I need this tk window to be always on top. how do i do it with TK?

DB> Or do I use a separate module for doing this (GUITest)?

DB> Dan


-- 
Best regards,
Spencer Chasemailto:[EMAIL PROTECTED]
67550 Bell Springs Rd.
Garberville,  CA 95542Postal service only.
Laytonville, CA 95454UPS only.
[EMAIL PROTECTED]
http://www.spencerserolls.com
http://www.spencerserolls.com/MidiValve.htm
(707) 984-8356

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


PerlTK: Window Always on Top

2008-02-26 Thread Daniel Burgaud
Hi,

I have an application wherein it calls a tk window asking the user
to fill a form.

I need this tk window to be always on top. how do i do it with TK?

Or do I use a separate module for doing this (GUITest)?

Dan
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: MSVCR71.dll error in ActivePerl-5.10.0.1002-MSWin32-x86-283697.msi

2008-02-26 Thread Chris O
> Does installing msvcr71.dll (into one of your "path" folders) fix the
> problem ?

> Rob


It appears to be a library issue at compile. Jan mentioned that
dbd-odbc makes reference to msvcr71.dll. He's working on it. The dll
is installed on the machine in question and works when I revert to
5.8.

- Chris
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs