Jump to content

AutoIt Scite cSnippet error problem


 Share

Recommended Posts

I am having a problem with cSnippet in Scite.

I get:

Error

_GUIImageList_AddIcon: -1

I tried a reinstall without success.

I have found that:

WARNING: $SM_CXSMICON: possibly used before declaration.

WARNING: $SM_CXMENUCHECK: possibly used before declaration.

in Menus.au3

I have tried some searches and found reference to this problem from a few users but no solution or follow up was posted.

Can I get some help?

THANX in advance

TWC

Link to comment
Share on other sites

Here is the culprit

CSnippet.au3

$menuItemClipBoard = _GUICtrlCreateMenuItem('Copy To ClipBoard', $menuFile, @SystemDir & "\clipbrd.exe", 0)

$menuItemClipGet = _GUICtrlCreateMenuItem('Copy From ClipBoard', $menuFile, @SystemDir & "\clipbrd.exe", 1)

clipbrd.exe was missing on both of the systems I tried this on. I copied clipbrd.exe onto the system and all works as it should.

I am not certain of the status of clipbrd.exe but it does not appear to be included in Windows 7 BETA.

A possible fix could be to sub icons from shell32 but I do not know of any that would match the actions.

Hope this helps...

TWC

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...