in reply to Re^5: problem with par as other user
in thread problem with par as other user

on windows applications w/o console window could be:

Returning to your previous question, no, you do not required to build perl in order to build start.exe, and you can avoid building perl at all :):)

ps English sorrey mine :)

Replies are listed 'Best First'.
Re^7: problem with par as other user
by Ace128 (Hermit) on Jun 29, 2006 at 23:34 UTC
    editbin?
      it comes with MSVC compiler, command-line utility, but probably available somehow else.
Re^7: problem with par as other user
by Ace128 (Hermit) on Jun 29, 2006 at 23:55 UTC
    Err, Windows got this start.com (or is it .exe?), and apparently I've been using that instead of your start.exe! Explains the terminal window. I renamed that to s.exe and then I got this message box about trying s.pl on 4 different locations (just as you expect looking in the start.c code...) However, isnt it supposed to run the thing given as argument?

    "s.exe tktests.pl" still says the same about not finding s.pl!

    I'm a little bit confused now...

    Update: Ofcource! I renamed this s.exe to tktests.exe. However, runing it didn't do anything. As nothing seems to be happening! :/ Hmm...
      I should have name it differently.

      But your tktests will not run anyway, because there's no perl/Tk in that package, only perl (strimmed. but you can populate PM files into .zip) and Tcl/Tk.

      Following code runs okay:

      use warnings; use strict; use Tcl::Tk; my $mw = Tcl::Tk::tkinit; #centers window CenterWindow($mw, 300, 200); Tcl::Tk::MainLoop; sub CenterWindow { my($window, $width, $height) = @_; #$window->idletasks; $width = $window->reqwidth unless $width; $height = $window->reqheight unless $height; my $x = int(($window->screenwidth / 2) - ($width / 2)); my $y = int(($window->screenheight / 2) - ($height / 2)); $window->geometry("=${width}x${height}+${x}+${y}"); }
      Try this out, it works for me...

      One more thing.

      There are console and "windows" mode editable by editbin. The problem is that w/o console you do not see error message (such as 'module Tk not found blablabla'), so I suggest you to try tests with console-based of executable

      Also you may want running applications from command line, so you need console version of executable again, see both at http://www.vkonovalov.ru/files-exchange/ cstart.exe and wstart.exe

      So try again with cstart.exe

        Lovely! Guess its time to use some module to get all files that are used in a script and insert them into the zip!

        However, I tried runing this now working tcltests.pl with both cstart and wstart, and I didn't get any console window with cstart!

        Ace