Duplicate class definition when launching Ahk2exe.ahk
-
- Posts: 8
- Joined: 14 Dec 2018, 04:32
Duplicate class definition when launching Ahk2exe.ahk
Hello everybody,
I have a problem when opening Ahk2Exe in order to compile my scripts into binaries : I got an error message.
First of all, you must know I just stopped with AHK_H.
Here is what I did :
1) I downloaded AHK_H v1 (I'm only interested in v1) from this link : https://github.com/HotKeyIt/ahkdll-v1-release/archive/master.zip
2) I extracted the zip on my hard drive
3) I go to the x64w folder and I copied everything in the Compiler folder which gives the following result : https://ibb.co/cNggYd3
4) I do the action symbolized with the orange arrow : https://ibb.co/hWTY25Q
5) Then, I get the following result : https://ibb.co/hWTY25Q [Mod edit: Links fixed again.]
Please, could you tell me what did they do wrong and what can I do to solve the problem ?
Think you by events.
Sincerely.
I have a problem when opening Ahk2Exe in order to compile my scripts into binaries : I got an error message.
First of all, you must know I just stopped with AHK_H.
Here is what I did :
1) I downloaded AHK_H v1 (I'm only interested in v1) from this link : https://github.com/HotKeyIt/ahkdll-v1-release/archive/master.zip
2) I extracted the zip on my hard drive
3) I go to the x64w folder and I copied everything in the Compiler folder which gives the following result : https://ibb.co/cNggYd3
4) I do the action symbolized with the orange arrow : https://ibb.co/hWTY25Q
5) Then, I get the following result : https://ibb.co/hWTY25Q [Mod edit: Links fixed again.]
Please, could you tell me what did they do wrong and what can I do to solve the problem ?
Think you by events.
Sincerely.
Last edited by ground77600 on 18 Jul 2020, 11:38, edited 1 time in total.
-
- Posts: 8
- Joined: 14 Dec 2018, 04:32
Re: Duplicate class definition when launching Ahk2exe.ahk
Sorry for links : it doesn't want to be displayed correctly
-
- Posts: 8
- Joined: 14 Dec 2018, 04:32
Re: Duplicate class definition when launching Ahk2exe.ahk
Arf again broken links i modified the first one
-
- Posts: 8
- Joined: 14 Dec 2018, 04:32
Re: Duplicate class definition when launching Ahk2exe.ahk
Hi,
I just solved the problem by going into Directives.ahk and put a ; before #Include <VersionRes> :
Before :
After :
Now i'll try to build my own version of AHK_H with my own password.
Sincerely
I just solved the problem by going into Directives.ahk and put a ; before #Include <VersionRes> :
Before :
Code: Select all
#Include <VersionRes>
Code: Select all
;#Include <VersionRes>
Sincerely
Re: Duplicate class definition when launching Ahk2exe.ahk
There is a bug in source code, I will fix when I merge latest v1.
Re: Duplicate class definition when launching Ahk2exe.ahk
Just tried to reproduce and it seems to work fine for me, can you check with latest release?
Try extracting to separate folder, probably there is a conflict with one of your own includes?
Try extracting to separate folder, probably there is a conflict with one of your own includes?
-
- Posts: 188
- Joined: 08 Jul 2019, 05:37
- Contact:
Re: Duplicate class definition when launching Ahk2exe.ahk
hey i was also fiddling with same compiler today, took a long time to make it work.
its now working except cant really change the application version info , it always set to 1.33.2 something like that!
Re: Duplicate class definition when launching Ahk2exe.ahk
Compiler has been updated, all should work now.