Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. {{tag>category:"presentation server" }} ====== Send_Message and Exec_Method ====== === Published 11 OCT 2012 at 07:13:06PM === == Updated on 24 APR 2013 at 07:13:06PM == OK, so we deprecated the **Send_Message** function for OI 10... ... but before you worry about your apps being broken don't despair because it still works as it ever has. It has actually been replaced by a new function named **Exec_Method** which exposes the same interface as **Send_Message**, with the added bonus that it can support more than four parameters, so it's basically a straight drop-in replacement when you need to use it. Why did we do this? Well, there's a couple of reasons really: * When talking about object-based systems the usual jargon includes references to properties, //methods// and events. However, with OI we've always used the term "messages" when referring to an object's methods because of the **Send_Message** function. We thought it was about time to use more standard terminology, like we do with the Basic+ OleExecMethod function for example. * **Send_Message** is very close to the name of the core Windows API **SendMessage** function and sometimes it's just too confusing (and annoying) trying to explain which one you actually mean when you're discussing how to manipulate an object. Actually **Send_Message** isn't the only casualty, we've deprecated another well-known function too, but we'll leave the details of that one for another post... [Edit: 24 Apr 13 - Call_Method renamed to Exec_Method] === Comments === == Original ID: revdevx.wordpress.com/?p=24 == third_party_content/revdevx/16356.8007638889.txt Last modified: 2024/01/29 20:23by 127.0.0.1