Skip to content
Prev 377510 / 398502 Next

Use of C functions inside the DLL object

Hello,

You must pass a string with a number of characters large enough to 
accomodate the return value you want. This is one of the shortcomings of 
the .C interface.

The string ?2.0.19? ahs 6 characters, so try

.C("FDwfGetVersion", version = character(6) )


Hope this helps,

Rui Barradas

?s 20:57 de 19/11/2018, Cleber N.Borges via R-help escreveu: