Multihilos en xHarbour

Multihilos en xHarbour

Postby softruz » Mon Mar 30, 2009 8:15 am

Muy buenas, estoy intentando compilar este ejemplo de xharbour.com pero me dan los siguientes errores. ¿ de que pueden ser?

Este es el código:
--------------------
#include "fivewin.ch"
#include "hbclass.ch"

PROCEDURE Main
LOCAL pThread

CLS
USE Customer
pThread := StartThread( "ShowTime", 0, MaxCol()-7 )

Browse()

StopThread( pThread )

WaitForThreads()
RETURN


PROCEDURE ShowTime( nRow, nCol )
DO WHILE .T.
DispOutAt( nRow, nCol, Time() )
ThreadSleep( 1000 )
ENDDO
RETURN


Estos son los errores:
--------------------------

cdimt.c:
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '___CPPdebugHook' referenced from Z:\SOFTWARE\FWH809\PROJECT\CDIMT\FUE\CW32MT.LIB|xxv
Error: Unresolved external '___System__GetTls' referenced from Z:\SOFTWARE\FWH809\PROJECT\CDIMT\FUE\CW32MT.LIB|xxv
Error: Unresolved external '_hb_verCvsID' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\COMMON.LIB|hbver
Error: Unresolved external '_hb_verCvsLastEntry' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\COMMON.LIB|hbver
Error: Unresolved external '_hb_verCvsChangeLogID' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\COMMON.LIB|hbver
Error: Unresolved external '_hb_verFlagsC' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\COMMON.LIB|hbver
Error: Unresolved external '_hb_verFlagsL' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\COMMON.LIB|hbver
Error: Unresolved external '_hb_verFlagsPRG' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\COMMON.LIB|hbver
Error: Unresolved external '_hb_fsNameConv' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\COMMON.LIB|hbfsapi
Error: Unresolved external '_hb_gt_Init' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_GetScreenHeight' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_GetScreenWidth' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_Exit' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_ExtendedKeySupport' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_ReadKey' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_AdjustPos' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_Box' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_VertLine' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_HorizLine' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_PreExt' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_PostExt' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_SetPos' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_SetCursorStyle' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_IsColor' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_RectSize' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_Replicate' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_GetBlink' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_SetBlink' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_SetMode' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_Puts' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_Scroll' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_Tone' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_Version' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_DispCount' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_DispEnd' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_Suspend' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_Resume' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_Row' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_Col' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_DispBegin' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_SetClipboard' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_GetClipboardSize' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_ProcessMessages' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_GetClipboard' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_SetAttribute' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_GetText' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_gt_PutText' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|gtapi
Error: Unresolved external '_hb_mouse_IsPresent' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|mouseapi
Error: Unresolved external '_hb_mouse_Show' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|mouseapi
Error: Unresolved external '_hb_mouse_Hide' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|mouseapi
Error: Unresolved external '_hb_mouse_Col' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|mouseapi
Error: Unresolved external '_hb_mouse_Row' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|mouseapi
Error: Unresolved external '_hb_mouse_SetPos' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|mouseapi
Error: Unresolved external '_hb_mouse_IsButtonPressed' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|mouseapi
Error: Unresolved external '_hb_mouse_CountButton' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|mouseapi
Error: Unresolved external '_hb_mouse_SetBounds' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|mouseapi
Error: Unresolved external '_hb_mouse_GetBounds' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|mouseapi
Error: Unresolved external '_hb_gt_OutStd' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|console
Error: Unresolved external '_hb_gt_OutErr' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|console
Error: Unresolved external '_HB_FUN___CLSACTIVE' referenced from Z:\SOFTWARE\FWH809\FWH\LIB\FIVEHX.LIB|FONT
Error: Unresolved external '_hb_gt_info' referenced from Z:\SOFTWARE\FWH809\XHARBOUR\LIB\THREAD\RTLMT.LIB|maxrow

Y ESTE ES MI .BC:
---------------------
cw32mt.lib +
"CdiMT.obj", +
"CdiMT.exe", +
"CdiMT.map", +
\software\fwh809\fwh\lib\Fivehx.lib \software\fwh809\fwh\lib\FiveHC.lib +
\software\fwh809\library\cdi\xCdiBusGra.lib +
\noway\Lib\xHarbour\b32\fwh809\noway.lib +
\software\fwh809\library\cdi\xCDIPdts.lib +
\software\fwh809\xharbour\lib\thread\rtlmt.lib +
\software\fwh809\library\terceros\mysql.lib +
\software\fwh809\library\terceros\eagle1.lib +
\software\fwh809\library\terceros\BtnGet32.lib +
\software\fwh809\library\terceros\tCalendar.lib +
\software\fwh809\xharbour\lib\thread\vmmt.lib +
\software\fwh809\xharbour\lib\gtgui.lib +
\software\fwh809\xharbour\lib\lang.lib +
\software\fwh809\xharbour\lib\macro.lib +
\software\fwh809\xharbour\lib\thread\rddmt.lib +
\software\fwh809\xharbour\lib\thread\dbfntxmt.lib +
\software\fwh809\xharbour\lib\thread\dbfcdxmt.lib +
\software\fwh809\xharbour\lib\dbffpt.lib +
\software\fwh809\xharbour\lib\hbsix.lib +
\software\fwh809\xharbour\lib\debug.lib +
\software\fwh809\xharbour\lib\common.lib +
\software\fwh809\xharbour\lib\codepage.lib +
\software\fwh809\xharbour\lib\thread\ppmt.lib +
\software\fwh809\xharbour\lib\pcrepos.lib +
\software\fwh809\bcc55\lib\cw32.lib +
\software\fwh809\bcc55\lib\import32.lib +
\software\fwh809\bcc55\lib\psdk\odbc32.lib +
\software\fwh809\bcc55\lib\psdk\rasapi32.lib +
\software\fwh809\bcc55\lib\psdk\nddeapi.lib +
\software\fwh809\bcc55\lib\psdk\iphlpapi.lib+
\software\fwh809\bcc55\lib\psdk\MSIMG32.LIB



¿ DE QUE PUEDE SER?
softruz
 
Posts: 485
Joined: Fri Feb 09, 2007 10:34 am

Re: Multihilos en xHarbour

Postby Antonio Linares » Sun Apr 05, 2009 6:58 am

La ejecución multihilo no está completamente estable y no ha sido implementada en FWH.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Multihilos en xHarbour

Postby softruz » Tue Apr 07, 2009 7:46 am

¿Se va ha mejorar en posteriores versiones?

Un Saludo.
softruz
 
Posts: 485
Joined: Fri Feb 09, 2007 10:34 am


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 36 guests