Questions tagged as 'pinvoke'

1
answer

Why does not keybd_event work in some contexts?

I want to understand why keybd_event does not work in some contexts. For example, it does not work in games with League of Legends or games emulated in ePSXe. The following code: Keys key = Keys.Q; keybd_event((byte)key, 0x45, 0x0001 | 0,...
asked by 26.12.2013 / 20:32
1
answer

How to import user32.dll and others in C #?

I found several and several results on the internet teaching to import a specific function of user32.dll . But I can not get out of my head if someone has not done a project with all the% done% organized. So this project would matter...
asked by 18.09.2015 / 19:29