User Tools

Site Tools


delegates

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
delegates [2018/07/11 09:33] wolfgangriedmanndelegates [2018/07/11 09:35] – [Why Delegates] wolfgangriedmann
Line 9: Line 9:
 The only real use of function pointers in the VO language is the interface to Windows API functions or other DLL calls.  The only real use of function pointers in the VO language is the interface to Windows API functions or other DLL calls. 
  
-Since every pointer use can lead to serious problems when wrongly used, the .NET languages define another concept: the delegates.+Since every pointer use can lead to serious problems when wrongly used, the .NET languages define another concept: the delegates. And therefore you should also use delegates when you need to dynamically call functions.
  
 ==== What is a Delegate ==== ==== What is a Delegate ====
delegates.txt · Last modified: 2018/07/11 09:36 by wolfgangriedmann