2010-05-03 18:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* contrib/hbide/idemisc.prg
    ! Finally added existance check for .uic files to avoid the
      unending flow of strange error reports (RTE/GPF) (and subsequente
      random guessing) about problems caused by these missing files.
      Now HBIDE will show a clear message and quit instantly in this
      case.
This commit is contained in:
Viktor Szakats
2010-05-03 16:13:28 +00:00
parent 20ef6c2988
commit 4317fcfce5
2 changed files with 15 additions and 1 deletions

View File

@@ -17,6 +17,14 @@
past entries belonging to author(s): Viktor Szakats.
*/
2010-05-03 18:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbide/idemisc.prg
! Finally added existance check for .uic files to avoid the
unending flow of strange error reports (RTE/GPF) (and subsequente
random guessing) about problems caused by these missing files.
Now HBIDE will show a clear message and quit instantly in this
case.
2010-05-03 10:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmysql/mysql.ch
* contrib/hbmysql/tmysql.prg

View File

@@ -1518,8 +1518,14 @@ FUNCTION hbide_image( cName )
/*----------------------------------------------------------------------*/
FUNCTION hbide_uic( cName )
LOCAL tmp
DEFAULT cName TO ""
RETURN hbide_pathToOsPath( hb_DirBase() + "resources" + "/" + cName + ".uic" )
tmp := hbide_pathToOsPath( hb_DirBase() + "resources" + "/" + cName + ".uic" )
IF ! hb_FileExists( tmp )
MsgBox( "Error: File " + tmp + " is missing. Please check your installation." )
QUIT
ENDIF
RETURN tmp
/*----------------------------------------------------------------------*/