Is there a static way to build vcruntime140.dll in AutoHotkeySC.bin?
Changed to Visual Studio 2017 from /MD to /MT However, the build is good, but compiling it does not work.
Is there any static way to include it?
vcruntime140.dll static ? Topic is solved
Re: vcruntime140.dll static ? Topic is solved
Does it run after build? Then compiling should not be an issue, instead AutoHotkeySC.bin you can use the AutoHotkey.exe compile.
Re: vcruntime140.dll static ?
Create AutoHotkeySC.bin with Visual Studio /MD option to /MT option
However, exe does not work after compiling with Ahk2Exe.exe
Tell me how to include vcruntime140.dll inside instead of outside.
I am sorry for my poor English.
However, exe does not work after compiling with Ahk2Exe.exe
Tell me how to include vcruntime140.dll inside instead of outside.
I am sorry for my poor English.
Re: vcruntime140.dll static ?
The only way is to compile with /MT option, make sure you also change this for the lib_pcre project!
I have just tested on my computer and it compiles and works.
I have just tested on my computer and it compiles and works.
Re: vcruntime140.dll static ?
It still doesn't work after compiling it.
I have to give up. Thank you.
Can I get an AutoHotkeySC.bin x86 x64?
PS:
Please distribute the static version of vcruntime140.dll from the next update.
I have to give up. Thank you.
Can I get an AutoHotkeySC.bin x86 x64?
PS:
Please distribute the static version of vcruntime140.dll from the next update.
Re: vcruntime140.dll static ?
Static version would cause problems in multi-threading, I know it is a pain to distribute vcruntime140.dll with your program but unfortunately that is how Microsoft designed it.
Re: vcruntime140.dll static ?
I have now included MT version compiled and configuration files for AHK_H source
https://github.com/HotKeyIt/ahkdll
https://github.com/HotKeyIt/ahkdll-v1-release
https://github.com/HotKeyIt/ahkdll-v2-release
https://github.com/HotKeyIt/ahkdll
https://github.com/HotKeyIt/ahkdll-v1-release
https://github.com/HotKeyIt/ahkdll-v2-release
Re: vcruntime140.dll static ?
Does that mean no more need to ship the dlls with our exes?HotKeyIt wrote: ↑05 Mar 2019, 20:25I have now included MT version compiled and configuration files for AHK_H source
https://github.com/HotKeyIt/ahkdll
https://github.com/HotKeyIt/ahkdll-v1-release
https://github.com/HotKeyIt/ahkdll-v2-release
Re: vcruntime140.dll static ?
Yes, if you ship MT version, dll is not required.
You just have to make sure that you don‘t manipulate memory in a different thread, because this might crash your application.
You just have to make sure that you don‘t manipulate memory in a different thread, because this might crash your application.
Re: vcruntime140.dll static ?
Does reading memory count as manipulating memory? If that's the case, to disable MT I only need to change back to MD? or do I need to do something more
Re: vcruntime140.dll static ?
No, reading is no problem.
You can switch between MT and MD as you like.
You can switch between MT and MD as you like.
Re: vcruntime140.dll static ?
This is the answer to my long-held dream.
The H version is perfect now. Thank you so much.
The H version is perfect now. Thank you so much.
Who is online
Users browsing this forum: No registered users and 53 guests