Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using a third party DLL
#2
Declaration and calling example

Code:
Copy      Help
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.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)