PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

voice recorder control problems (evc and ppc sdk)

:?: I am having problems with the voice recorder control on the iPAQ pocket pc. I can bring up the control from my program and use the buttons on the control, but I cannot send messages to and receive messages from the control. The following is my code to tell the control to begin playback:
Code:

SendMessage(hwndvoice, VRM_PLAY, (WPARAM)0, (LPARAM)"\\TestRec.wav");

//and this is my WndProc code:

switch (message)
{
case WM_NOTIFY:
pnmh = (LPNMHDR) lParam;
switch (pnmh->code)
{
case VRN_ERROR:
do something
case VRN_RECORD_START:
do something
case VRN_PLAY:
do something...

Can anyone help me?

P.S. I found a voice recorder control from a site called CEGadgets.com but the "sdk" contained no instructions on how to use it. Has anyone used it or even heard of it?
Is your goal to simply play a wave file? If so, you can use sndPlaySound.

Dan East
My goal is to record files also.