FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Wave Function CALLBACK HandleEvent
Posts: 31
Joined: Wed Mar 19, 2008 08:52 AM
Wave Function CALLBACK HandleEvent
Posted: Mon Aug 18, 2008 11:01 AM

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.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Wave Function CALLBACK HandleEvent
Posted: Mon Aug 18, 2008 11:41 AM

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
Posts: 31
Joined: Wed Mar 19, 2008 08:52 AM
Wave Function CALLBACK HandleEvent
Posted: Mon Aug 18, 2008 02:59 PM

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.

Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Wave Function CALLBACK HandleEvent
Posted: Tue Aug 19, 2008 03:41 AM
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
FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour

Continue the discussion