touchcursor icon indicating copy to clipboard operation
touchcursor copied to clipboard

Whitelist does not work with 64-bit programs

Open manfred-exz opened this issue 4 years ago • 5 comments

Problem

There's a whitelist configurable in 'TouchCursor Configuration' - 'Programs' - 'Enable only with the following programs'. 64-bit program will not work in this whitelist. ( with the version from http://martin-stone.github.io/touchcursor/download.html)

For example, if I put microsoft Edge(msedge.exe) in this list, TouchCursor is not going to work in Edge.

Solution

After debugging, I found it's because EnumProcessModules (win32funcs.cpp:76) return error 299. Which means it does not work for 64 bit program. Compile in 64 bit can solve this problem.

Just want to put it here, in case anyone has the same problem.

manfred-exz avatar Oct 08 '20 07:10 manfred-exz

Thanks for investigating.

martin-stone avatar Oct 08 '20 08:10 martin-stone

I'd love to get it working -- this program is essential for me! Any guidance on compiling in 64-bit?

bubbavox avatar Jan 31 '21 09:01 bubbavox

I'd love to get it working -- this program is essential for me! Any guidance on compiling in 64-bit?

Here's the binary. https://github.com/martin-stone/touchcursor/files/5644111/TouchCursor.zip

If you want to compile it yourself, you can check https://github.com/martin-stone/touchcursor/issues/14

manfred-exz avatar Jan 31 '21 09:01 manfred-exz

Holy cow, quick response. Thanks :) edit- whitelist/blacklist working!

bubbavox avatar Jan 31 '21 09:01 bubbavox

Thanks again, @manfred-exz. Great to see open source working as intended 😄 .

(At some point I'll get set up to compile and update the official downloads -- I haven't even got the tools installed at the moment.)

martin-stone avatar Jan 31 '21 21:01 martin-stone