Thanks a lot for the modification,but with your code the file created is
empty.I don’t know how resolve my problem with ruby_run.
I think that I execute ruby file and call the file .exe from visual C.
But if I use the ruby code is better.
There is another way to execute ruby, without ruby_run?
Thanks a lot for the modification,but with your code the file created is
empty.I don't know how resolve my problem with ruby_run.
I think that I execute ruby file and call the file .exe from visual C.
But if I use the ruby code is better.
Well, it work with me
pigeon% ls -l remoteAnnotations.rdf
ls: remoteAnnotations.rdf: No such file or directory
pigeon%
pigeon% ./a.out
pigeon%
pigeon% ls -l remoteAnnotations.rdf
-rw-r--r-- 1 ts ts 2317 Dec 2 13:34 remoteAnnotations.rdf
pigeon%
Try to close $defout in #annoget if you want to access it from your C
program.