Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^4: Best/Fast/Simple way to add a GUI to a batch process

by vitoco (Hermit)
on Aug 28, 2018 at 19:25 UTC ( [id://1221279]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Best/Fast/Simple way to add a GUI to a batch process
in thread Best/Fast/Simple way to add a GUI to a batch process

Mmmmm... Win32:FileOp was installed OK in a 32 bit WinXP virtual machine, and then the full example worked as expected.

Then I packed it into an EXE using PAR, and try this in the same WinXP VM successfully.

Finally, I copied the EXE to my (other) Win10 x64 machine and run it there... Successfully!!! I was dissapointed. I was sure it would fail.

I said "other" because this is the Win10 machine at my office that also has x64 Strawberry perl, but no GUI modules. I'll not try to install any of them here anyway. The original machine where I tried all the GUIs is at home ;-) I can't recall if both of them are the same or different editions of Win10, and I don't know if this matters!

It seems that if I take the Win32::GUI way, I'll have to coninue the development on a 32 bit WinXP VM to get a running app in EXE format.

Replies are listed 'Best First'.
Re^5: Best/Fast/Simple way to add a GUI to a batch process
by Lotus1 (Vicar) on Aug 31, 2018 at 13:36 UTC
    It seems that if I take the Win32::GUI way, I'll have to coninue the development on a 32 bit WinXP VM to get a running app in EXE format.

    Win32::FileOP was the module that wouldn't install on 64 bit Perl, not Win32::GUI. You posted this after I posted this example of how to do a File-Save dialog on 64 bit Perl so maybe you didn't notice but Win32::GUI works for 64 bit Perl. Another option is to use the portable version of 32 bit Strawberry Perl on whatever machine you want to use. The 32 bit version of Perl runs on 64 bit Windows machines.

      I didn't test that version because I didn't notice the real difference from the original example. Thanks also for pointing that out.

      I'm still thinking what will I do: to modify my code to add the GUI part or to write a wrapper for it.

      Either way, I need more examples to identify the things I need... I've never developed GUIs in Windows, just traced and debugged them, but I'm not sure how are all that stuff named!!! An ancient newbie ;-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1221279]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2024-03-28 19:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found