PDA

View Full Version : Help with cprog


BrokenBird
1st November 2007, 05:26 AM
Hi, I have started to write a parental control phone application for wm6 which would let my kids answer only selected numbers and dial only a few numbers, however I am having a few issues where I need help:

1- I am trapping the Notification Event for incomming call (RegistryNotifyCallback) and put my window topmost (to hide the Phone Incoming Window) but I don't know how to prevent the use of the Green and Red hardware buttons (I need to disable them so the phone can't be answered if the number is not approved)

2- For outgoing calls, I need my app to be started with the Green phone button instead of cprog, but again, how do I trap those buttons.

Thank you

b0ris747
1st November 2007, 12:03 PM
You just need to create a dialParser dll (signed) that will block outgoing calls that are not allowed, and maybe some TAPI wrapper to block incoming calls.

Replacing cprog is just a wrong solution.

How to make a dialParser? look at Google! it's an undocumented API (MS doesn't want you to know how to do it if you don't pay the partnership...) but leaks are everywhere!