Sorry, I was calling the wrong function...  I was too hasty.

On Thu, Jan 28, 2010 at 5:17 AM, smu johnson <[email protected]> wrote:

> It seems that the background func call is what I want, but I can't get it
> to implement.
>
> I grep'd the entire source tree, and found only 3 references:
>
> contrib/xhb/bkgtsks.c:extern ULONG    hb_backgroundAddFunc( PHB_ITEM
> pBlock, int nMillisec, BOOL bActive ); /* Adds a codeblock or an executable
> array */
> contrib/xhb/bkgtsks.c:ULONG hb_backgroundAddFunc( PHB_ITEM pBlock, int
> nMillisec, BOOL bActive )
> contrib/xhb/bkgtsks.c:      hb_retnl( hb_backgroundAddFunc( pBlock,
>
> ... When I use it, I get the classic  undefined reference to
> `HB_FUN_HB_BACKGROUNDADDFUNC message.
>
> Maybe it is ready yet?  *confused*
>
> TIA
>
>
> On Thu, Jan 28, 2010 at 3:29 AM, Danny <[email protected]> wrote:
>
>> smu johnson ha scritto:
>>
>>  Hi,
>>>
>>> Has anyone found a replacement for Telepathy TP_ONTIME?  (it just allows
>>> you
>>> to execute any function you want during any millisecond intervals.
>>> Unfortunately, the hbtpathy library has left this TP_ONTIME function
>>> out...
>>> I e-mailed the author of the Harbour contrib lib, but perhaps he never
>>> implemented this FUNC because it was not portable.
>>>
>>> I wouldn't want to write my own if I didn't have to, as I decided to ask
>>> here.
>>>
>>> I read some other threads on the mailing list and someone mentioned to
>>> check
>>> out another thread on multithreading.  It was a bit too high-brow for me,
>>> as
>>> well as not really answering this (and the original posters) question.
>>>  In a
>>> nutshell, I'm looking to implement a simple feature that Telepathy
>>> provided
>>> in the DOS days.
>>>
>>> As always, any hints highly appreciated.  Thank you for reading
>>>
>>>
>>>
>> I'm not sure about those instructions, but here they are:
>>
>> HB_IdleAdd() : Adds a background task for being executed during idle
>> states
>> HB_IdleDel() Removes a task from the list of idle tasks.
>> HB_IdleState() Signals an idle state.
>> HB_IdleSleepMSec() Queries or changes the default time interval for idle
>> task processing.
>>
>> HB_BackGroundAdd() Adds a new background task.
>> HB_BackGroundRun() : Enforces execution of one or all background tasks
>> HB_BackGroundActive() Queries and/or changes the activity of a single
>> background task.
>> HB_BackGroundDel() Removes a background task from the internal task list.
>> HB_BackGroundReset() Resets the internal counter of background tasks.
>> HB_BackGroundTime() Queries or changes the wait interval in milliseconds
>> after which the task is executed.
>>
>> StartThread() Starts a new thread.
>>
>> HTH
>> Dan
>> _______________________________________________
>> Harbour-users mailing list (attachment size limit: 40KB)
>> [email protected]
>> http://lists.harbour-project.org/mailman/listinfo/harbour-users
>>
>
>
>
> --
> smu johnson <[email protected]>
>
>


-- 
smu johnson <[email protected]>
_______________________________________________
Harbour-users mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour-users

Reply via email to