Jump to content











Photo
- - - - -

2.0.7 problem reported, etc


  • Please log in to reply
1 reply to this topic

#1 omniplex

omniplex
  • Members
  • 9 posts
  •  
    Germany

Posted 04 April 2016 - 04:43 AM

Ob on topic, after somebody managed to report a 2.07 issue where nobody will find it, I installed 2.09 without problems. While at it I checked what else is new, because I have about a dozen binaries collected in a folder "G:\TO-W2K\Disk util\Olof32" with another dozen binaries in "C:\Program Files\SysInternals", includíng MSGBOX.exe, CHSIZE32, EXELIST, GETOEMCP, etc. (chsize32.exe was the critical thingy, my own trunc.exe for this purpose and DOS+OS/2+W2K was too 16 bit for a Windows x64.  Meanwhile I fixed it.)

 

The individual 32 bit download for chsize32 is apparently an old version, the new March 2016 version is contained in the complete 32 bit ZIP. It would be nice to get some short txt files, a README, or similar.  Just for fun I created my own MSGBOX.txt:

Syntax: MsgBox.exe [STRING [VALUE [TITLE]]]

Default STRING: "" (empty) for an empty message.
Default VALUE : 0, no message icon and no sound.
Default TITLE : "Error" for the current locale.

VALUE = buttons + icon + sound (bitwise)
 0      button     OK
 1      buttons    OK + Abort
 2      buttons Abort + Retry + Ignore
 3      buttons   Yes + No + Abort
 4      buttons   Yes + No
 5      buttons Retry + Abort
 6      buttons Abort + Retry + Continue
 7..15        : No message box (purpose TBD)
   +  0       : Only a message box (no icon)
   + 16 icon failure  (X in  red circle)
   + 32 icon question (? in blue circle)
   + 48 icon warning  (! in yellow triangle)
   + 64 icon info     (I in blue circle)
   + 80 only sound (no icon)
   + 96 etc. reserved, same effect as 80.

The sounds for failure/question/warning/info and
"default" (80) are Windows sound events for the
current sound scheme.

The MsgBox result codes (errorlevel) correspond
to the pressed buttons:
 0      -/-  (no button in no message box 7..15)
 1      OK   , Enter key, Space key
 2      Abort, Alt-F4 keys, ESC key, closed box
 3      -/-
 4      Retry (in box 5 or box 2)
 5      Ignore
 6      Yes
 7      No
 8      -/-
 9      -/-
10      Retry (in box 6 abort-retry-continue)
11      Continue



#2 Olof Lagerkvist

Olof Lagerkvist

    Gold Member

  • Developer
  • 1331 posts
  • Location:Borås, Sweden
  •  
    Sweden

Posted 04 April 2016 - 07:37 AM

(I split this into a separate thread)
 
I guess that the problem reported at Heise is related to a virtual disk created with the same drive letter as an existing disk volume. It might look like the disk volume is completely gone when the virtual disk is removed, but it's really just the drive letter. A new drive letter could be assigned using mountvol command line tool or using Disk Management GUI.
 

The individual 32 bit download for chsize32 is apparently an old version, the new March 2016 version is contained in the complete 32 bit ZIP.


No, the individual zip files have the same versions as far as I can see. But you have (possibly accidentally) linked the ARM version. The x86 version is here http://ltr-data.se/files/chsize32.zip and it contains the same chsize32.exe as http://ltr-data.se/files/exefiles.zip. Also, the ARM version http://ltr-data.se/f...rm/chsize32.zip contains the same version as included in http://ltr-data.se/f...rm/exefiles.zip.
 

It would be nice to get some short txt files, a README, or similar.  Just for fun I created my own MSGBOX.txt:

Syntax: MsgBox.exe [STRING [VALUE [TITLE]]]

Default STRING: "" (empty) for an empty message.
Default VALUE : 0, no message icon and no sound.
Default TITLE : "Error" for the current locale.

VALUE = buttons + icon + sound (bitwise)
0 button OK
1 buttons OK + Abort
2 buttons Abort + Retry + Ignore
3 buttons Yes + No + Abort
4 buttons Yes + No
5 buttons Retry + Abort
6 buttons Abort + Retry + Continue
7..15 : No message box (purpose TBD)
+ 0 : Only a message box (no icon)
+ 16 icon failure (X in red circle)
+ 32 icon question (? in blue circle)
+ 48 icon warning (! in yellow triangle)
+ 64 icon info (I in blue circle)
+ 80 only sound (no icon)
+ 96 etc. reserved, same effect as 80.

The sounds for failure/question/warning/info and
"default" (80) are Windows sound events for the
current sound scheme.

The MsgBox result codes (errorlevel) correspond
to the pressed buttons:
0 -/- (no button in no message box 7..15)
1 OK , Enter key, Space key
2 Abort, Alt-F4 keys, ESC key, closed box
3 -/-
4 Retry (in box 5 or box 2)
5 Ignore
6 Yes
7 No
8 -/-
9 -/-
10 Retry (in box 6 abort-retry-continue)
11 Continue

Great! Can I distribute this as a readme file in the zip file and also with a direct link to the readme from the website? I might add a few things to it, for instance the constants 256, 512 and 768 for selecting default button, if that's okay with you. From current documentation:

https://msdn.microso...p/ms645505.aspx

 






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users