Displaying 1 result from an estimated 1 matches for "give7".
Did you mean:
given
2003 Jul 07
1
Problems with a dll under windows
I am trying to get a dll compiled for use with dyn.load. I use R.1.7.1
under Windows.
I have tried the following trivial example based on the "Writing R
extensions" manual.
rtest.h
--------
class X {
public:
X ();
~X ();
void Give7(double*);
};
class Y {
public: Y (); ~Y ();
};
rtest.cpp
---------
#include <iostream.h>
#include "rtest.h"
static Y y;
extern "C" {
void X_main () {
X x;
}
}
X::X() { std::cout << "construct X" << std::endl; }
X::~X() {...