Page 1 of 1

error run application

Posted: Sat Jun 16, 2007 5:57 pm
by kajot
error after run application

---------------------------
xsetow6.exe - Błąd aplikacji
---------------------------
Instrukcja spod "0x00000000" odwołuje się do pamięci pod adresem "0x00000000". Pamięć nie może być "read".


Kliknij przycisk OK, aby przerwać działanie aplikacji
Kliknij przycisk Anuluj, aby rozpocząć debugowanie programu
---------------------------
OK Anuluj
---------------------------

Posted: Sat Jun 16, 2007 7:09 pm
by Antonio Linares
Are you using Harbour or xharbour ? What FWH version ?

Do you get the error when you exit from the application ? Please place a MsgInfo() before the end of your application and check it it properly shows

error run application

Posted: Sat Jun 16, 2007 8:50 pm
by kajot
I am using xHarbour Compiler build 0.99.70 (SimpLex)
and FWH 7.05 ( operation system Windows XP)

Posted: Sat Jun 16, 2007 10:44 pm
by Antonio Linares
Do you get the error when you exit from the application ? Please place a MsgInfo() before the end of your application and check it it properly shows

error after run application

Posted: Sun Jun 17, 2007 6:16 am
by kajot
when I run application

Posted: Sun Jun 17, 2007 8:16 am
by Antonio Linares
Could you please provide a small PRG sample to reproduce the error ? Thanks

error after run application

Posted: Sun Jun 17, 2007 8:54 am
by kajot
#include "FiveWin.ch"
static oWnd
//----------------------------------------------------------------------------//

function Main()
local oBar

SET _3DLOOK ON


DEFINE WINDOW oWnd FROM 0,0 to 200,800 pixel TITLE "Karta pracy" ;
MENU BuildMenu()


SET MESSAGE OF oWnd TO "(c) Inkom"

ACTIVATE WINDOW oWnd
// VALID MsgYesNo( "Czy koniec ?" )

return nil

//----------------------------------------------------------------------------//
function BuildMenu()

local oMenu

MENU oMenu
MENUITEM "&Karta"
MENU
MENUITEM "&Pracownicy" //Action bro01()
MENUITEM "&Zleceniobiocy"
ENDMENU
MENUITEM "&Raporty"
MENU
MENUITEM "&Karta pracy" //Action rep01()
ENDMENU
MENUITEM "&Koniec"
MENU
MENUITEM "&Koniec" ACTION oWnd:End()
ENDMENU

ENDMENU

return oMenu
//----------------------------------------------------------------------------//
procedure AppSys // XBase++ requirement

return
// -------------------

Re: error after run application

Posted: Sun Jun 17, 2007 10:30 am
by Enrico Maria Giordano
Your sample seems to work fine here.

EMG

Posted: Sun Jun 17, 2007 10:32 am
by Antonio Linares
Are you using the xharbour build that we provide with FWH 7.05 ?

Please try your code with the FiveTech provided xharbour build, thanks