Open hi5 opened 4 years ago
Hi.
Im not quite sure what you are trying to achieve.
My scilexer is a bit out of date. Maybe thats the reason is not working anymore with my wrapper. I have been working on my business and that has taken all my time recently. I plan on working on AHK again soon so I might be able to update everything again.
If you need I can give you permissions to the project so you can make the updates that you need.
Shoot me up whatever you need.
On Thu, Jan 2, 2020 at 5:31 PM hi5 notifications@github.com wrote:
For one reason or another I can't properly clone and update this repo to GitHub so I use this method. In the ZIP file 32 and 64 DLL versions of the scilexer DLL which I copied from AutoGUI https://www.autohotkey.com/boards/viewtopic.php?f=64&t=10157
Everything works apart from the "Highlight Test.ahk" example but that is most likely because AutoGUI uses a different method[1] compared to the method you used here.
scr-32-64.zip https://github.com/RaptorX/scintilla-wrapper/files/4017397/scr-32-64.zip
If this is updated we can link to this from the AutoHotkey document / help which currently only links to HiEdit which only works for AutoHotkey 32bit Ansi.
Or should the https://github.com/ahkscript/scintilla-wrapper be updated instead of this repo?
[1] https://www.autohotkey.com/boards/viewtopic.php?p=189917#p189917
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/RaptorX/scintilla-wrapper/issues/5?email_source=notifications&email_token=AACQIOLAIVI7RVVKM7AI3RTQ3ZMKFA5CNFSM4KCG4NS2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IDYJ23Q, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACQIOLN7DGET5RHVMWE5LTQ3ZMKFANCNFSM4KCG4NSQ .
--
ΓΝΩΘΙ Σ'ΑΥΤΟΝvindicta bonum vita iucundius ipsa ++++++++++++++++++++++++++++++
The current wrapper in this repo only works with 32 bit - for 64 bit you need a different DLL.
As AutoGUI has both versions I simply replaced
"\SciLexer.dll")
with "\SciLexer" A_PtrSize*8 ".dll")
in sci.ahk
to load the correct DLL, now it works in all current versions of AHK.
As more and more users are on 64bit (I assume) it is "tedious" to have to run a script using the 32bit version.
As I wanted to use it with 64 bit I prepared this, but apart from the above I know nothing about DLLs :)
I was reminded of this wrapper as I was reading about the HiEdit control in the documentation, but that only works with 32bit Ansi so then I looked at sci.ahk but noticed it didn't work for 64bit so I put this together quickly.
Have a look at it if you have some more time in the future (no rush, I have working code) and good luck with setting up your business.
Oh yes that is correct.
When i started this project i only worked on 32bits because my knowledge of dllcalls was very basic.
I always wanted to add 64bit support but didn't know how to go about it.
I will take a look at the code and merge it as soon as possible.
On Fri, Jan 3, 2020, 16:03 hi5 notifications@github.com wrote:
The current wrapper in this repo only works with 32 bit - for 64 bit you need a different DLL. As AutoGUI has both versions I simply replaced "\SciLexer.dll") with "\SciLexer" A_PtrSize*8 ".dll") in sci.ahk to load the correct DLL, now it works in all current versions of AHK.
As more and more users are on 64bit (I assume) it is "tedious" to have to run a script using the 32bit version.
As I wanted to use it with 64 bit I prepared this, but apart from the above I know nothing about DLLs :)
I was reminded of this wrapper as I was reading about the HiEdit https://www.autohotkey.com/boards/viewtopic.php?f=86&t=71269 control in the documentation, but that only works with 32bit Ansi so then I looked at sci.ahk but noticed it didn't work for 64bit so I put this together quickly.
Have a look at it if you have some more time in the future (no rush, I have working code) and good luck with setting up your business.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/RaptorX/scintilla-wrapper/issues/5?email_source=notifications&email_token=AACQIOOPUDPV4R6ER27BGB3Q36KZVA5CNFSM4KCG4NS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIB63TA#issuecomment-570682828, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACQIOMTG5FSBWJH2A3BQZTQ36KZVANCNFSM4KCG4NSQ .
For one reason or another I can't properly clone and update this repo to GitHub so I use this method. In the ZIP file 32 and 64 DLL versions of the scilexer DLL which I copied from AutoGUI
Everything works apart from the "Highlight Test.ahk" example but that is most likely because AutoGUI uses a different method[1] compared to the method you used here.
scr-32-64.zip
If this is updated we can link to this from the AutoHotkey document / help which currently only links to HiEdit which only works for AutoHotkey 32bit Ansi.
Or should the https://github.com/ahkscript/scintilla-wrapper be updated instead of this repo?
[1] https://www.autohotkey.com/boards/viewtopic.php?p=189917#p189917