Search found 59 matches

by DGDanforth
Tue Jul 04, 2017 5:39 am
Forum: Brainstorming
Topic: MS SendInput
Replies: 21
Views: 51062

Re: MS SendInput

Also I found this on the web Answer Re: SendInput Parameter error Pin mvp Luc Pattyn 13-May-09 3:34 Go to ParentHi, AFAIK there is a problem in your MOUSEINPUT struct: the extraInfo field is a pointer (IntPtr), not an int, and it takes 8B instead of 4B on X64. BTW: there are a lot of such errors on ...
by DGDanforth
Tue Jul 04, 2017 5:34 am
Forum: Brainstorming
Topic: MS SendInput
Replies: 21
Views: 51062

Re: MS SendInput

Perhaps this has something to do with c unions, of which I am not familiar.
I have assumed that the different record types simply share the same memory space.
The input.type = 1 then knows the space is a keyboard record and hence its length
should be 16. If that logic is wrong then what must I do?
by DGDanforth
Tue Jul 04, 2017 4:46 am
Forum: Brainstorming
Topic: MS SendInput
Replies: 21
Views: 51062

Re: MS SendInput

Small step. I previously did not have my dump procedure when I tested the two forms of SendInput (with and without [ccall]). I have tried those two forms again with dump and I see that with [ccall] I get garbage whereas without [ccall] the returned parameters of KEYBDINPUT are clean. Hence no [ccall...
by DGDanforth
Tue Jul 04, 2017 3:31 am
Forum: Brainstorming
Topic: MS SendInput
Replies: 21
Views: 51062

Re: MS SendInput

Josef, This is probably more than you really want but for completeness ... I've tried with and without [ccall] and get the same error. Which should it be? MODULE MyUser32 ["USER32.dll"]; IMPORT S:=SYSTEM; PROCEDURE [ccall] SendInput* ["USER32.dll", ""] (nInputs, pInputs...
by DGDanforth
Mon Jul 03, 2017 10:25 am
Forum: Brainstorming
Topic: MS SendInput
Replies: 21
Views: 51062

MS SendInput

WinApi does not export the Windows function "SendInput" present in USER32.dll so I created a module that accesses that. When I make a call to it I get the message (from show last error) of "The parameter is incorrect." Well there are 3 parameters being passed. IF MyUser32.SendInp...
by DGDanforth
Sun Feb 26, 2017 6:44 am
Forum: GUI problems
Topic: 10 seconds to deselect
Replies: 11
Views: 24727

Re: 10 seconds to deselect

When user processes (tasks) do not end (close) automatically (AutoEndTasks) at sign out, restart, or shutdown, the system waits until the process ends on it's own. If the process hasn't ended by the set HungAppTimeout value, the End Task dialog box appears, stating that the processes are not respon...
by DGDanforth
Sun Feb 26, 2017 6:30 am
Forum: GUI problems
Topic: 10 seconds to deselect
Replies: 11
Views: 24727

Re: 10 seconds to deselect

Sub Styler Windows 7 Ultimate x64 727 posts UK There are several keys that are responsible for the handling of unresponsive apps: HKEY_CURRENT_USER\Control Panel\Desktop\HungAppTimeOut HKEY_CURRENT_USER\Control Panel\Desktop\WaitToKillAppTimeOut HKEY_CURRENT_USER\Control Panel\Desktop\WaitToKillSer...
by DGDanforth
Mon Feb 20, 2017 5:51 am
Forum: GUI problems
Topic: 10 seconds to deselect
Replies: 11
Views: 24727

Re: 10 seconds to deselect

Thank you Helmut.
by DGDanforth
Fri Feb 17, 2017 10:13 am
Forum: GUI problems
Topic: 10 seconds to deselect
Replies: 11
Views: 24727

Re: 10 seconds to deselect

I can reproduce this behavior if the remote debugger is running, both under Win 10 and Vista. Did you do any experiments with RemDebug? - Josef Josef, I don't know anything about a "remote debugger" or "RemDebug". What is that? I don't find any reference to those in the document...
by DGDanforth
Wed Feb 15, 2017 6:52 am
Forum: Common questions
Topic: Run-time debugger in Blackbox Component Builder
Replies: 29
Views: 35126

Re: Run-time debugger in Blackbox Component Builder

I simply change the definition of Ctrl-K to be
"Compile And Unload" "K" "DevCompiler.CompileAndUnload" "TextCmds.FocusGuard"