sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Difference between win32api.rb and win32api.so?

    Scheduled Pinned Locked Moved Developers' Forum
    12 Posts 5 Posters 938 Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • thomthomT Offline
      thomthom
      last edited by

      When I made some API calls I just wrote: require 'Win32API'
      I had not downloaded any extra packages.

      ...maybe some other plugin has it...

      Thomas Thomassen — SketchUp Monkey & Coding addict
      List of my plugins and link to the CookieWare fund

      1 Reply Last reply Reply Quote 0
      • W Offline
        Whaat
        last edited by

        @thomthom said:

        When I made some API calls I just wrote: require 'Win32API'
        I had not downloaded any extra packages.

        ...maybe some other plugin has it...

        Check your plugins folder. I think another plugin likely has it.

        SketchUp Plugins for Professionals

        1 Reply Last reply Reply Quote 0
        • thomthomT Offline
          thomthom
          last edited by

          There was a Win32API.so in my plugins folder. Not sure where it came from.

          Is that part of an Ruby installation?
          Since I use this for the UnicodeEx I need to find the source of this and ensure that UnicodeEx distribution include it.

          Thomas Thomassen — SketchUp Monkey & Coding addict
          List of my plugins and link to the CookieWare fund

          1 Reply Last reply Reply Quote 0
          • thomthomT Offline
            thomthom
            last edited by

            isn't .so files compiled C++?

            Thomas Thomassen — SketchUp Monkey & Coding addict
            List of my plugins and link to the CookieWare fund

            1 Reply Last reply Reply Quote 0
            • J Offline
              Jim
              last edited by

              Without looking, the .so would be a compiled library and the .rb is the 'friendly' interface.

              Hi

              1 Reply Last reply Reply Quote 0
              • W Offline
                Whaat
                last edited by

                @jim said:

                Without looking, the .so would be a compiled library and the .rb is the 'friendly' interface.

                So which should be used if a plugin wants to access the Win32API? Maybe it doesn't matter.

                SketchUp Plugins for Professionals

                1 Reply Last reply Reply Quote 0
                • thomthomT Offline
                  thomthom
                  last edited by

                  I only have the .so on my system + that seem to work.

                  I'd imagine that the compiled version would be faster. ...?

                  Thomas Thomassen — SketchUp Monkey & Coding addict
                  List of my plugins and link to the CookieWare fund

                  1 Reply Last reply Reply Quote 0
                  • Didier BurD Offline
                    Didier Bur
                    last edited by

                    Hi Whaat,
                    Would you please post a link where I can download win32api.rb
                    Thanks,

                    DB

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      pecan
                      last edited by

                      Win32API is included in the full download of Ruby. Here is a list from my Ruby install folder Ruby 1.8.6

                      http://forums.sketchucation.com/download/file.php?mode=view&id=31058&sid=34c6106451bc20499d4769a22f4515b8

                      Googling, I found no usable result for Win32API.rb except for JRuby.


                      win32api.png.zip

                      1 Reply Last reply Reply Quote 0
                      • W Offline
                        Whaat
                        last edited by

                        @didier bur said:

                        Hi Whaat,
                        Would you please post a link where I can download win32api.rb
                        Thanks,

                        yeah...i got it when i downloaded full ruby. Strangely enough, it did not include win32api.so. I think that the .so version is now obsolete (still works though)

                        SketchUp Plugins for Professionals

                        1 Reply Last reply Reply Quote 0
                        • thomthomT Offline
                          thomthom
                          last edited by

                          what version did you download?

                          Thomas Thomassen — SketchUp Monkey & Coding addict
                          List of my plugins and link to the CookieWare fund

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post
                          Buy SketchPlus
                          Buy SUbD
                          Buy WrapR
                          Buy eBook
                          Buy Modelur
                          Buy Vertex Tools
                          Buy SketchCuisine
                          Buy FormFonts

                          Advertisement