similar to: JRuby version of win32-api - initial try

Displaying 20 results from an estimated 900 matches similar to: "JRuby version of win32-api - initial try"

2008 Jan 24
0
JRuby, JNA, Windows
Hi all, Here''s a short example of how to interface with JRuby and the Windows API I thought I''d share: require ''java'' # LoadLibrary() Kernel32 = com.sun.jna.NativeLibrary.getInstance("kernel32") # GetProcAddress() GetCurrentDirectoryA = Kernel32.getFunction(''GetCurrentDirectoryA'') # You can also do -> buf =
2008 Jan 23
6
JRuby and callbacks?
Hi all, Any Java/JRuby folks on the list? I''d like to see if we can implement api.c for JRuby using JNA and see how it handles the callbacks. I''m not a Java guy, nor do I know JNA, but I''ll take a stab at it if no one else on the list does. Here are a couple of useful links: http://www.infoq.com/news/2007/09/jna-jruby https://jna.dev.java.net/ Regards, Dan This
2001 Feb 15
0
FrameMaker 6.0 problem - further information
I originally posted that I have been unable to run FrameMaker 6.0 under wine. Frame complains that it can't find printer fonts (whatever that means) and it prompts to see if I want to edit the registry. As requested by a couple of responders, I ran wine with font debugging on. Attached is the last 200 line of the log before the call to MessageBox(). Any ideas would be appreciated. Since
2010 Sep 09
1
Remote access form windows - Java bindings
Hi I am developing tool to collect information on XenServer which is on Opensuse 11. I am using libvirt-0.4.6.jar and and jna-3.2.4 jar files. I tried to connect from Remote system(Windows) to server, but could not get the connection object. Any configuration needs to be done for remote access ? conn = new Connect("xen+tcp://192.168.10.22/"); it shows the exception Exception in
2011 Mar 14
1
Beware! Newbie is in town
Hello everyone, I'm working on Ubuntu 10.10, installed libvirt and created a project in Netbeans, I included jna.jar and libvirt-0.4.7.jar. And guess what, I get the exception below when I'm trying to run test.java which connects to test:///default. Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'virt': libvirt.so: cannot open shared
2012 Aug 21
0
Using Libvirt Java Bindings on Windows 7 64bit
Hi All, Has anybody had any managed to use the libvirt java bindings on Windows 7 64bit (or similar configuration)? I am using Java 6. When I try to use the Test.class delivered with the bindings it always fails with the following error: C:\Users\fwilson\Desktop\libvirt-java-0.4.7>java "-Djna.library.path=C:/Program Files (x86)/Libvirt/lib/" -classpath .;target/classes;jars/* Test
2011 Dec 23
0
Libvirt java from Windows
I am writing a java based client that would be executed from windows that will use libvirt. 1. Got libvirt-java ( http://libvirt.org/sources/java/libvirt-java-0.4.7.tar.gz) and build a jar out it (ant with no params) 2. Then, according to http://libvirt.org/windows.html, built a dll using the "MSYS build script" 3. Got 2 files libvirt-0.dll and libqemu-0.dll When I
2001 Feb 20
1
I need some help for using wine
hello, wich rpm must i download if i have glibc-2.1.92 ? (redhat 7.0) Yves ----- Original Message ----- From: <wine-users-request@winehq.com> To: <wine-users@winehq.com> Sent: Thursday, February 15, 2001 11:25 PM Subject: wine-users digest, Vol 1 #330 - 9 msgs > Send wine-users mailing list submissions to > wine-users@winehq.com > > To subscribe or unsubscribe via the
2013 Apr 29
1
Java client error on Windows 7 64 bit for Libvirt on KVM
Hi, I need some help in building a Java client on Windows 7 64 bit plaftorm to manage a KVM using the libvirt APIs. Using the instructions at http://libvirt.org/java.html, i was able to build libvirt.jar. My understanding is that libvirt.jar uses JNA to call libvirt's native windows library. I tried using the libvirt dlls in the experimental Windows installation package mentioned in
2008 Dec 18
5
EverQuest - worked once, but no more
I had a previous install on another computer with the following, and EQ worked perfectly there, with the following configuration: Laptop: HP dv6355 Graphics: NVIDIA GeForce Go 6150 (UMA) Processor: AMD Turion 64 X2 (1.8 GHz) Memory: 2 GB OS: Ubuntu 8.04 Wine: 1.1.4 Unfortunately, the computer was formatted and given to someone else, so I can no longer compare the configurations or run any tests
2015 Oct 01
1
doveadm + ldap userdb
Hi! OS: CentOS Linux release 7.1.1503 (Core) Dovecot: 2.2.18 Run user listing - doveadm user '*', single user - work. auth[20540]: segfault at 8 ip 00007fd554340c6b sp 00007ffc17c886e0 error 4 in libauthdb_ldap.so[7fd55433b000+a000] dovecot: auth: Fatal: master: service(auth): child 20540 killed with signal 11 (core dumped) dovecot: auth: Error: net_connect_unix(auth-worker) failed:
2017 Nov 22
0
libFLAC JNA Issue
Hello, I hope this is the right place for this kind of question. As developper, i'm actually writing java interface to use libFLAC with JNA, to reproduce "flac -t" function, needed to validate/unvalidate flac files before sending them in our preservation system. . Everything is working fine between java and libFLAC.so. Callback are called, C API is smart with void* client_data
2013 Oct 15
4
[Bug 70511] New: nouveau_bo_name_get segmentation fault while running root tutorials/gl/glbox.C
https://bugs.freedesktop.org/show_bug.cgi?id=70511 Priority: medium Bug ID: 70511 Assignee: nouveau at lists.freedesktop.org Summary: nouveau_bo_name_get segmentation fault while running root tutorials/gl/glbox.C QA Contact: xorg-team at lists.x.org Severity: normal Classification: Unclassified
2010 Jul 21
0
One problem with RMySQL and a query that returns an empty recordset
My last query related to this referred to a problem with not being able to store data. A suggestion was made to try to convert the data returned by fitdist into a data.frame before using rbind. That failed, but provided the key to solving the problem (which was to create a data.frame using the variables fitdist produces in the object it returns). I now have almost everything working as
2004 Oct 04
0
passing linux devices to a program in wine
Hi, i'm trying to find out if i could use my webcam in Netmeeting. I can receive video, but am not able to send because wine can't handle this yet. So I'm doing a little "research": When I run Netmeeting in normal windows with depndency walker i see this: LoadLibraryExA("C:\Program Files\31Netmeeting\dcap32.dll", 0x00000000, LOAD_WITH_ALTERED_SEARCH_PATH)
2007 Nov 14
0
7 commits - libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_super.c libswfdec/swfdec_as_super.h
libswfdec/swfdec_as_frame.c | 3 - libswfdec/swfdec_as_function.c | 66 ++++++++++++++++-------- libswfdec/swfdec_as_internal.h | 16 ++++- libswfdec/swfdec_as_interpret.c | 60 +++++++++++----------- libswfdec/swfdec_as_object.c | 10 ++- libswfdec/swfdec_as_super.c | 109 +++++++++++++++++++++------------------- libswfdec/swfdec_as_super.h | 10 ++- 7 files
2020 Aug 19
0
Re: [PATCH nbdkit 1/9] server: Add libnbdkit.so.
I believe after a lot of reading around this topic that it should be possible to call from the plugin DLLs into functions in the EXE. One technique is outlined here: https://stackoverflow.com/a/18147774 The idea above is to use DLLTOOL to generate an "import library" (a static linked library containing stubs which are used to resolve at runtime a list of symbols). Import libraries
2010 Sep 22
3
Passing a function as a parameter...
R-helpers: If I want to pass a character name of a function TO a function, and then have that function executed, how would I do this? I want an arbitrary version of the following, where any function can be used (e.g. I don't want the if-then statement here): apply_some_function <- function(data,function_name) { if(function_name=="mean") { return(mean(data)) }
2007 Nov 13
1
win32-api idea - wide method first based on $KCODE
All, Currently, the Win32::API.new method will search for the function name, then the ''A'' (ANSI) name, and finally the ''W'' (Wide) name. The code looks something like this: fProc = GetProcAddress(hLibrary, TEXT(RSTRING(v_proc)->ptr)); if(!fProc){ VALUE v_ascii = rb_str_new3(v_proc); v_ascii = rb_str_cat(v_ascii, "A", 1); fProc =
2016 Jun 09
0
Java Application on 64bit Windows
Hi, I am trying to develop a Java application with libvirt 0.5.1. I am trying this on Windows7 64bit. I downladed libvirt-0.5.1.jar and jna.jar files and added them to the Buildpath. Then I installed VirtViewer for windows 64 bit and copied dll files. In my application if i only use System.setProperty("jna.library.path", PATH_TO_DLL); then i see "UnsatisfiedLinkError: Unable to