Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
π¨ Skimp | 25% Off until March 30 Buy Now
DLL callback to ruby
-
You will need to do some studying:
- Read and bookmark this post:
[Info] C/C++ Ruby extensions & SketchUp plugins
- You will need to download the Ruby C source, as your DLL code must:
%(#404080)[include "ruby.h"]- Read the old "Pick-Axe" book's chapter on writing a Ruby extension.
Programming Ruby: Extending Ruby
- Take note of the Ruby C-side functions:
rb_eval_string( *string_to_eval* )*rb_funcall
... described in section "Evaluating Ruby Expressions in C"
okay, a dedicated C side Ruby book is also now available:
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement