Wave Function CALLBACK HandleEvent

oknbs
Posts: 31
Joined: Wed Mar 19, 2008 8:52 am

Post by oknbs »

Thank you for your answer Antonio.

I already checked every C function and they are normally run.
The problem is the process of HandleEvent( nMsg, nWParam, nLParam ).
The CALLBACK_WINDOW which is processed in waveInOpen function don't give the value of WIM_OPEN, WIM_DATA to defined HandleEvent.

oknbs.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Oknbs,

I think that you should change this line:

if HB_WaveInOpen( @hWaveIn, oWnd:hWnd ) >= 0

into

if HB_WaveInOpen( @hWaveIn, ::hWnd ) >= 0
regards, saludos

Antonio Linares
www.fivetechsoft.com
oknbs
Posts: 31
Joined: Wed Mar 19, 2008 8:52 am

Post by oknbs »

Thank you for your answer Antonio.

The process you mentioned worked and I managed to make the problem go away.

Thank you very much.

oknbs.
hua
Posts: 861
Joined: Fri Oct 28, 2005 2:27 am

Post by hua »

Otto wrote: Could you please explain how to use an external dbwin utility and which one.
Otto,
I use this free utility by SysInternals (now bought over by Microsoft) to capture output of OutputDebugString() - http://technet.microsoft.com/en-us/sysi ... 96647.aspx
Post Reply