cfp
About
- Username
- cfp
- Joined
- Roles
- Member
Comments
-
OK I hacked in a work-around, by adding: Shell ("c:\Program Files (x86)\Mozilla Firefox\" & a$) to the end of the function. I presume this is how it used to work before.
-
(If it wasn't clear this is x64 Word 2010, hence the need for LongPtr's (though on 32-bit systems LongPtr is 32 bit.) I presume the Zotero client is not expecting to get sent a 64 bit pointer and that's what's causing it not to do anything.
-
OK I moved to the Trunk XPI and edited the start of the code to read (changes in bold): Type COPYDATASTRUCT dwData As Long cbData As Long lpData As LongPtr End Type Private Const WM_COPYDATA = &H4A Private Declare PtrSafe Function …