Loading user32.dll by a plugin?

Hi, I am trying to call a function located in user32.dll in Servoy.
I have tried using http://www.servoyguy.com/servoy_compone … com_plugin and the like but have had no luck in doing so.
What other methods are ideal for loading external dll files in order to use their functions?

Hi,

We have had this fun recently!

Stopped working on random windows machines.

OS X will only open if preview is running!(another issue but hit at the same time.)

For documents there is a java direct opening and printing functions, but they work only in java 7 I think.

We have got some code to work around the issues. I will try to dig it out (or Juan will post it, when he sees my reply to you :)

David

Hi, I am trying

application.execute(rundll32,[user32,GetActiveWindow,]);

in order to get the window handle, but the result is empty. How do you get this function working?
I would like to get the handle, then use this handle into WindowSetPos to make a window always on top