Which WIN32API.so ?
-
The one in Jim ruby Toolbar script is:
7 168 byte...rather big difference...
Couldn't find any version info in the properties though...
-
@thomthom said:
hmm... I've never looked...
The one I have (not sure where it's from) is:
20 561 byteHave 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. -
Good question.
I looked in the Standard Ruby 1.8.6 installation - which is what SU8 is based on;
12 288 byteI'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.
-
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,
-
@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.
-
@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.
-
-
This is the type of circumstance where an Skx project would be useful.
-
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?
-
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. -
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.
-
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.
-
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. -
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.
-
@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
Advertisement