Re: Win32::GUI on 64bit Windows?
by Anonymous Monk on Nov 19, 2012 at 14:58 UTC
|
| [reply] [Watch: Dir/Any] |
|
ppm upgrade -install Win32::GUI
| [reply] [Watch: Dir/Any] |
|
This worked like a charm!!
| [reply] [Watch: Dir/Any] |
Re: Win32::GUI on 64bit Windows?
by bulk88 (Priest) on Nov 19, 2012 at 14:58 UTC
|
What happens if you install a Win64 Perl?
Win 32 vs 64 is supposed to be source compatible, unlike 16 vs 32. Did you OS come wit WOW64, and can you install WOW64? | [reply] [Watch: Dir/Any] |
Re: Win32::GUI on 64bit Windows?
by denishowe (Acolyte) on May 31, 2013 at 14:35 UTC
|
For Strawberry Perl, see
http://www.nntp.perl.org/group/perl.win32.vanilla/2012/06/msg414.html
which points to
http://strawberryperl.com/package/kmx/perl-modules-patched/Win32-GUI-1.06_patched3.tar.gz | [reply] [Watch: Dir/Any] |
Re: Win32::GUI on 64bit Windows?
by sam_bakki (Pilgrim) on Nov 20, 2012 at 11:45 UTC
|
Hi
You can not install Win32 modules in x64 bit perl. I use Win32::Gui in Windows 7 machine (x64). What I did is,
1. Install 32 bit perl 5.14 (ActivePerl)
2. Install the compiled Win32::GUI via ActivePerl's PPM tool
5. Enjoy.
| [reply] [Watch: Dir/Any] [d/l] |
|
A couple of comments:
"2. You dont find Win32::Gui in Active Perl's PPM"
True, thought it's available from other repositories. See PPM::Repositories to add more, or they could download directly and install via the instructions in the module README.
"3. Setup MinGW GCC, dmake then compile Win32::GUI your self. Compilation perfectly works."
ppm MinGW Will do the setup of MinGW and make tools to save the bother of doing it manually.
Update: removing the points I quote achieves what exactly?
| [reply] [Watch: Dir/Any] [d/l] |
|
| [reply] [Watch: Dir/Any] [d/l] |
|
|
You can not install Win32 modules in x64 bit perl.
I beg to differ on that. It's been a while, but I seem to recall being able to install Win32 modules in 64-bit Perl before without any issues.
Ok, so maybe you don't want to take my word for it. Here's some links to release notes of 64-bit Strawberry Perl that includes various Win32 modules in the list of included modules.
If I remember correctly, ActiveState's releases of 64-bit version of their ActivePerl do not include Win32 modules. However, that does not mean that Win32 modules cannot be installed in 64-bit Perl.
| [reply] [Watch: Dir/Any] |
|
| [reply] [Watch: Dir/Any] [d/l] |
|
|
64 bit ActivePerl comes with alot of Win32::* modules out of the box. Dumping my 64 bit ActivePerl's folders.
API
API.pm
AuthenticateUser.pm
ChangeNotify.pm
Clipboard.pm
Console
Console.pm
DBIODBC.pm
Event.pm
EventLog.pm
File.pm
FileSecurity.pm
Internet.pm
IPC.pm
Job.pm
Mutex.pm
NetAdmin.pm
NetResource.pm
ODBC.pm
OLE
OLE.pm
PerfLib.pm
Pipe.pm
Process.pm
Registry.pm
Semaphore.pm
Service.pm
Shortcut.pm
Sound.pm
TieRegistry.pm
WinError.pm
List of Win32::* XS modules.
C:\Perl64\lib\auto\Win32>dir /b
API
AuthenticateUser
ChangeNotify
Clipboard
Console
Event
EventLog
File
FileSecurity
Internet
IPC
Job
Mutex
NetAdmin
NetResource
ODBC
OLE
PerfLib
Pipe
Process
Registry
Semaphore
Service
Shortcut
Sound
TieRegistry
Win32.dll
Win32.pdb
WinError
| [reply] [Watch: Dir/Any] [d/l] [select] |
|
You can not install Win32 modules in x64 bit perl.
What?
The Win32::* modules in general compile and run on x64 Windows Perl. Properly written "Win32" C code compiles and runs transparently on x64. All Windows 64 bit Perls can have XS modules. XS and Dynaloader are not disabled as a security feature in Win64 Perls. Of course there are some Win32::* modules that have been abandoned for close to a decade and whether these will compile or not is random. The fixes are often small and easy if someone is inclined with C knowledge.
| [reply] [Watch: Dir/Any] |