Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Q) Function pointers and usage
#7
QM language is intended to create automation-related functions that are not built into QM. I think a macro program does not need to support such things as member function address. Function addresses usually are used with Windows API functions, but you cannot use address of member function with Windows API functions, in any language. In C++ you could use address of static member function. QM does not support static member functions, but you can hide functions by placing them into private folders or prepending two underscores to the name. You can also give some unique name, eg ClassName_FunctionName.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)