Sign in to follow this  
Followers 0
GrungeRocker

Help with _mem() functions...

6 posts in this topic

Hi!

I want to read out, the played song in WinAmp using the _mem() functions, but it isn't working....

Can any1 help me?

Func GetSong(); Adresse: 0012ADF5
        If ProcessExists("WinAmp.exe") Then
                $pid = ProcessExists("WinAmp.exe")
;~           msgbox(0, "", $pid)
                $open = _MemOpen($pid)
                $song = _MemRead($open, 0x0012ADF5)
                msgbox(0, "Song", $song)
                _MemClose($pid)
        EndIf
EndFunc

[font="Verdana"]In work:[list=1][*]InstallIt[*]New version of SpaceWar[/list] [/font]

Share this post


Link to post
Share on other sites



Any errors?

Are you sure thats the right address?


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

No erreors...

I got the Address out of a mirc-script!


[font="Verdana"]In work:[list=1][*]InstallIt[*]New version of SpaceWar[/list] [/font]

Share this post


Link to post
Share on other sites

No erreors...

I got the Address out of a mirc-script!

Is it a static address? or dynamic?

# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

Is it a static address? or dynamic?

Well i think it should be static....

the script is working all the time so... :lmao:


[font="Verdana"]In work:[list=1][*]InstallIt[*]New version of SpaceWar[/list] [/font]

Share this post


Link to post
Share on other sites

Are you using w0uters mem udf? If you are, why not post this question in his thread in scripts n scraps, youll get better help than here :lmao:


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0