API Hook?

Just starting out? Need help? Post your questions and find answers here.
Chiyo
New User
New User
Posts: 4
Joined: Sat Jul 17, 2004 2:50 am

API Hook?

Post by Chiyo »

Hi,

How to realize about hooking a specified function in PB?
for Example, hook a MCI call to my own Media playing function.

Instead of playing CD Audio Tracks, I want to replace it with
playing OGG, is it a complex job?

Thanks.
PolyVector
Enthusiast
Enthusiast
Posts: 499
Joined: Wed Sep 17, 2003 9:17 pm
Location: Southern California
Contact:

Post by PolyVector »

My company (Skunksoft) has a library in-the-works that can do just that... It will intercept any function in the same address space as your program and rout it to your own version of the function... It can also do things like inject a DLL into a running process. With these two techniques applied together, it is possible to write a program that hooks all calls to a function made by all programs on the host computer...

Right now this project is low on our priority list...
If there is enough interest from people on this forum, we will consider finishing it up and releasing it in the comming weeks...
newbie
Enthusiast
Enthusiast
Posts: 296
Joined: Tue Jul 29, 2003 5:47 pm
Location: FRANCE
Contact:

Post by newbie »

Of course it would be great :)
- Registered PB user -

Using PB 4.00
PolyVector
Enthusiast
Enthusiast
Posts: 499
Joined: Wed Sep 17, 2003 9:17 pm
Location: Southern California
Contact:

Post by PolyVector »

It seems there's not a lot of interest?...
It will still get released sooner or later :)
newbie
Enthusiast
Enthusiast
Posts: 296
Joined: Tue Jul 29, 2003 5:47 pm
Location: FRANCE
Contact:

Post by newbie »

it's sad... :cry:

you can still release the source code anyway ;)
- Registered PB user -

Using PB 4.00
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

well i would love to play with it :)
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

..

Post by NoahPhense »

thefool wrote:well i would love to play with it :)
thats what she said...

- np
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

hehe :D
Post Reply