08-29-2006, 05:47 PM
Declaration and calling example
I think (almost sure) you can use this function only if the control is created in QM context, not in other program, even if you would try to use shared memory.
Declaration can be placed in any place that would be executed before calling. For example, can be in same function, or in caller, or in a function that was executed previously.
dll "ter14.dll" #TerSearchReplace hWnd $SearchText $ReplaceText flags StartPos *EndPos *BufSize
int i ep bs
i=TerSearchReplace(hwnd "find" "replace" 0 0 &ep &bs)I think (almost sure) you can use this function only if the control is created in QM context, not in other program, even if you would try to use shared memory.
Declaration can be placed in any place that would be executed before calling. For example, can be in same function, or in caller, or in a function that was executed previously.
