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

    Which WIN32API.so ?

    Scheduled Pinned Locked Moved Plugins
    17 Posts 6 Posters 2.7k Views 6 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.
    • dereiD Offline
      derei
      last edited by

      @thomthom said:

      hmm... I've never looked...

      The one I have (not sure where it's from) is:
      20 561 byte

      Have you experienced that something isn't working?

      This is the one I have too... but as I mentioned before, I have seen files having different sizes.
      No, I did not experienced such things, well, Ruby Toolbar acted funny, as, after clearing and closing the console, on reopen, I had the previous content in it... but I have no idea if win32api.so is the cause or not.
      The reason I created this post was only to find out if there is a recommended version of the file and why some plugins are delivered with different versions of that file.

      DESIGNER AND ARTIST [DEREI.UK](http://derei.uk/l)

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

        Good question.

        I looked in the Standard Ruby 1.8.6 installation - which is what SU8 is based on;
        12 288 byte

        I'd think one would preferable have a version that match the SU Ruby version.
        But then we have the issue of SU8 begin 1.8.6 and older versions are 1.8.0.

        But as long as there are no malfunctions around I suppose that pragmatically, it doesn't mean much.

        I wondered if Didier's reported problem with Jim's Ruby Toolbar plugin could be a version thing...? Not sure what version he uses.

        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

          My version of Win32api.so is 20547 bytes, and works with su 7.1, not with su8.
          I've found a very old one that was working with su5 and 6, that is only 7168 bytes, and it works with su8 !
          Attached below, just in case (must be tested with other plugins that requires it).

          @Thomthom: fr_rubytoolbar.rb is just a translation of the menus and tooltips, no changes made to the code itself.

          Regards,


          Win32api.zip

          DB

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

            @didier bur said:

            My version of Win32api.so is 20547 bytes, and works with su 7.1, not with su8.
            I've found a very old one that was working with su5 and 6, that is only 7168 bytes, and it works with su8 !
            Attached below, just in case (must be tested with other plugins that requires it).

            @Thomthom: fr_rubytoolbar.rb is just a translation of the menus and tooltips, no changes made to the code itself.

            Regards,

            Ah! This is interesting. Odd that Jim hadn't noticed this - I though he'd be using SU8.

            I'll check your version against my own scripts - I use Win32API in some of them.

            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

              @didier bur said:

              My version of Win32api.so is 20547 bytes, and works with su 7.1, not with su8.

              Can you post this version as well?

              I'd like to inspect something.

              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

                Here it is.


                Win32api_20547bytes.zip

                DB

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

                  This is the type of circumstance where an Skx project would be useful.

                  Hi

                  1 Reply Last reply Reply Quote 0
                  • Al HartA Offline
                    Al Hart
                    last edited by

                    I have one user who cannot seem to load the WIN32API.so which we distribute.

                    The 7.168 byte version.

                    The file is there, but when he tries to do "require" on it, he gets this message:

                    Error; #<LoadError; C;/Program Files (x86)/Google/Google SketchUp
                    8/Plugins/Win32API.so; 126; The specified module could not be found.   -
                    C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/Win32API.so
                    

                    I am going to have him try some of the other versions in this thread.

                    Has anyone else had problems using the 7,168 byte version?

                    Al Hart

                    http:wiki.renderplus.comimageseefRender_plus_colored30x30%29.PNG
                    IRender nXt from Render Plus

                    1 Reply Last reply Reply Quote 0
                    • djohnson.nzD Offline
                      djohnson.nz
                      last edited by

                      Hi I am the one Al is talking about here,
                      I have tried the 20kb file and my error message has now changed to below
                      "Error Loading File C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Render Plus/RpImageFilters.rb
                      wrong argument type Win32API (expected Class)Error Loading File RPImageFilters_loader.rb
                      wrong argument type Win32API (expected Class)Error Loading File RpTreeMaker_loader.rb
                      wrong argument type Win32API (expected Class)"
                      This appears when sketchup pro 8 first loads.
                      Any ideas anyone.
                      Cheers, David. 😄

                      nO fiKst ideas

                      1 Reply Last reply Reply Quote 0
                      • Al HartA Offline
                        Al Hart
                        last edited by

                        This other WIN32API.so which you loaded (the 20,547 version) uses a different format for its calls and/or doesn't support some of the calls which we make.

                        For the record, what version of Windows are you running?
                        [Edit - in looking at your signature, perhaps it is: xp sp3]

                        I'll read through this thread a bit more and see if we should switch to a different WIN32API.so

                        David, try downloading the WIN32API.so in Didier Bur post - below - from Wed Jan 05, 2011 8:36 am and see if it loads on your machine.

                        Al Hart

                        http:wiki.renderplus.comimageseefRender_plus_colored30x30%29.PNG
                        IRender nXt from Render Plus

                        1 Reply Last reply Reply Quote 0
                        • Al HartA Offline
                          Al Hart
                          last edited by

                          Here is the WIN32API.so from ruby 1.8.6, 12,288 bytes, try putting this in the SketchUp plugins folder and see if things load.

                          I just tried it in my SU 8 and it seemed to work. And I tried it with SU 7 and it seems to work.

                          David, If it works for you, I will start using it instead of the older version.

                          Win32API.zip

                          Al Hart

                          http:wiki.renderplus.comimageseefRender_plus_colored30x30%29.PNG
                          IRender nXt from Render Plus

                          1 Reply Last reply Reply Quote 0
                          • djohnson.nzD Offline
                            djohnson.nz
                            last edited by

                            Brilliant piece of detective work Mr Hart.
                            The last winapi.so file you made available works perfectly.
                            Thank you for all the time you have put into this issue.
                            Cheers, David. 😄 😄 😄

                            nO fiKst ideas

                            1 Reply Last reply Reply Quote 0
                            • djohnson.nzD Offline
                              djohnson.nz
                              last edited by

                              PS, will just check my profile is up to date, I am running windows 7 prof on an intel(R)Xeon(R) CPU x3450@2.67ghz 2.8ghz with 6gb of ram on a 64-bit operating system. Cheers.

                              nO fiKst ideas

                              1 Reply Last reply Reply Quote 0
                              • Al HartA Offline
                                Al Hart
                                last edited by

                                @djohnson.nz said:

                                Brilliant piece of detective work Mr Hart.
                                The last winapi.so file you made available works perfectly.
                                Thank you for all the time you have put into this issue.
                                Cheers, David. 😄 😄 😄

                                Thanks David.

                                We will start using that one for our Plugins.

                                Al

                                Al Hart

                                http:wiki.renderplus.comimageseefRender_plus_colored30x30%29.PNG
                                IRender nXt from Render Plus

                                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