Loading user32.dll by a plugin?

Questions and answers on developing, deploying and using plugins and JavaBeans

Loading user32.dll by a plugin?

Postby philzeh » Mon Mar 10, 2014 2:42 am

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?
philzeh
 
Posts: 7
Joined: Mon Nov 25, 2013 6:02 am

Re: Loading user32.dll by a plugin?

Postby david.pearce » Mon Mar 10, 2014 8:49 am

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
david.pearce
 
Posts: 36
Joined: Thu Jan 31, 2013 11:21 am

Re: Loading user32.dll by a plugin?

Postby philzeh » Tue Mar 11, 2014 1:40 am

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
philzeh
 
Posts: 7
Joined: Mon Nov 25, 2013 6:02 am


Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 15 guests

cron