HotKeyIt / ahkdll-v1-release

AutoHotkey_H v1 release
http://hotkeyit.github.io/v2/
GNU General Public License v2.0
65 stars 13 forks source link

1.1.30.1 - \MT-compiled exe Not running on Win 10 #10

Closed TaurusPrime closed 5 years ago

TaurusPrime commented 5 years ago

Hi,

I tried the following:

1) Visual Studio Compile https://github.com/HotKeyIt/ahkdll with \MT (i need it for an installer)

2) Copy the compiled exe to \Compiler\

3) Compile ahk-Code: "MsgBox test" without compression & with the new exe

It's not working. But if the exe is used next to the script with same name, it's working. So the compiler seem to not work with \MT-compiled exes

Any solution?

HotKeyIt commented 5 years ago

Did you change lib_pcre to MT as well? Do you use the exe or SC.bin?

TaurusPrime commented 5 years ago

I replaced "AutoHotkey.vcxproj" and "source\lib_pcre\lib_pcre.vcxproj": "MultiThreadedDLL" to "MultiThreaded"

The exe is running without problems. But if i compile it with the ahk Compiler, it's not working anymore.

I am using the final exe from Visual Studio.

HotKeyIt commented 5 years ago

I have now included MT version, compiled as well as configuration files for source ;)

TaurusPrime commented 5 years ago

Perfect! Now it's working. Thank you so much!!!