Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jan 31st, 2008, 10:28 AM   #21
pcbrainbuster
Programmer
 
Join Date: Dec 2007
Posts: 93
Rep Power: 1 pcbrainbuster is on a distinguished road
Re: Timers and hooks -

What problem though? There doesn't seem to be one anywhere
pcbrainbuster is offline   Reply With Quote
Old Jan 31st, 2008, 6:49 PM   #22
Ancient Dragon
PFO God In Training
 
Ancient Dragon's Avatar
 
Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 489
Rep Power: 4 Ancient Dragon is on a distinguished road
Re: Timers and hooks -

I thought you were still trying to resolve the original problem.
Ancient Dragon is offline   Reply With Quote
Old Feb 1st, 2008, 12:53 PM   #23
pcbrainbuster
Programmer
 
Join Date: Dec 2007
Posts: 93
Rep Power: 1 pcbrainbuster is on a distinguished road
Re: Timers and hooks -

You mis-understand I was trying to say that I don't see one But I do have other problems too which I'm tryig to work with...
pcbrainbuster is offline   Reply With Quote
Old Feb 1st, 2008, 8:16 PM   #24
Ancient Dragon
PFO God In Training
 
Ancient Dragon's Avatar
 
Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 489
Rep Power: 4 Ancient Dragon is on a distinguished road
Re: Timers and hooks -

Oh, so you have either resolved the original question or the problem just went away for some miraculous reason.

About threads: why do you suspect they will be helpful to your program? What do you want the thread(s) to do?
Ancient Dragon is offline   Reply With Quote
Old Feb 2nd, 2008, 8:40 AM   #25
pcbrainbuster
Programmer
 
Join Date: Dec 2007
Posts: 93
Rep Power: 1 pcbrainbuster is on a distinguished road
Re: Timers and hooks -

Well as you would know for some reason the timer is messing up my hook and I just can't figure out why... So I thought if it ran in another thread it should be alright...
pcbrainbuster is offline   Reply With Quote
Old Feb 2nd, 2008, 8:52 AM   #26
pcbrainbuster
Programmer
 
Join Date: Dec 2007
Posts: 93
Rep Power: 1 pcbrainbuster is on a distinguished road
Re: Timers and hooks -

Actually I forgot to mension the follwoing -

I noticed something wierd in my program... The timer does not destroy the hook! BUT, if I do not select a window before 5 seconds are up(which is how long my timer waits for) selecting a window becomes impossible but the hook is still there. I just can't tell why

Any ideas?

Thanks.
pcbrainbuster is offline   Reply With Quote
Old Feb 2nd, 2008, 6:39 PM   #27
Ancient Dragon
PFO God In Training
 
Ancient Dragon's Avatar
 
Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 489
Rep Power: 4 Ancient Dragon is on a distinguished road
Re: Timers and hooks -

>>Any ideas?

Yes, -- I said it before and I'll say it again, use your debugger.
Ancient Dragon is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:59 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC