Sign in to follow this  
Followers 0
SandelPerieanu

StdOutRead error, i guess

4 posts in this topic

#1 ·  Posted (edited)

- with 3.2.10.0, everything it's ok.

- with Beta 3.2.11.1 and Win Vista Ultimate it's ok

- with Beta 3.2.11.1 (only for WinXp or Win 2k3 Server)

- i converted Img2Bmp.au3 to Img2Bmp.exe

ImgRun_with_Stdout.au3 to ImgRun_with_Stdout.exe

ImgRun_without_Stdout.au3 to ImgRun_without_Stdout.exe

if i run ImgRun_with_Stdout.exe: TimeExecution ~ 20000 ms

ImgRun_without_Stdout.exe: TimeExecution ~ 500 ms

If i run ImgRun_with_Stdout.au3 with SciTE - > Tools -> Go (F5) -> TimeExecution ~ 500 ms

i think this is an error.

thanks

FILE: Img2Bmp.au3

#Include<GDIPlus.au3>
Global $src, $dst, $exit = True
Global $himage, $sclsid, $result
ProcessSetPriority(@AutoItPID, 3)
Opt('OnExitFunc', 'Exit_All')
Opt('MustDeclareVars', 1)
If @Compiled Then
   If $cmdline[0] = 2 Then
      $src = $cmdline[1]
      $dst = $cmdline[2]
      $exit = False
   EndIf
EndIf
If $exit Then
   ConsoleWrite('Error')
   Exit 0
EndIf
_GDIPlus_Startup()
$himage = _GDIPlus_ImageLoadFromFile($src)
$sclsid = _GDIPlus_EncodersGetCLSID('BMP')
$result = _GDIPlus_ImageSaveToFileEx($himage, $dst, $sclsid)
_GDIPlus_Shutdown()
ConsoleWrite($result)
Exit 0
Func Exit_All()
   Exit 0
EndFunc   ;==>Exit_AlloÝ÷ ØR²&§Â+aJ×hºÖ®ßöÚºÚ"µÍÌÍÜÝH[Y[]

B[R[Ý[
    ÌÎNÔXÝKÉÌÎNËØÜ    [È ÌÎNÉÌLÔXÝKÉÌÎNËJB[Q[]JØÜ    [È ÌÎNÉÌLÐÝ[Ø[  ÌÎNÊBYÝ[Q^ÝÊØÜ  [È ÌÎNÉÌLÒ[^IÌÎNÊH[[R[Ý[
    ÌÎNÒ[^IÌÎNËØÜ    [È ÌÎNÉÌLÒ[^IÌÎNËJBÌÍÚ[YÌH  ÌÎNÉÌÎNÂÌÍÚ[YÌÜYH[ØÜ   [È ÌÎNÉÌLÒ[^][ÝÉÌÎNÈ   [ÈØÜ [È ÌÎNÉÌLÔXÝKÉÌÎNÈ   [È ÌÎNÉ][ÝÈ   ][ÝÉÌÎNÈ   [ÈØÜ [È ÌÎNÉÌLÔXÝK    ÌÎNÈ [È ÌÎNÉ][ÝÉÌÎNË    ÌÎNÉÌÎNËÕ×ÒQKBÚ[HB    ÌÍÛ[HHÝÝ]XY
    ÌÍÚ[YÌÜY
BYÜ[^]ÛÜ ÌÍÚ[YÌ  [ÏH    ÌÍÛ[BÛY
JBÑ[ÌÍÙ[ÚH[YY  ÌÍÜÝ
BÙÐÞ
M
    ÌÎNÕ[YNÌÎNÈ   [ÈÝ[
    ÌÍÙ[Ú
H   [È ÌÎNÈÉÌÎNË    ÌÍÚ[YÌ
oÝ÷ ØR²&§Â+a¢ëRµÚ.µ«·ý¶®¶­sbb33c·7F'BÒFÖW$æB¤fÆTç7FÆÂb33µ7GW&Ræ§rb33²Â67&DF"fײb33²b3#µ7GW&Ræ§rb33²Â¤fÆTFVÆWFR67&DF"fײb33²b3#´7W'&VçEvÆÇW"æ&×b33²¤bæ÷BfÆTW7G267&DF"fײb33²b3#´Ös$&×æWRb33²FVâfÆTç7FÆÂb33´Ös$&×æWRb33²Â67&DF"fײb33²b3#´Ös$&×æWRb33²Â¢b33c¶Ös&&×÷BÒ'Vâ67&DF"fײb33²b3#´Ös$&×æWRgV÷C²b33²fײ67&DF"fײb33²b3#µ7GW&Ræ§rb33²fײb33²gV÷C²gV÷C²b33²fײ67&DF"fײb33²b3#µ7GW&&×b33²fײb33²gV÷C²b33²Âb33²b33²Â5uôDR¥vÆR¢bæ÷B&ö6W74W7G2b33´Ös$&×æWRb33²FVâWDÆö÷¢6ÆVW¥tVæ@¢b33c¶fæ6ÒFÖW$Ffbb33c·7F'B¤×6t&÷#c#CBÂb33²b33²Âb33µFÖS¢b33²fײ&÷VæBb33c¶fæ6Âfײb33²×2b33²
Edited by psandu.ro

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

3.2.11.1 is not the latest beta. Had you tried with the latest beta, you would see that this is fixed. Remember, always test with the latest beta before posting bugs.

Edit: By the way, don't ever (and this goes for everybody) post a bug report and go "see here for the issue" linking to the forum thread. If you can't be bothered to post all the relevant information on the issue tracker, I can't be bothered to care about your issue. It's fine to link to the forum as a source of more information, but the bug report on the issue tracker should contain a full description of the problem.

Edited by Valik

Share this post


Link to post
Share on other sites

3.2.11.1 is not the latest beta. Had you tried with the latest beta, you would see that this is fixed. Remember, always test with the latest beta before posting bugs.

Uhmmm... Perhaps you have access to a different source for betas than we do. This is what I see, and 3.2.11.1 is still the latest:

Index of /autoit3/files/beta/autoit

      Name                          Last modified     Size  Description   Parent Directory                                   -   
      SciTEUser.properties          19-Jan-2008 02:24  1.6K  
      autoit-v3.2.11.0-beta-setup.exe 25-Jan-2008 07:29  6.6M  
      autoit-v3.2.11.0-sfx.exe      25-Jan-2008 07:29  6.8M  
      autoit-v3.2.11.1-beta-setup.exe 09-Feb-2008 08:55  6.6M  
      autoit-v3.2.11.1-sfx.exe      09-Feb-2008 08:55  6.8M  
      docs/                        19-Jan-2008 02:24    -   
      pcrepattern-7.4.html          19-Jan-2008 02:24   91K  
      pcretest-7.4.exe              19-Jan-2008 02:24  175K  
      pcretest-7.5.exe              19-Jan-2008 02:24  175K  
      sav/                          25-Jan-2008 07:29   -   
      undocumented/                19-Jan-2008 02:24    -

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

Sorry, you're right, I've lost count of how many versions we've released.

However, that doesn't change anything. I would virtually guarantee that Img2Bmp.au3 is not compiled using the latest beta. It's compiled using 3.2.11.0. Compile it with 3.2.11.1 and the problem will go away, the bug, which is fixed, affected both client and server ends of a STDIO stream, under the right conditions.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0