Displaying 3 results from an estimated 3 matches for "testdll".
Did you mean:
test_ll
2003 Oct 27
3
(PR#4806)
...ctions written in Visual C++ from R version 1.8.0
under Windows.
Although these functions ran correctly in version 1.7 in Version 1.8.0 they
cause R to crash after the function has returned to R
I can repeat the problem with a DLL based on a simple example given by
Douglas Bates.
dyn.load("TestDll.dll")
test<-function(x,y) .Call("out",x,y)
x<-1:10
y<-2:10
test(x,y)
The C++ code is below
#include <windows.h>
#include <R.h>
#include <Rinternals.h>
HWND hWndMain;
HINSTANCE hInst;
HGLOBAL hXloperArray;
//32 bit Entry point
#define CL...
2007 Aug 22
0
[ wxruby-Support Requests-13276 ] can not load wxruby2.so on win98
...te_ruby/1.8/rubygems/custom_require.rb:32:in `require''
from wxTest_.rb:1
>Exit code: 1
I try to load wxruby2.so via dl:
fname = ''c:\Programme\ruby\lib\ruby\gems\1.8\gems\wxruby-1.9.0-i386-mswin32\lib\wxruby2.so''
p File.exists?(fname)
require ''dl''
p TestDLL = DL.dlopen(fname)
RESULT:
>ruby test.rb
true
test.rb:5:in `initialize'': unknown error (RuntimeError)
from test.rb:5:in `dlopen''
from test.rb:5
>Exit code: 1
(the dl itself is ok, I tried it with other dlls)
Any idea? is there any dependency on some library like a spec...
2015 Oct 29
4
Trying to get Search::Xapian perl module to compile on win32
The disclaimer automatically added and is not intended to limit legitimate discourse, and any code I write for this is expected to be licensed under whatever license the original work is using.
I haven't tried compiling latest code under visual studio yet (is this possible?). I wonder if there is a way to tell gcc to not mangle the names during cross compile. I was able to successfully