Displaying 20 results from an estimated 100 matches similar to: "WineLib and Java Native Interface (JNI) - UNIX"
2008 Dec 15
0
wine: could not load and Bad EXE format for
Hi All,
I have tried to write dll from window and try to implement a WineLib wrapper.
BUT after compile successful, I have run the function, it show me error as below:
wine: could not load L"Z:\\root\\huutri\\maintest.exe.so": Bad EXE format for
Can anybody can how to solve this problem?
Thank in advance
The below is some code:
Code:
1. windows HelloImpl.dll
__declspec(dllexport)
2006 Jan 16
4
Question about self and private
Hi!
There''s something I don''t understand yet about static/private methods. I
hope someone can explain...
E.g.:
class SayHello
def hello(who)
puts "Hello, " + who + "!"
end
def self.say(words)
puts words
end
end
hello = SayHello.new
hello.hello "World" : Hello World!
hello.say "hi" : Error
SayHello.say
2006 Jun 27
0
Calling SOAP based Web Services over SSL
Ok, here we go.
1) I am trying to talk to a soap web service @ the url
https://rsvcstage.e2ma.net/emmaTestCalls
2) I can talk to the web service in plain ruby if I:
2.1) disable site ruby (by renaming the site_ruby directory to
something else)
2.2) use the WDSLDriverFactory instead of an actionwebservice
The working ruby code looks like this:
2006 Feb 20
4
how to set a simple application in Apache?
I am not familar with the RoR site stucture on Apache.
I did this but.it doen''t work.
I only want to output a word on a page with RoR.
I did this
1. >cd public_html (enter web root)
2. >rails sayhello
3. >cd sayhello
4. >cd app
5. >cd controller (enter controller folder)
6. edit application.rb
def hello
end
7. cd views (enter views folder )
8. add a
2011 Mar 24
2
Using C code in R
Hi,
I am new to R and I want to know how to use C code which contains two
functions one called inside another.I know that how to use C code in R if it
has only one function but dont know how to do it in above case. I want to
use the same in R .My C code is as follows.
//#include <R.h>
void sayHello();
void g();
void sayhello() {
Rprintf("Hello world %d\n",global);
}
void
2003 Oct 27
3
(PR#4806)
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_000_01C39C9F.B5DABBD0
Content-Type: text/plain;
charset="iso-8859-1"
# Your mailer is set to "none" (default on Windows),
# hence we cannot send the bug report directly from R.
# Please copy the bug report (after finishing
2008 Jun 06
0
[LLVMdev] translating Objective C to C
Hi,
I am thinking of integrating llvm's front end and intermediate
language with program analysis tools I am developing with my
colleagues (we look for memory errors and leaks, integrity of data
structures, etc. -- for details see http://spaceinvader-eastlondonmassive.blogspot.com/)
.
My initial baby experiment was simply translating C++ to C using llvm,
followed by analysis of the
2011 May 04
1
Error Rscript: No such file or directory
Hello,
I'm trying to build a simple cpp file using the R CMD SHLIB command and I always
receive the same error message:
cygwin warning:
MS-DOS style path detected: C:/PROGRA~1/R/R-212~1.1/etc/i386/Makeconf
Preferred POSIX equivalent is:
/cygdrive/c/PROGRA~1/R/R-212~1.1/etc/i386/Makeconf
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult
2011 Mar 22
0
JGR compile problem: JNI type error with a twist
Hi folks: Updated my system again and am stuck on a JGR compile
problem. What I've seen in discussion of the problem doesn't seem to
be helping.
As others have encountered, it can't compile rJava (for one), getting
this error:
checking JNI data types... configure: error: One or more JNI types
differ from the corresponding native type.
Also, consistently with what others report,
2006 Oct 31
0
6285992 JNI should make use of dm_inuse() when 6343802 is fixed
Author: talley
Repository: /hg/zfs-crypto/gate
Revision: ee193c0b713e5b433df62de6679214ea81efd17b
Log message:
6285992 JNI should make use of dm_inuse() when 6343802 is fixed
6399767 JNI: pools without root datasets are not modeled in JNI
Files:
update: usr/src/lib/libzfs_jni/common/libzfs_jni_dataset.c
update: usr/src/lib/libzfs_jni/common/libzfs_jni_dataset.h
update:
2011 Jan 13
3
Wine app, can use Linux Java (JNI)?
I have a windows application that use Java virtual machine through JNI for run this application i've installed also JRE on Wine.
The application works well but is there a way to use the Java virtual machine installed on Linux machine instead of JVM installed in wine ?
2010 Sep 26
0
[LLVMdev] Using LLVM from Java: using the incomplete binding or build a jni for llvm-c ?
I need to use LLVM from Java, which approach do you recommend?
--
View this message in context: http://old.nabble.com/Using-LLVM-from-Java%3A-using-the-incomplete-binding-or-build-a-jni-for-llvm-c---tp29811105p29811105.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
2001 Apr 05
1
JNI Wrappering OpenSSH ?
I am currently toying with various avenues for doing some secured file
transfers from a javaland process. Realistically on the server side
the thing I want is OpenSSH's sftp server. My question is, on the
client side, how to get java to talk ssh2 secsh file xfer.
Would a sane approach be to find the appropriate points of OpenSSH and
turn it into a java library by liberal application of JNI,
2007 Oct 02
0
Anyone tried to call speex from jni? Need help here!
Hello folks.
I am using speex through jni. I have no problem doing encoding and
decoding but I would like to use the preprocessor feature. The problem
is my JVM always crash when speex_preprocess_run() is invoked. I
cannot give conclusion that it is this function that caused the error
because I checked the error log and there is no trace to it. However,
if I commented out this line, everything
2009 Nov 09
0
Thanks, cloning support, JNI, and new project using Speex
Hi Speex devs!
This is firt a warm thanks for your efforts and for making Speex a reality.
Well done!
I developped a teleconference application, using Speex as the codec for the
audio layer. The project is http://www.encours.org.
In the course of this project I had the following use case:
- Participants connect to the conference. Each participant sends a Speex
encoded stream.
- A common
2005 Feb 06
7
SHGetFolderPath and stuff
Hi all,
I was taking another look at SHGetFolderPath() and
related stuff today based on suggestions from Shanko
and Zach. I think this would be fairly simple.
My main question is, where do we put these values?
Under File, Dir, or Shell? Or somewhere else? I vote
Dir, since all the special CSIDL seem to be
directories.
Thus you would have something like:
Dir::ADMINTOOLS
Dir::BITBUCKET
2005 Jul 20
0
which kind of Java SDK I download for jni.h
Hi,
it?s in jdk1.5.0_01 on folder "include".
Diego Mi?ano S?nchez
Plan Global de Tesorer?a - Tecnolog?a
Tlfno: +34(91)28 98188
dminano@servexternos.gruposantander.com
******************AVISO LEGAL**********************
Este mensaje es privado y confidencial y solamente para la persona a la que va dirigido. Si usted ha recibido este mensaje por error, no debe revelar,
2005 Aug 22
2
RFC: "loop connections"
I've just implemented a generalization of R's text connections, to
also support reading/writing raw binary data. There is very little
new code to speak of. For input connections, I wrote code to populate
the old text connection buffer from a raw vector, and provided a new
raw_read() method. For output connections, I wrote a raw_write() to
append to a raw vector. On input, the mode
2023 Jul 21
1
tools::parseLatex() crashes on "\\verb{}"
Surprisingly this invalid latex syntax is still formatted "right" in the
html output.
On a closer look it seems like roxygen2 introduces those, when using
markdown backtick quoting, if the quoted content is not syntactic. For
instance:
#' `c(c(1)`
#' `c(c(1))`
Will convert the first line to `\verb{c(c(1)}` and the second to
`\code{c(c(1))}`.
I've opened a ticket there FYI:
2012 Jun 23
0
[LLVMdev] Performance of JNI in VMKit
Hi Bruno,
On Wed, Jun 20, 2012 at 3:04 PM, Bruno Daniel <abml at mailoo.org> wrote:
> Dear developers,
>
> Are there any benchmarks for the performance of Java Native Interface (JNI)
> calls in VMKit? Since VMKit is based on LLVM which can also run C++ code
> (maybe in the same just-in-time compiler?) I guess calls from Java to C++
> and
> back could be much faster