Jump to content

adamgal

Active Members
  • Posts

    24
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

adamgal's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Hi, I am having a problem with dllopen actually, that it isn't opening a certain DLL even if I supply the complete path to it, nothing helps. can anyone tell me what reasons there could be for dllopen to fail except for it's not finding the dll?
  2. I made a script that finds out what input locale the user is currently using in a given window with the help of dllmem, if anybody is interested I can upload the code. also it's basically based on finding a thread ID for a process so if anyone is interested in how to do that just tell me. I think it's useful in a lot of situations when you want to detect events in other processes using dllcall.
  3. I timed the program and it turns out the slowdown is in _DllMemElementOffset() so what I thought is you could have _DllMemGet() work with an array of premade offsets instead of the struct string. that's actually what I did in my script to speed things up but I just thought it would be a good idea to change your package since it's really unfeasable to have a read taking 3ms.
  4. first of all I have to say it's a really great addition and I found it very useful, the only problem I have is that the _DllMemGet() function is really slow (takes like 3ms) which is a big problem since it's basically a function that reads out of a variable and I have to call it all the time. so if you can fix it that would be great or if you have another solution I'd love to hear it. thanks anyway for a great program
  5. Is there a way to block a certain key from a certain window?
  6. Does anyone know a way to detect the language the user is typing in? I tried dllcall with getcurrentkeyboardlayout but that only returns the default keyboard layout. anyone have any other ideas?
  7. yeah, youre right, but how do I get the thread ID of a different process to give to GetKeyboardLayout ?
  8. for instance GetKeyboardLayoutList
  9. oh, well, you know any way to get the current input language, not the default one?cause the default language is a static thing and what I need is to know in what language the user is currently typing. thanks anyway
  10. alot of functions described in msdn need a buffer to hold the returned values (like functions that return a list), is there any way to use dllcall and get that information for use in the script (usually you are supposed to supply the function with a pointer to a buffer or something) thanks
  11. that doesn't make any difference, I tried it without opening too
  12. I am trying to use dllcall to get the current keyboard layout, but for some reason it always returns english (0409) this is the code: $user32dll = DllOpen("user32.dll") $x = DllCall($user32dll,"long","GetKeyboardLayout","int",0) MsgBox(0,"",hex($x[0],4)) DllClose($user32dll) what I thought was maybe this, the parameter I am supposed to give is a thread identifier or 0 for the current thread, anyone have any thoughts about this? Link to MSDN - GetKeyboardLayout
  13. please, anyone know?
  14. I was wondering if there is a way to delete items in a listview32 or move items up and down and such. thanks
  15. Hi, I belive it was Jon who posted a script once to detect individual keys with dllcall, and it had an array $key but it doesnt include the f-keys values so if you could tell me where to find them I'd be greatful
×
×
  • Create New...