Which WIN32API.so ?
-
@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