We are trying to compile and run the ttest.c example that comes with R (in C:\Program Files\R\rw1081\src\library\windlgs\src\ttest.c). After compiling it with MS Visual C++ we load the DLL with dyn.load.
So far it seems good, but when we try to call it from R (after running C:\Program Files\R\rw1081\src\library\windlgs\R\windlgs.R) R crashes. We have tried changing the exports from DLL but have failed so far. Since I have a guy helping me who is fluent in MS Visual C++ I believe we are missing something crucial. Have anyone compiled and used the example above using MS Visual C++? Has anyone done this using the gcc (or Mingw) compiler on MS Windows? I would be very glad to find a complete example for compiling under MS Windows. - Lennart ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html