GetCurrentThreadId

T

Tibor Meinczinger

Hi,

how can I find out the id of the current thread in the
compact framework? Is there a managed solution, or should
I call the GetCurrentThreadId function? If yes,
in which CE-dll can I find the GetCurrentThreadId function?
Thanks,
zeppi
 
T

Tibor Meinczinger

Alex,

I have tried the sample. It worked fine on the desktop.
On the device it works as well, however the id is
negative, which may not be a problem. I try to use the
id in SetWindowsHookEx, which fails with a
NotSupportedException, and I have know other idea, why.
Thanks,

Tibor
 
A

Alex Feinman [MVP]

Callbacks code is still waiting to be intergrated into the OpenNETCF
namespace because I haven't had a chance to add the code for ARM on Windows
CE.NET 4.2 - it requires writing a new assembly language stub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top