RE: 'Illegal object reference'

From: <>
Date: Wed, 6 Jul 2005 14:35:01 -0400

Hi Dmitry

The plot thickens. I installed a complete development environment
(including ActiveState Perl (an installation, not a copy of files from
another system) and Prima on the two Windows systems (one running Windows
2000, the other running Windows 2003) that gave the 'Illegal object
reference' error yesterday.

But, now that I run Perl natively and execute my script, I see the same

So, I'm left with (I think) the same Perl environment on Windows XP, Windows
2000 and Windows 2003, and find that my script works fine on Windows XP, but
gives the 'Illegal object reference' error on Windows 2000 and Windows 2003.

Should Prima work on Windows 2000/2003?

Any thoughts?


-----Original Message-----
From: Dmitry Karasik []
Sent: Wednesday, July 06, 2005 11:05 AM
Subject: Re: 'Illegal object reference'

On Wed, Jul 06, 2005 at 09:56:14AM -0400, wrote:
> I have a Perl application that I need to distribute to other people. I
> hoped to use a Perl-to-exe converter, to create a single executable image.
> But this can't be made to work (I worked for weeks with the support groups

I don't know, I can't say the the experience I've had with Perl-to-exe
converters were pleasant, but I'm sure I was able to run Prima applications
with one of these.

> And it did, at least until I hit that 'Illegal object reference' problems.
> Marco's comments, below, make me wonder if I'm trying to do a bad thing
> (copying Perl without installing it). I know there are small Perl
> distributions available (I'm using ActiveState Perl). But, I've stayed
> from them for several reasons, one of the main ones being that I'm using
> Prima distribution created expressly for ActivePerl, and I was worried
> Prima wouldn't work with other distributions.

Well it's not considered a bad thing, but neither a good. OTOH, I did that
many times myself, with very few problems. There is a chance that you
haven't copied everything or haven't done something properly though, such
as patching if you've copied Perl into another path, or you have
older Prima/perl libraries lurking somewhere.

I'd try to debug the application, because an object doesn't get 'illegal'
just by chance. Try to find out what object that supposed to be, and try to
Carp::cluck(@_) from its onDestroy, to see what causes its premature

Received on Wed 06 Jul 2005 - 20:35:21 CEST

This archive was generated by hypermail 2.2.0 : Wed 27 Mar 2013 - 10:40:22 CET