Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > FrodoPlayer > FP FrodoComm > FP FCSH Services


Reply
 
Share Thread Tools Display Modes
Old 05-14-2005, 08:33 PM   #1
I'm sorry, and you are....?
 
frodobaggins's Avatar
 
Join Date: Jan 2003
Location: Ruston, LA
Posts: 8,846
frodobaggins will become famous soon enoughfrodobaggins will become famous soon enough
Frodo Authored Services[Discussion Thread]

You can discuss the services that I authored here.

Frodo
__________________
[H]4 Life
My next generation Front End is right on schedule.
It will be done sometime in the next generation.
I'm a lesbian too.
I am for hire!
frodobaggins is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 05-15-2005, 03:36 AM   #2
My Village Called
 
0l33l's Avatar
 
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 10,517
0l33l is on a distinguished road
How about adding a function to detect shutdown/restart/hibernate and resume from hibernation to PowerFunctions?
0l33l is offline   Reply With Quote
Old 05-15-2005, 03:45 AM   #3
I'm sorry, and you are....?
 
frodobaggins's Avatar
 
Join Date: Jan 2003
Location: Ruston, LA
Posts: 8,846
frodobaggins will become famous soon enoughfrodobaggins will become famous soon enough
Quote: Originally Posted by 0l33l
How about adding a function to detect shutdown/restart/hibernate and resume from hibernation to PowerFunctions?

I could do it, but you likely wouldn't get the message until after hibernate occured.
__________________
[H]4 Life
My next generation Front End is right on schedule.
It will be done sometime in the next generation.
I'm a lesbian too.
I am for hire!
frodobaggins is offline   Reply With Quote
Old 05-15-2005, 03:54 AM   #4
My Village Called
 
0l33l's Avatar
 
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 10,517
0l33l is on a distinguished road
Quote: Originally Posted by frodobaggins
I could do it, but you likely wouldn't get the message until after hibernate occured.

Well, in NaviVoice, I get the message and I have time to pause recognition. How do you think I got SAPI to resume after hibernation

So, is FC that much slower
0l33l is offline   Reply With Quote
Old 05-15-2005, 04:24 AM   #5
Super Moderator
 
xBrady's Avatar
 
Join Date: Apr 2004
Location: USA
Posts: 3,688
xBrady is a splendid one to beholdxBrady is a splendid one to beholdxBrady is a splendid one to beholdxBrady is a splendid one to beholdxBrady is a splendid one to beholdxBrady is a splendid one to beholdxBrady is a splendid one to behold
Quote: Originally Posted by 0l33l
Well, in NaviVoice, I get the message and I have time to pause recognition. How do you think I got SAPI to resume after hibernation

So, is FC that much slower

It depends on how you implement it. You can pause hibernation until you are done doing whatever you need to do.
__________________
AMD XP 2600+/512MB RAM/120GB hard drive
Opus 150W/DVD/GPS/7" Lilliput TS/802.11g/Bluetooth
Installed.


-GPSSecure- - GPS Tracking
-AltTabber2.2.2- - Handy touchscreen utility.
xBrady is offline   Reply With Quote
Old 05-15-2005, 04:33 AM   #6
My Village Called
 
0l33l's Avatar
 
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 10,517
0l33l is on a distinguished road
Quote: Originally Posted by xBrady
It depends on how you implement it. You can pause hibernation until you are done doing whatever you need to do.

I didn't even needed to do that. I guess my events were executed faster than the hibernation.
0l33l is offline   Reply With Quote
Old 05-15-2005, 03:41 PM   #7
I'm sorry, and you are....?
 
frodobaggins's Avatar
 
Join Date: Jan 2003
Location: Ruston, LA
Posts: 8,846
frodobaggins will become famous soon enoughfrodobaggins will become famous soon enough
That's not the problem. It's just the way Windows works, unless you do some special handling of hibernation yourself, sending messages will likely not reach the other apps until they come back, as they have prepared for hibernate. The reason you can pause Sapi is because it is running in your own app.

We can try it out and see if it works though
__________________
[H]4 Life
My next generation Front End is right on schedule.
It will be done sometime in the next generation.
I'm a lesbian too.
I am for hire!
frodobaggins is offline   Reply With Quote
Old 05-15-2005, 03:45 PM   #8
My Village Called
 
0l33l's Avatar
 
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 10,517
0l33l is on a distinguished road
Quote: Originally Posted by frodobaggins
That's not the problem. It's just the way Windows works, unless you do some special handling of hibernation yourself, sending messages will likely not reach the other apps until they come back, as they have prepared for hibernate. The reason you can pause Sapi is because it is running in your own app.

We can try it out and see if it works though

True, or send that app a command after your app has finished executing its instructions
0l33l is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 05-18-2005, 08:45 PM   #9
FLAC
 
Chairboy's Avatar
 
Join Date: Jan 2004
Posts: 1,380
Chairboy is on a distinguished road
Sweet, people with USB devices that are recalcitrant when it comes to waking up from sleep/hibernation will be able to use this to launch a mechanism to re-initialize the offending hardware.
__________________
Chrysler 300 - Fabricating
http://hallert.net/
Chairboy is offline   Reply With Quote
Old 05-22-2005, 11:58 PM   #10
I'm sorry, and you are....?
 
frodobaggins's Avatar
 
Join Date: Jan 2003
Location: Ruston, LA
Posts: 8,846
frodobaggins will become famous soon enoughfrodobaggins will become famous soon enough
Ok. I have found several bugs in my joystick service, however they are easy to fix.

But now I have another problem, and I need input on how to solve it.

Ok, the service enumerates and post events for 4 joysticks.

What do I do if the user decides to start a game or some other app that needs
the joysticks ? How should I proceed there ?

Help guys.
__________________
[H]4 Life
My next generation Front End is right on schedule.
It will be done sometime in the next generation.
I'm a lesbian too.
I am for hire!
frodobaggins is offline   Reply With Quote
Old 05-23-2005, 12:01 AM   #11
My Village Called
 
0l33l's Avatar
 
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 10,517
0l33l is on a distinguished road
Quote: Originally Posted by frodobaggins
Ok. I have found several bugs in my joystick service, however they are easy to fix.

But now I have another problem, and I need input on how to solve it.

Ok, the service enumerates and post events for 4 joysticks.

What do I do if the user decides to start a game or some other app that needs
the joysticks ? How should I proceed there ?

Help guys.

Check for directx or opengl.
0l33l is offline   Reply With Quote
Old 05-23-2005, 12:06 AM   #12
I'm sorry, and you are....?
 
frodobaggins's Avatar
 
Join Date: Jan 2003
Location: Ruston, LA
Posts: 8,846
frodobaggins will become famous soon enoughfrodobaggins will become famous soon enough
Quote: Originally Posted by 0l33l
Check for directx or opengl.

explain
__________________
[H]4 Life
My next generation Front End is right on schedule.
It will be done sometime in the next generation.
I'm a lesbian too.
I am for hire!
frodobaggins is offline   Reply With Quote
Old 05-23-2005, 12:09 AM   #13
My Village Called
 
0l33l's Avatar
 
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 10,517
0l33l is on a distinguished road
Quote: Originally Posted by frodobaggins
explain

Well, if someone launches a game, then they are probably going to be using either directx or opengl. If you check if those are running, then you can disable the service for a while.
0l33l is offline   Reply With Quote
Old 05-23-2005, 12:16 AM   #14
Super Moderator
 
xBrady's Avatar
 
Join Date: Apr 2004
Location: USA
Posts: 3,688
xBrady is a splendid one to beholdxBrady is a splendid one to beholdxBrady is a splendid one to beholdxBrady is a splendid one to beholdxBrady is a splendid one to beholdxBrady is a splendid one to beholdxBrady is a splendid one to behold
Quote: Originally Posted by 0l33l
Well, if someone launches a game, then they are probably going to be using either directx or opengl. If you check if those are running, then you can disable the service for a while.

But what if the user launches an app that uses opengl/directx but doesn't use the joystick?
__________________
AMD XP 2600+/512MB RAM/120GB hard drive
Opus 150W/DVD/GPS/7" Lilliput TS/802.11g/Bluetooth
Installed.


-GPSSecure- - GPS Tracking
-AltTabber2.2.2- - Handy touchscreen utility.
xBrady is offline   Reply With Quote
Old 05-23-2005, 12:19 AM   #15
My Village Called
 
0l33l's Avatar
 
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 10,517
0l33l is on a distinguished road
Quote: Originally Posted by xBrady
But what if the user launches an app that uses opengl/directx but doesn't use the joystick?

Ummm... I dunno.

My idea is to have the service spy on what apps are open, and if an app matches one of the list then then joysticks won't be intercepted.
0l33l is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Frodo Authored Services frodobaggins FP FCSH Services 5 05-18-2005 06:45 PM
reinstall frodo after using FM radio Erwin FrodoPlayer 12 04-06-2005 10:28 AM
Frodo Album Art? Hopperhawk FrodoPlayer 2 02-07-2005 12:40 AM
What else is up your bag of tricks frodo? nappyjim FrodoPlayer 0 10-26-2004 01:57 PM
Switch between Frodo player and GPS (IGuidance)? Nanozic FrodoPlayer 2 07-12-2004 02:58 AM



All times are GMT -5. The time now is 04:34 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics