论坛


2011年10月31日 星期一

捕捉 midi 消息的基本程序

万一| 万一的 Delphi 博客 |16:40:00

uses MMSystem;var hMidiIn: Integer;procedure midiCallBack(hdrvr: HDRVR; uMsg: UINT; dwUser: DWORD; dw1, dw2: DWORD) stdcall;begin case uMsg of MIM_OPEN: ; MIM_CLOSE: ; MIM_DATA: Form1.Memo1.Lines.Add(IntToStr(dw1) + #9 + IntToStr(LoWord(...

捕捉 midi 输入消息的基本程序

万一| 万一的 Delphi 博客 |16:40:00

uses MMSystem;var hMidiIn: Integer;procedure midiCallBack(hdrvr: HDRVR; uMsg: UINT; dwUser: DWORD; dw1, dw2: DWORD) stdcall;begin case uMsg of MIM_OPEN: ; MIM_CLOSE: ; MIM_DATA: Form1.Memo1.Lines.Add(IntToStr(dw1) + #9 + IntToStr(LoWord(...

Help Update 1 for Delphi, C++Builder and RAD Studio XE2

Embarcadero| CodeCentral Delphi Submissions |14:40:34

<p>Help Update 1 for Delphi XE2, C++Builder XE2 and RAD Studio XE2<br>Available only to registered users of Delphi XE2, C++Builder XE2, RAD Studio XE2, and Embarcadero All-Access XE </p><p>For more information, see <a hr...

No Access Violation For Me - Return a Property Value From a Nil Delphi Object

About.com| About.com Delphi Programming |02:00:12

inOOP in Delphi::When a Delphi object type variable is nil, accessing any of the object properties would blow an access violation exception to the user. Sometimes you ...Read Full Post