No Subject
-Original Message- From: Roberto Guerra [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 05, 2000 12:06 PM To: [EMAIL PROTECTED] Subject: [perl-win32-gui] Errors with Dynaloader.pm Hi! I tried to run a sample program of the win32_gui samples, and I get this compiling error. It happens with every one of the samples. I wonder if I'm missing some modules, or if this is a bug. Can someone clue me as to what I'm doing wrong? The path's shown in the error are correct, so it is obvious (to me) that the program finds the proper path's. I'm not very good with Perl yet, and in need of guidance. The error message is as follows "D:\win32-gui\samplesperl hello.pl Can't load 'D:/Perl/site/lib/auto/win32/gui/gui.dll' for module win32::gui: load_file: One of the files needed to run this application cannot be found at D:/prl/lib/Dynaloader.pm line 200. Did you cut/paste this in, or is this a typo? This might be your problem. Compilation failed in require at hello.pl line 8. BEGIN failed compilation aborted at hello.pl line 8." I'm working with a pentium 166Mhrz, 64MB of RAM and Windows 98, I have successfully ran some other Perl programs with my installation of Perl. Need to know what Win32 Perl you are using and what build. (i.e. ActiveState 521 or whatever.) Please Help! Thanks in advance. Roberto.
No Subject
I'm trying to use an XML file to hold the properties of the windows in my Perl script. (No major reason for this, I just throught it would be a cool way to learn how to use XML with Perl) However, it seems that if I store the window style in a variable, and try to use the variable to set the window style, no style is applied to the window when it is created. If I hard code the window style, then it appears correctly. Here is the basic layout of the XML file: windows window type=3D"Window Name" property type=3D"name" value=3D"Window Name"/ property type=3D"icon" value=3D"Icon"/ property type=3D"version" value=3D"Version Number"/ property type=3D"modified" value=3D"Modified Date"/ property type=3D"title"value=3D"Window Title"/ property type=3D"style"value=3D"Window Styles"/ property type=3D"left" value=3D"300"/ property type=3D"top" value=3D"200"/ property type=3D"width"value=3D"350"/ property type=3D"height" value=3D"250"/ /window /windows The value for the Window Styles would be: "WS_CAPTION | WS_SYSMENU" (or something similar). $WindowHandle =3D new GUI::DialogBox ( -name=3D $Hash{name}, -title =3D $Hash{title}, -style =3D $Hash{style}, # No style is applied -style =3D WS_CAPTION | WS_SYSMENU, # Works fine -left=3D $Hash{left}, -top =3D $Hash{top}, -width =3D $Hash{width}, -height =3D $Hash{height}, );=20 Is this something that just cannot be done? Or do I need to do something differently? Does anyone have any suggestions? Thanks for your help, Jeremy Blonde [EMAIL PROTECTED] __ Do You Yahoo!? Get Yahoo! Mail =96 Free email you can access from anywhere! http://mail.yahoo.com/
[perl-win32-gui] Subject: Help with controlling a window....?
I'm working with controlling WinAmp using Win32::GUI, and everything works great, except for one problem. If I do the following: --(snip!)-- my $amp = Win32::GUI::FindWindow('Winamp v1.x'); my $track_position = Win32::GUI::SendMessage($amp, 0x0400, 0, 105); my $filename = Win32::GUI::SendMessage($amp, 0x0400, $track_position, 211); --(snip!)-- $amp and $track_position initialize correctly (and any other SendMessage() stuff I've tried based on the winamp docs), but $filename (and the title, which is 212 instead of 211) returns "4527196". According to the winamp docs (http://www.winamp.com/nsdn/plugindev/speaking.jhtml) 211 and 212 return a pointer to a string that contains the [filename|title]. Is there a way for me to get at that with Win32::GUI, or will I need to use Win32::API (and if so, does anyone know how to get at it, by chance)? Thanks for any help you can give... -- Ben Reed a.k.a. Ranger Rick [EMAIL PROTECTED] http://defiance.dyndns.org/ ---
No Subject
I can't get "make" to make the makefile. MakeMaker.pm is installed. I type "perl -V:make " and get make ='nmake'. Can someone please help me get this going.
[perl-win32-gui] (no subject)
unsubscribe
[perl-win32-gui] (no subject)
unsubscribe
No Subject
unsubscribe
[perl-win32-gui] (no subject)
unsubscribe