Codejock Calendar Samples?

User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Codejock Calendar Samples?

Post by Enrico Maria Giordano »

lucasdebeltran wrote:Mr. Enrico,

Why are you afraid with exe sizes with present Ram sizes of the Pcs?.
It's not about RAM size, mostly about sending time. But I agree, it is a minor problem. The warnings problem is a more important one:

http://forums.fivetechsupport.com/viewt ... =3&t=25987
lucasdebeltran wrote:Also, I indicated you some swithcs for latest BCC to reduce size. Are you happy with them?.
No, sorry. :-(

EMG
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Codejock Calendar Samples?

Post by Enrico Maria Giordano »

Antonio,
Antonio Linares wrote:Enrico,

Here you have a Harbour example similar to yours:
It looks like your sample doesn't act as mine. My sample continually beeps while yours beeps 10 time and then stops. How can it be forced to run the function each second?

EMG
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Codejock Calendar Samples?

Post by Antonio Linares »

Enrico,

You could call GetTickCount() and measure the time for the beeping
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Codejock Calendar Samples?

Post by Enrico Maria Giordano »

Antonio,
Antonio Linares wrote:Enrico,

You could call GetTickCount() and measure the time for the beeping
Unless I'm missing something, your sample calls the function only once. I need something that calls the function once per second. Can it be done using threads?

EMG
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Codejock Calendar Samples?

Post by Antonio Linares »

Enrico,

My idea was to perform an action from the called function, every x seconds

thats why I thought about using GetTickCount(), to wait x seconds to do whatever
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Codejock Calendar Samples?

Post by Enrico Maria Giordano »

Antonio,
Antonio Linares wrote:Enrico,

My idea was to perform an action from the called function, every x seconds

thats why I thought about using GetTickCount(), to wait x seconds to do whatever
Understood! Many thanks, Master! I will try it. I start to experiment with threads using xHarbour, at the moment.

EMG
Post Reply