I'm looking for a way to include MSVCR100.dll together with the AHK executable in one bundle so that it doesn't complain if it's not installed in the system.
This dependency on a DLL that may or may not be on the user's computer is quite inconvenient.
Is there a way to embed that DLL in the executable or something like that?
I thought of using FileInstall but that wouldn't work because AHK_H doesn't even start if that DLL is not in the same directory.
Any ideas?
AHK_H: self including MSVCR100.dll
Re: AHK_H: self including MSVCR100.dll
For the exe you can't, for the dll it is possible (see commented out section).
The problem is though that exe (MSVCRT) and dll (MSVCR100) will not be compatible and can lead to memory access violation.
I have it done in the past but got complains about this problem so reverted it.
The problem is though that exe (MSVCRT) and dll (MSVCR100) will not be compatible and can lead to memory access violation.
I have it done in the past but got complains about this problem so reverted it.
Re: AHK_H: self including MSVCR100.dll
in what instances does a machine NOT already have MSVCR100.dll ?
Re: AHK_H: self including MSVCR100.dll
My new installation of Windows 7 x64 doesn't have it.
Re: AHK_H: self including MSVCR100.dll
This is really a dead-end for me. AHK_H is not guaranteed to start executing. Which means I'd need an auxiliary installation program that makes sure MSVCR100.dll is present.
On a different approach...
Would there be any issues if I use AHK_L instead and from there I load AHK.dll?
On a different approach...
Would there be any issues if I use AHK_L instead and from there I load AHK.dll?
Re: AHK_H: self including MSVCR100.dll
a few options
1. distribute a zip instead of a sole exe?
2. use ahkL and fileinstall the msvrt100 and then load AHK.dll and dynamically pass your script
1. distribute a zip instead of a sole exe?
2. use ahkL and fileinstall the msvrt100 and then load AHK.dll and dynamically pass your script
Re: AHK_H: self including MSVCR100.dll
Yes, now I'm trying with AHK_L + AHK.dll.
It seems, though, that the communication between threads won't be as easy as in AHK_H.
It seems, though, that the communication between threads won't be as easy as in AHK_H.
Re: AHK_H: self including MSVCR100.dll
You can use Enigma Virtual Box.
Re: AHK_H: self including MSVCR100.dll
Cool thing this Enigma box. But it seems like an overkill for most AHK issues.
The whole point of AHK for me is simplicity of development and deployment. Adding a virtualization layer complicate things unnecessarily.
The whole point of AHK for me is simplicity of development and deployment. Adding a virtualization layer complicate things unnecessarily.
Who is online
Users browsing this forum: No registered users and 22 guests