Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pausing a Function/Macro
#9
Exception (RT) in HereShouldBeMacroName: ...

This error is possible in macros or functions where are incorrectly used variables of composite types. These types are str, ARRAY, VARIANT, BSTR, interface pointers, and user-defined types containing these types. When the macro or function exits, QM frees memory associated with variables of composite types. If a variables contains invalid pointer, may occur exception (in best case) or data corruption.

Example:

str s
s.lpstr=11111111
;or
s.lpstr="a"

When leaving function, QM tries to free s.lpstr. It contains invalid pointer, and therefore exception may occur.

Try to restart QM.[/quote]


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)