Re: Loss of Win32::SerialPort

2005-03-15 Thread Friend
You're correct on both counts: use Win32::API; causes the same crash, and I
didn't remove 5.6 before installing 5.8.

What's the best way to recover? I.E., how do I remove the whole mess and do a
clean install of 5.8?

Many thanks,
Dave Ressler

- Original Message - 
From: Sisyphus [EMAIL PROTECTED]
To: Friend [EMAIL PROTECTED]
Cc: Perl List perl-win32-users@listserv.ActiveState.com
Sent: Monday, March 14, 2005 10:09 PM
Subject: Re: Loss of Win32::SerialPort


Friend wrote:
 I upgraded to 5.8.6 and suddenly the statement use Win32::SerialPort;
crashes
 Perl with no error message (it creates a Dr. Watson log that I can't read).
 Worked fine before the upgrade. What happened, and what do I have to do to get
 it working again?


Dunno - perhaps it's Win32::API (used by Win32::SerialPort) that's
producing the error.

If that's the case then I would expect that use Win32::API should
produce the same error. Does that happen ?

What version of perl were you running prior to the upgrade ? If it was
one of the 5.6.* builds, then you need to remove that old build
completely before updating. If it was just an earlier 5.8.* build then
that shouldn't be necessary.

Cheers,
Rob


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


Re: Loss of Win32::SerialPort

2005-03-15 Thread Sisyphus
Friend wrote:
You're correct on both counts: use Win32::API; causes the same crash, and I
didn't remove 5.6 before installing 5.8.
What's the best way to recover? I.E., how do I remove the whole mess and do a
clean install of 5.8?
Not sure. ActiveState installations mess with the Registry, and I don't 
want to give advice that could leave the registry all screwed up.

Maybe if you just delete the entire perl directory, then re-install perl 
5.8.6 to the same (original) location everything will be fine  that 
seems reasonable to me  but I still worry about that bloody registry :-)

The only problem you'll have is with additional modules that you 
installed for perl 5.6. Anything that ships as standard with AS perl 
will have been overwritten in the upgrade and will be ok - and any pure 
perl modules will also be ok. So, alternatively, it's just a matter of 
replacing any modules that don't fit into either of those 2 categories 
with the appropriate version. For Win32-API, the following should do the 
trick:

ppm install Win32-API -force
Cheers,
Rob
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Re: Loss of Win32::SerialPort

2005-03-15 Thread Friend
I re-installed Win32-API and everything's now working fine. Thanks for the help.

Dave

- Original Message - 
From: Sisyphus [EMAIL PROTECTED]
To: Friend [EMAIL PROTECTED]
Cc: Perl List perl-win32-users@listserv.ActiveState.com
Sent: Tuesday, March 15, 2005 9:42 AM
Subject: Re: Loss of Win32::SerialPort


Friend wrote:
 You're correct on both counts: use Win32::API; causes the same crash, and I
 didn't remove 5.6 before installing 5.8.
 
 What's the best way to recover? I.E., how do I remove the whole mess and do a
 clean install of 5.8?
 

Not sure. ActiveState installations mess with the Registry, and I don't 
want to give advice that could leave the registry all screwed up.

Maybe if you just delete the entire perl directory, then re-install perl 
5.8.6 to the same (original) location everything will be fine  that 
seems reasonable to me  but I still worry about that bloody registry :-)

The only problem you'll have is with additional modules that you 
installed for perl 5.6. Anything that ships as standard with AS perl 
will have been overwritten in the upgrade and will be ok - and any pure 
perl modules will also be ok. So, alternatively, it's just a matter of 
replacing any modules that don't fit into either of those 2 categories 
with the appropriate version. For Win32-API, the following should do the 
trick:

ppm install Win32-API -force

Cheers,
Rob



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


Re: Loss of Win32::SerialPort

2005-03-14 Thread Sisyphus
Friend wrote:
I upgraded to 5.8.6 and suddenly the statement use Win32::SerialPort; crashes
Perl with no error message (it creates a Dr. Watson log that I can't read).
Worked fine before the upgrade. What happened, and what do I have to do to get
it working again?
Dunno - perhaps it's Win32::API (used by Win32::SerialPort) that's 
producing the error.

If that's the case then I would expect that use Win32::API should 
produce the same error. Does that happen ?

What version of perl were you running prior to the upgrade ? If it was 
one of the 5.6.* builds, then you need to remove that old build 
completely before updating. If it was just an earlier 5.8.* build then 
that shouldn't be necessary.

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