Hi Przemyslav This app:
function Main() event( 1 ) event( 1, 2 ) return nil function event( nEvent, ... ) ? hb_valtostr( nEvent ) ? hb_valtostr( ... ) return nil compiled with: hbmk2 -n hello gives this ouput: 1 Unrecoverable error 6005: Exception error: Exception Code:C0000005 Exception Address:0041723E EAX:9FFF7B33 EBX:0012FE6C ECX:0022123C EDX:00000000 ESI:00000000 EDI:00000000 EBP:0012FE68 CS:EIP:001B:0041723E SS:ESP:0023:0012FE18 DS:0023 ES:0023 FS:003B GS:0000 Flags:00010286 CS:EIP: 8B 07 25 FF FF FB FF 89 5C 24 10 83 F8 20 0F 87 SS:ESP: 00000000 00000000 0046F2CC 00000001 0047D000 0046F2BE 00417323 0012F E78 0012FF88 00000000 00223EA8 00405D4B 004808A8 00000060 00000000 9FFF7B33 C stack: EIP: EBP: Frame: OldEBP, RetAddr, Params... 0041723E 0012FE68 004095B2 0012FE74 004095F3 00000003 00000000 00000000 00 000000 00000000 0041061E 00000000 Modules: 0x00400000 0x00084000 C:\Users\Alex\ECR6.4\tests\hello.exe 0x77640000 0x00127000 C:\Windows\system32\ntdll.dll 0x75CF0000 0x000DC000 C:\Windows\system32\kernel32.dll 0x76CA0000 0x0009D000 C:\Windows\system32\USER32.dll 0x76BC0000 0x0004B000 C:\Windows\system32\GDI32.dll 0x773E0000 0x000C6000 C:\Windows\system32\ADVAPI32.dll 0x75FE0000 0x000C3000 C:\Windows\system32\RPCRT4.dll 0x75E30000 0x0001E000 C:\Windows\system32\IMM32.DLL 0x76D40000 0x000C8000 C:\Windows\system32\MSCTF.dll 0x77330000 0x000AA000 C:\Windows\system32\msvcrt.dll 0x77190000 0x00009000 C:\Windows\system32\LPK.DLL 0x775C0000 0x0007D000 C:\Windows\system32\USP10.dll Called from HB_VALTOSTR(0) Called from EVENT(11) in hello.prg Called from MAIN(3) in hello.prg Regards Alex _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour