|
|
#1 |
|
Junior Member
Join Date: Mar 2002
Location: The Netherlands
Posts: 19
|
Getting Filename or Title of current playing song
What must I do get the filename or Title of the song current playing.
I got this but it doesnt work. code: Is this the good line or must it totally diffrent? |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Feb 2002
Location: The backside of the universe on the trailing edge of eternity
Posts: 238
|
*sighs* search this thread, it's in here 5 times
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Mar 2002
Location: The Netherlands
Posts: 19
|
I Find only 3 threads.
1 is for C++.I dont realy understand that language. And 2 others I dont understand one thing about it. |
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Feb 2002
Location: The backside of the universe on the trailing edge of eternity
Posts: 238
|
you dont understand it because it's not as simple as a simple send message command. What it returns as you know is a Long value, 8 digit number, what that is is a pointer in memory, it's the memory location of where the title is stored. C++ uses a simple thing to allow you to directly read the string given the pointer, VB is not so easy. You must make string, find the pointer to the string, then use either CopyMemory, or lstrcpy to copy the data from the pointer winamp gave you, to the pointer of your own string, then when you use the string in VB, the data should be there.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|