03-22-2017 03:27 PM
From time to time I see that some methods in TS has "Ex" suffix in the name. For example "PostUIMessageEx" or "EvaluateEx". What does that "Ex" mean?
Solved! Go to Solution.
03-22-2017 09:18 PM
My understanding is that it stands for extended. They created the Ex functions so as not to break backwards compatibility with previous versions. So basically they added functionality or changed the prototype but they wanted existing code to port over without breaking the code. In all cases you should use the Ex functions. The non-Ex functions are obsolete.
Hope this helps,
03-23-2017 03:15 AM
Appending "Ex" to method names if the call itself is changed (data type, number of parameters, etc.) is common for ActiveX. As Jigg says correctly, it is done to not break backward compatibility.
You can find this approach also in the ActiveX interface from many Microsoft products like Office tools.