FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour MciSendStr()
Posts: 990
Joined: Thu Nov 17, 2005 05:49 PM
MciSendStr()
Posted: Sat Jul 21, 2007 12:10 AM
Hi.

I'm trying to implement voice recording and playback. Using something like this:

::cCmnd := "Record RecWavFile"

if ( nResult := MciSendStr( ::cCmnd, @::cResult ) ) > 0
	MsgStop( "MCI Error " + ::cResult, cValToChar( nResult ) )
Endif


I get error 263 on nResult every single time for all MCI commands.

Can someone help?

Is there some fw + xharbour implementation or class available for voice recording and playback?

Thank you,


Reinaldo.
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
MciSendStr()
Posted: Sat Aug 11, 2007 09:59 AM
Reinaldo,

Try it this way:
local cResult := ::cResult
...
if ( nResult := MciSendStr( ::cCmnd, @cResult ) ) > 0 
   ::cResult = cResult
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion