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"