SketchUpAPI.dll - 32 and 64 bit
-
We have a 32 bit and a 64 bit version of our .exe which uses SketchUpAPI.dll.
SketchUp provides both a 32 bit and a 64 bit version of SketchUpAPI.dll, but they have the same name.
We would like to put both of our .EXEs (32 bit and 64 bit) in the same folder, but have them load different versions of SketchUpAPI.dll.
We tried renaming the 64 but dll, but that didn't work
Any ideas on how we could have both .exes (and all the support files) in the same folder?
-
http://www.sketchup.com/intl/en/developer/docs/ourdoc/sketchup#is_64bit?
@unknownuser said:
if Sketchup.respond_to?(:is_64bit?) && Sketchup.is_64bit?
Load 64bit binaries.
else
Load 32bit binaries.
end
-
We are creating two .exe's
SketchUpReader32.exe and SketchUpReader64.exe, and placing them in the same folder.
The .exe's automatically load SketchUpAPI.dll from the same folder, but we can't put both the 32 bit and the 64 bit versions of the DLL in the same folder, because they have the same name.
-
Why not separate the 'bitness' at the download-installer level, i.e. offer 32/64 bit installers ?
Then what the client downlands is what they expect ?If you want to remain 'clever'... then check the bitness when the exe runs [installer-level check] and have two separate installer exe's running from those...

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