In your SendMessage example (bad name for a function) the parameters are stored in the Data variable as a string (Ok PChar :rolleyes:).
You use your knowledge of delphi to parse that data variable and do whatever.
Last edited by Biggles; 22/10/04 11:59 PM.