B4J Library SD_NativeAccess (jna) - Star-Dust    Aug 22, 2024   (20 reactions) This library allows access to the jna to use some functions for managing windows and applications.
You need to get these JARs and include them in the additional libraries folder: jna-5.0.0 and jna-platform-5.0.0
With this library you can obtain the Handle of the applications that run on your Windo B4J Question [SOLVED] Error Running Stand Alone App IllegalAccessException com.sun.proxy.jdk.proxy2.$Proxy3 - Magma (first post)    Jun 10, 2022 If you check - the location - of files... and not fix that...
...Something else came in mind... jna is a way to connect with .net framework and kernel...
* What Windows version do you have ?
* Also what .NET Framework version (may be need an update) ?
but from the other hand your code run in debu B4J Question Communicating with Windows System - kimstudio (first post)    Jan 08, 2023   (1 reaction) I know JNA can do this by calling functions in user32.dll. Search JNA in forum there are some examples I think. B4J Question disable screen capture - Erel (first post)    Jul 20, 2021   (1 reaction) JNA is the best way to call native Windows methods. Unfortunately this method isn't available in JNA. B4J Question How to get the TaskBar Height and position? - teddybear (first post)    Sep 14, 2024   (1 reaction) You can do that using jna, the code is below
Sub Button1_Click
Dim jo As JavaObject=Me
jo.RunMethod("taskbar",Null)
End Sub
#if java
import com.sun.jna.platform.win32.User32;
import com.sun.jna.platform.win32.WinDef.RECT;
import com.sun.jna.platform.win32.WinDef.HWND;
public static void B4J Question [SOLVED] Turn Off Display - programmatically / from C++ to Java, more specific javaobject - Erel (first post)    Mar 09, 2021   (6 reactions) #AdditionalJar: jna-5.0.0
#AdditionalJar: jna-platform-5.0.0
Sub Process_Globals
Private fx As JFX
Private MainForm As Form
Private xui As XUI
Private Button1 As B4XView
End Sub
Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
MainForm.RootPane.LoadLayout(" B4J Code Snippet Native Linker (Java 19+ Only) - Daestrum    Mar 01, 2023   (8 reactions) I have been trying out the replacement for JNA in Java 19.
The code needed to call a library function is far cleaner now, and requires less coding.
The following in-line java calls strlen from stdlib and prints the length of the string. (Not exciting code but shows how little you need to write now) Share My Creation jAsio audio. Simple mixer (Windows only) - stevel05 (first post)    Dec 27, 2023 Sorry Max, I tidied my google drive and accidently deleted the audio files. I have put them back and changed the links in the first post of this thread.
Let me know if they are now available.
As for your other suggestions, I have not looked at them, and don't have time right now. But, they will B4J Library [B4J] MacroPlay Library - Magma    Jan 20, 2023   (7 reactions) Hi there to all... Before some weeks created a MACRO-Recorder for Licensed Members... https://www.b4x.-magma-macro-recorder-0.145139/#post-919986 138312 This Library comes to "cover" the developer side to use macros at his app. Need to add the following at your project: #AdditionalJar: jna- B4J Question All windows Titles - stevel05 (first post)    Oct 28, 2018   (6 reactions) You can get them using JNA. Jar downloads are here https://github.com/java-native-access/jna, you need both the JNA and the JNA Platform jars. Scroll down to the downloads section Javadoc is here: http://java-native-access.github.io/jna/5.0.0/javadoc/ Copy both of the jars to your additional libr Page: 1   2   3   4   5   6   7   Powered by ColBERT |