Saludos al Forum.
Hay alguna manera de ver con genera la compilacion. en un archivo usando hbmk2
COn MAKE genera un archivo.bc
Saludos al Forum.
Hay alguna manera de ver con genera la compilacion. en un archivo usando hbmk2
COn MAKE genera un archivo.bc
Ruben,
Ejecuta hbmk2 -help y ver谩s todas las opciones posibles.
Tienes la opci贸n -traceonly que puede servirte
PROCEDURE Main()
聽 聽LOCAL nCurWindow
聽 聽LOCAL hMenu, hPopupmenu
聽 聽LOCAL cLabel := "This is the Main Window"
聽 聽LOCAL nCursor
聽 聽LOCAL kF1, kF2, kF3
聽 聽LOCAL kF9, kF10, kF11
聽 聽LOCAL oMouse
聽 聽LOCAL ch
#if defined( __HBSCRIPT__HBSHELL ) .AND. defined( __PLATFORM__WINDOWS )
聽 聽hbshell_gtSelect( "GTWVW" )
#endif
聽 聽Set( _SET_EVENTMASK, INKEY_ALL )
聽 聽Set( _SET_DATEFORMAT, "yyyy-mm-dd" )
聽 聽SET SCOREBOARD OFF
聽 聽// wvw_SetPaintRefresh( 0 )
Alert("PAso 1") [b] /Nota Hasta aqui lo ejecuta, despues se cuelga./[/b]
聽 聽wvw_SetVertCaret( .T. )
聽 聽wvw_pbSetFont( , "Tahoma", 14 )
聽 聽nCursor := SetCursor( SC_NONE )
聽 聽IF ! SetDefaultWindowSize()
聽 聽 聽 ldebug( "Cannot setDefaultWindowSize()" )
聽 聽ELSE
聽 聽 聽 ldebug( "Successfully setDefaultWindowSize()" )
聽 聽ENDIF
Alert("PAso 2")
聽 聽IF wvw_sbCreate() > 0 .AND. ;
聽 聽 聽 wvw_sbAddPart( , "99:99:99" ) > 0
聽 聽 聽 wvw_SetTimer( , 1000 )
聽 聽ENDIFApplication Internal Error - K:\v_xharb_v3\wvwtest9.exe
Terminated at: 2015-07-28 08:25:23
Unrecoverable error 6005: Exception error:
聽 聽 Exception Code:C0000005 ACCESS_VIOLATION
聽 聽 Exception Address:004DCFD3
聽 聽 EAX:00000000 聽EBX:00517E58 聽ECX:001C7CFC 聽EDX:004DCFCC
聽 聽 ESI:00000000 聽EDI:004FBE0C 聽EBP:0018FDEC
聽 聽 CS:EIP:0023:004DCFD3 聽SS:ESP:0018FDCC
聽 聽 DS:002B 聽ES:002B 聽FS:0053 聽GS:002B
聽 聽 Flags:00010246
聽 聽 Exception Parameters: 00000000 000001DC
聽 聽 CS:EIP: 8B 90 DC 01 00 00 8B 70 08 8B 9C 90 E0 01 00 00
聽 聽 SS:ESP: 00000000 00517E58 00470E20 00000001 00000000 001C9D3C 00000000 00000000 0018FF00 0046AE4B 00000001 00000000 00000001 0050D1CC 00000006 00000101
聽 聽 C stack:
聽 聽 EIP: 聽 聽 EBP: 聽 聽 聽 Frame: OldEBP, RetAddr, Params...
聽 聽 004DCFD3 0018FDEC 聽 0018FF00 0046AE4B 00000001 00000000 00000001 0050D1CC 00000006 00000101 00000010 005182E4
聽 聽 0046AE4B 0018FF00 聽 0018FF10 004012E0 004FBDAC 004FB0C8
聽 聽 004012E0 0018FF10 聽 0018FF2C 00470E20 00000000 00000000 00000000 00000000 000000AF
聽 聽 00470E20 0018FF2C 聽 0018FF40 0046A1A3 00000000 004FB048 7FFDE000
聽 聽 0046A1A3 0018FF40 聽 0018FF4C 0049848E 00000001
聽 聽 0049848E 0018FF4C 聽 0018FF78 004F726F 00000001 001C0130 001C0870 0052CC20 0052CC20 7FFDE000 7FFDE000 0018FFCC
聽 聽 004F726F 0018FF78 聽 0018FF94 00000000 004FB048 74C37C04 7FFDE000 74C37BE0 9C82B833
聽 聽 00000000 0018FF94 聽 0018FFDC 7741AD1F 7FFDE000 9F1CF9F2 00000000 00000000 7FFDE000 C0000005 7531F510 00000000
Modules:
00400000 0012E000 K:\v_xharb_v3\wvwtest9.exe
773C0000 0016E000 C:\Windows\SYSTEM32\ntdll.dll
74C20000 00140000 C:\Windows\SYSTEM32\KERNEL32.DLL
75260000 000D7000 C:\Windows\SYSTEM32\KERNELBASE.dll
71EA0000 00089000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9600.17810_none_7c5b6194aa0716f1\COMCTL32.DLL
77250000 0009B000 C:\Windows\SYSTEM32\COMDLG32.DLL
75390000 0010F000 C:\Windows\SYSTEM32\GDI32.DLL
77110000 00129000 C:\Windows\SYSTEM32\OLE32.DLL
74D60000 00095000 C:\Windows\SYSTEM32\OLEAUT32.DLL
76DA0000 00153000 C:\Windows\SYSTEM32\USER32.DLL
75630000 0007C000 C:\Windows\SYSTEM32\ADVAPI32.dll
76CD0000 000C3000 C:\Windows\SYSTEM32\msvcrt.dll
75100000 00045000 C:\Windows\SYSTEM32\SHLWAPI.dll
75A20000 012AD000 C:\Windows\SYSTEM32\SHELL32.dll
76F00000 0017D000 C:\Windows\SYSTEM32\combase.dll
75150000 000BA000 C:\Windows\SYSTEM32\RPCRT4.dll
75210000 00041000 C:\Windows\SYSTEM32\sechost.dll
74BC0000 0001E000 C:\Windows\SYSTEM32\SspiCli.dll
749F0000 0008B000 C:\Windows\SYSTEM32\SHCORE.DLL
74BB0000 0000A000 C:\Windows\SYSTEM32\CRYPTBASE.dll
74B50000 00054000 C:\Windows\SYSTEM32\bcryptPrimitives.dll
77090000 00027000 C:\Windows\system32\IMM32.DLL
754B0000 00112000 C:\Windows\SYSTEM32\MSCTF.dll
Called from WVW_SETVERTCARET(0)
Called from MAIN(175) in .\prge1\wvwtest9.prg
------------------------------------------------------------------------El error se produce en la funci贸n
Called from WVW_SETVERTCARET(0)
Called from MAIN(175) in .\prge1\wvwtest9.prg
Tienes el c贸digo fuente de WVW_SETVERTCARET() ?
/*wvw_SetVertCaret( [lOn] )
* if lOn is supplied:
* lOn == .t.: turn caret into vertical caret
* lOn == .f.: turn caret into horizontal caret
* return old setting of s_pWvwData->s_bVertCaret
*/
/*TODO: do you want to make it window selective?*/
HB_FUNC( WVW_SETVERTCARET )
{
BOOL bOldVertCaret = s_pWvwData->s_bVertCaret;
WIN_DATA * pWindowData = s_pWvwData->s_pWindows[ s_pWvwData->s_usNumWindows - 1 ];
if( ! HB_ISNIL( 1 ) )
{
s_pWvwData->s_bVertCaret = hb_parl( 1 );
/*TODO: we should recalculate width and height of caret! */
hb_gt_wvwKillCaret( pWindowData );
hb_gt_wvwCreateCaret( pWindowData );
}
hb_retl( bOldVertCaret );
}Gracias Antonio.
Solamente estoy haciendo pruebas. con las contribuciones, y con todas he tenido problemas para trabajar con make.
estoy buscando es porque con hbmk2 funciona bien.
con respecto a este ejemplo, el problema esta en crear la libreria gtwvw, no la comoila bien. No se si alguine la tiene construida para Harbour,
Gracias