|
-
Apr 9th, 2000, 03:16 PM
#1
Thread Starter
transcendental analytic
How do I get the filename of the song that is played in winamp? The example at nullsofts homepage returns a pointer but it seems like you can't get it with Stringfrompointer or ReadProcessMemory, GetWindowThreadProcessId and OpenProcess. Anyone have idéas?
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Apr 9th, 2000, 06:35 PM
#2
Hyperactive Member
Can't you use copy memory?
-
Apr 10th, 2000, 01:51 AM
#3
Thread Starter
transcendental analytic
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Apr 10th, 2000, 07:55 AM
#4
Fanatic Member
Yeah me too,
How?
I wanna know how to use the CopyMemory command, as when i use bitblt routine in conjunction with a timer....
i loose the focus and get whevers focued at that position on the screen and guess i need to use CopyMemory instead, but lack the knowledge
DocZaf
{;->
-
Aug 20th, 2000, 07:39 PM
#5
New Member
Actually I don't believe copymemory will work.
It's been my experience that CopyMemory only works like ReadProcessMemory only it works within the same process that it's called from... So unless you're making WinAmp read it's own string ::shrug::
-
Aug 20th, 2000, 07:48 PM
#6
Frenzied Member
when you get the module handle with OpenProcess are you sure you're setting the right access rights, I've completley forgotten the name of the constant you need, but you may be using the wrong one.
-
Aug 20th, 2000, 08:11 PM
#7
Got this from http://www.planet-source-code.com and I can't see if it works because I don't have VB 6.0 and it errors in VB 5.0. But the author says it can get the current playing song. Here is the link: Every winamp function you could ever want (v.1.2). Hope it works.
-
Aug 21st, 2000, 02:08 AM
#8
Thread Starter
transcendental analytic
HEhee, now look what happens if you don't lock your thread, this is 4 months old! My app got ready 2 months ago
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|