Hi there

The delphi equivalent does not work, it says
'Operator not applicable to this operand type'
Could there be another one equivalent to the C/C++ version??.
Do you have another possible answer I can try/

PutMidiOut outputs Midi events
The lpMidiBuffer is a dword

Thanks

Ben

>From: "Guy Brown" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
>Subject: RE: [DUG]:  Processing Messages (Application.ProcessMessages)
>Date: Sun, 24 Sep 2000 16:44:48 +1200
>
>My C++ is a little bit rusty but the Delphi equivalent would be:
>
>while (eventCount < nbufferedEvents) and (PutMidiOut(hMidiOut, 
>(lpMidiBuffer
>+ eventCount)) = 0) do begin
>   Inc(eventCount);
>end;
>
>What type is the lpMidiBuffer variable?
>What does the PutMidiOut function do?
>
>Guy Brown
>TimeMaster Systems
>
>
>Ben Iti wrote:
> >Also does anyone know what this means??
> >I dont code in C/C++ so I have to convert to Delphi.
> >
> >while ((eventCount < nbufferEvents) && (PutMidiOut(hMidiOut,
> >      (lpMidiBuffer + eventCount)) == 0))
> >      eventCount++;
>
>
>---------------------------------------------------------------------------
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
>To UnSub, send email to: [EMAIL PROTECTED]
>with body of "unsubscribe delphi"

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to