Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: ph_winampctrl issue? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
ficklma1
Groupie
Groupie


Joined: December 08 2007
Location: United States
Online Status: Offline
Posts: 59
Posted: July 22 2008 at 20:12 | IP Logged Quote ficklma1

Hi PH'ers,

Need some help. I have a program(XLOBBY) that starts an instance of Winamp and I want to be able to reference that same instance of Winamp and use ph_winampctrl to control it. PH doesn't recognize that an instance is already running. I get a return code of 2. Has anyone been able to do this? Just to let you know I've tried the reverse, i.e. have PH start an instance and then have XLOBBY reference the PH started instance, but XLOBBY will only use the instance it creates.

Thanks
Back to Top View ficklma1's Profile Search for other posts by ficklma1
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: July 22 2008 at 20:49 | IP Logged Quote TonyNo

Do you have the correct path to Winamp in the pwrhome.ini file in the Winamp section?

I can launch Winamp manually and then control it from PH without issue.
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: July 23 2008 at 14:00 | IP Logged Quote dhoward

ficklma1,

Have XLOBBY open it's instance of Winamp. With it running, go to Maintenance|Window Spy in PowerHome and open the Window Spy screen. Move your mouse over the title bar of the XLOBBY version of Winamp. Make a note of the "Class". Copy this class to the "Class" parameter under the [Winamp] section of the pwrhome.ini file and see if that makes a difference.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
ficklma1
Groupie
Groupie


Joined: December 08 2007
Location: United States
Online Status: Offline
Posts: 59
Posted: July 23 2008 at 21:19 | IP Logged Quote ficklma1

As usual, Dave and Tony came through.    Thanks to you both!
Back to Top View ficklma1's Profile Search for other posts by ficklma1
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum