--- In [email protected], "brucexs" <[EMAIL PROTECTED]> wrote:
> I think you'd get an error message of some sort unless PowerPro was
> trying to call your plugin somehow.
I'd think so too. So I deduce the registSig doDot paramter somehow
isn't taking.
> I know you are using a debugger, but what happens if you turn off the
> debugger and just put a MessageBox call as first statement in your dll
> routine.
YOu mean the doDpt routine? I'll try.
> BTW, as a wild guess, you don't happen to have two dodots, in different
> cases.
Don't think so. I'll check again.
Meanwhile:
static st_hPipe = pipe.create()
win.debug(st_hPipe);; shows reasonable value
;returns "ok" as it should
local sRes = pipe.listen_on(st_hPipe, "powerpro", 0, ;;
"", "", cbx("@usingFuncArg", "#"))
[EMAIL PROTECTED](?#st_hPipe.listen_on() returns: # ++ sRes)
file.runwait(0, env("COMSPEC"), ?"/c echo Hello > \\.\pipe\powerpro",
"", "hide")
;data appears through pipe
pipe.listen_off(st_hPipe)
vs.
static st_hPipe = pipe.create() ;; the default pipe
;returns nothing, as if routine never ran
local sRes = st_hPipe.listen_on("powerpro", 0, "", "", ;;
cbx("@usingFuncArg", "#"))
[EMAIL PROTECTED](?#st_hPipe.listen_on() returns: # ++ sRes) ;; returns nada
...
st_hPipe.listen_off
In other words, handle passed as explicit first parameter
works fine; dot syntax not. Again, seems to be as if registSig not
working.
Got to be something stupid in my coding; registerSig works fine in
numerous other plugins.