Re: Win32::GUI, msvcrt.dll & Win98

2002-01-15 Thread Miguel E. Guajardo

Thank you Johan & Rob,
   I did try that & I no longer received the error. However now I get 
another error...
"win32::GUI::Windows=HASH(0x17ffa7c)" is not exported by the Win32::GUI module"
I guess i need to try and get the most recent documentation from dada and 
see what's up...
Thank you all for your help, it will be Tk for a little while yet,
Mike

At 05:02 PM 1/15/02 +1100, you wrote:

>- Original Message -
>From: "Miguel E. Guajardo" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>
>
>
>Try (as Johan suggested) :
>
>$main->AddLabel( -name => 'anything',
>  -text => "Hello, world");
>
>This was unnecessary with earlier versions.
>
>Cheers,
>Rob
>
>
>___
>Perl-Win32-Users mailing list
>[EMAIL PROTECTED]
>http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users


Miguel (Mike) E. Guajardo
KERA / KDTN Engineering
3000 Harry Hines Blvd.
Dallas, Texas 75201

Phone : 214-740-9313
[EMAIL PROTECTED]
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



Re: Win32::GUI, msvcrt.dll & Win98

2002-01-14 Thread Sisyphus


- Original Message - 
From: "Miguel E. Guajardo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>



Try (as Johan suggested) :

$main->AddLabel( -name => 'anything',
 -text => "Hello, world");

This was unnecessary with earlier versions.

Cheers,
Rob


___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



Re: Win32::GUI, msvcrt.dll & Win98

2002-01-14 Thread Miguel E. Guajardo

Johan,
   here is the code as from the Win32::GUI tutorial.

#!usr/bin/perl
use Win32::GUI;
$main = Win32::GUI::Window->new(
 -name => 'Main',
 -width => 100,
 -height => 100,
 );
$main->AddLabel(-text => "Hello, world");
$main->Show();
Win32::GUI::Dialog();

sub Main_Terminate {
 -1;
}

Mike

At 11:30 PM 1/14/02 +0100, you wrote:
>Miguel wrote:
>>   Well I download via PPM Win32::GUI from activestates and started with 
>> the "hello world" tutorial . when it came to run the script, I 
>> immediately received...
>>
>>PERL caused an invalid page fault in
>>module MSVCRT.DLL
>
>Check if all of your windows and controls have a -name property. If not, 
>add one. And if they do, please post the failing code here.
>
>
>/J
>
> --  --- -- --  --  -- -  - -
>Johan LindströmSourcerer @ Boss Casinos [EMAIL PROTECTED]
>
>Latest bookmark: "Arts & Letters Daily - ideas, criticism, deb..."
>http://www.aldaily.com/
>
>
>___
>Perl-Win32-Users mailing list
>[EMAIL PROTECTED]
>http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users


Miguel (Mike) E. Guajardo
KERA / KDTN Engineering
3000 Harry Hines Blvd.
Dallas, Texas 75201

Phone : 214-740-9313
[EMAIL PROTECTED]
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



Re: Win32::GUI, msvcrt.dll & Win98

2002-01-14 Thread Johan Lindstrom

Miguel wrote:
>   Well I download via PPM Win32::GUI from activestates and started with 
> the "hello world" tutorial . when it came to run the script, I 
> immediately received...
>
>PERL caused an invalid page fault in
>module MSVCRT.DLL

Check if all of your windows and controls have a -name property. If not, 
add one. And if they do, please post the failing code here.


/J

 --  --- -- --  --  -- -  - -
Johan LindströmSourcerer @ Boss Casinos [EMAIL PROTECTED]

Latest bookmark: "Arts & Letters Daily - ideas, criticism, deb..."
http://www.aldaily.com/


___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



Win32::GUI, msvcrt.dll & Win98

2002-01-14 Thread Miguel E. Guajardo

Good day again all,
I have decided to add to my learning curve and try to learn to use 
Win32::GUI to create a windows interface to the script I have been writing. 
(Trying to make it easier and more familiar for the operators who are going 
to use it) After much research I decided to try using the beta Win32::GUI 
instead of TK because I wanted to try to accomplish a more real windows feel.
   Well I download via PPM Win32::GUI from activestates and started with 
the "hello world" tutorial . when it came to run the script, I immediately 
received...

PERL caused an invalid page fault in
module MSVCRT.DLL

Well then, I decided, there must be a solution. So after much research I 
found that my version of msvcrt.dll could be outdated... So after much more 
searching, I found the "latest and greatest" version from microsoft for W98 
and installed it
msvcrt.dll v4.20.6164. I still get the error. I have further uninstalled
ActivePerl-5.6.1.631-MSWin32-x86.msi and re-installed and re-loaded the 
modules from activestate using PPM and still get the same error.
   Is there something I have missed? Will Win32::GUI not work with Win98? 
Will I have to use TK? Has anyone else had the problem and found a 
solution. I have spent plenty of time trying to figure this out last night 
and today with no avail and I am getting ready to start learning TK but 
would like to find out what is going on. Thank for any help in advance.
Mike

Using
Win98 se 4.10. A with all the latest approved MS service packs
ActivePerl-5.6.1.631-MSWin32-x86
Win32-GUI [0.0.558] from active states

Miguel (Mike) E. Guajardo
KERA / KDTN Engineering
3000 Harry Hines Blvd.
Dallas, Texas 75201

Phone : 214-740-9313
[EMAIL PROTECTED]
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users