ivellioscolin / sublime-plugin-glassit

ST plugin to set window to transparent on Windows platform.
Other
18 stars 4 forks source link

64 bit version? #2

Closed Twizzledrizzle closed 10 years ago

Twizzledrizzle commented 10 years ago

Hello,

I get an error message on 64 bit windows 7, that it cannot run because of 'incompability with 64-bit versions av Windows'

ivellioscolin commented 10 years ago

I'll take a look at this asap. Probably caused by static link of user32.lib in the .exe.

ivellioscolin commented 10 years ago

I tried the exe on Clean installed Win7 64 bit and Win8 64bit, both can run w/o problem. Where do you put the exe?

ivellioscolin commented 10 years ago

And I took another thought, even it's linked 32bit user32.lib, it still can run on 64 bit windows. Win64 WoW can support 32bit application running..

Twizzledrizzle commented 10 years ago

I put SetTransparency.exe in C:\Sublime Text 3\SetTransparency.exe, right next to sublime_text.exe image

Twizzledrizzle commented 10 years ago

Could the \??\ cause the problem, where does that come from?

ivellioscolin commented 10 years ago
  1. If you directly execute "SetTransparency.exe" by double click it, will it also report such error?
  2. Open you ST, press "ctrl+`" to open the console, and input: import sys print("%s" %(sys.path))

Then paste the output.

Twizzledrizzle commented 10 years ago

when I run as administrator I get image

Else it looks like (after verifying I trust the publisher) image

This is from Sublime

['C:\Sublime text 3\Data\Packages\Anaconda\anaconda_lib\autopep\autopep8_lib./', 'C:\Sublime text 3\Data\Packages\Anaconda\anaconda_lib\autopep../linting', 'C:\Sublime text 3\Data\Installed Packages\sublime-github.sublime-package\lib', 'C:\Sublime text 3\Data\Installed Packages\sublime-github.sublime-package', 'C:\Sublime text 3\Data\Installed Packages\sublime-github.sublime-package', 'C:\Sublime text 3\Data\Installed Packages\sublime-github.sublime-package', 'C:\Sublime text 3\Data\Installed Packages\sublime-github.sublime-package\lib', 'C:\Sublime text 3\Data\Installed Packages\sublime-github.sublime-package', 'C:\Sublime text 3\Data\Installed Packages\sublime-github.sublime-package', 'C:\Sublime text 3', 'C:\Sublime text 3/python3.3.zip', 'C:\Sublime text 3\Data\Packages']

ivellioscolin commented 10 years ago

OK...I guess I know the reason.... When you browse the binary in github, do not right click the file and select "Save as...". This won't give you the correct .exe file, it's an HTML file with the name "SetTransparency.exe". Instead, you need to click the link so that github brings you to another page. There, you may click the "Raw" button or "View Raw" link, so that it gives you the correct file...

The file size should be 133,632 bytes. MD5 hash is "74a6ca15b92786a66de85dd013d0f7d8".

Twizzledrizzle commented 10 years ago

Well, now I feel like an idiot... It works flawlessly now, if you have a paypal account I would gladly donate some for your work on this, it is really nice

ivellioscolin commented 10 years ago

lol. It always happens on us sometime. :) I made this plugin just for fun, it's totally free. Enjoy it!