Hi how can i run c++ script in autohotkey i found this but i don't have exactly what he mean
https://autohotkey.com/board/topic/9666 ... utohotkey/
greetz,
cpl.
C++ in Autohotkey
Re: C++ in Autohotkey
help please
Re: C++ in Autohotkey
C++ is not script, it is compiled.
In order to use C++ code from AutoHotkey, you need to install Visual Studio, create the C code and compile it.
Then you gave to load the dll in your AHK code.
Do you specifically need C++?
It is possible to embed C# code in an AHK script using CLR.
In order to use C++ code from AutoHotkey, you need to install Visual Studio, create the C code and compile it.
Then you gave to load the dll in your AHK code.
Do you specifically need C++?
It is possible to embed C# code in an AHK script using CLR.
Re: C++ in Autohotkey
ah yes not thinked to call dll in ahk lol !!
canu show me basic code to inject dll in process ?
geetz,
canu show me basic code to inject dll in process ?
geetz,
Re: C++ in Autohotkey
there is my code
but seem don't work.
greetz,
cpl.
Code: Select all
Process,Exist, hl.exe
If !PID:=ErrorLevel
DllCall("LoadLibrary", Str, "harCs.dll")
greetz,
cpl.
Re: C++ in Autohotkey
Sorry, I know nothing about injecting DLLs into processes. I have no idea of whether it can be done with AHK
This code seems strange though: If !PID:=ErrorLevel
It says "Assign ErrorLevel to the variable PID, and if Errorlevel is non-truthy, then run this DllCall command"
It then does nothing with the variable PID, so I do not see why it does the assignment.
This code seems strange though: If !PID:=ErrorLevel
It says "Assign ErrorLevel to the variable PID, and if Errorlevel is non-truthy, then run this DllCall command"
It then does nothing with the variable PID, so I do not see why it does the assignment.
Last edited by evilC on 30 Oct 2017, 09:08, edited 1 time in total.
Re: C++ in Autohotkey
i need dll injector in ahk
i found some lib to usage btu not found dll injector in ahk..
i found some lib to usage btu not found dll injector in ahk..
Re: C++ in Autohotkey
how to dll Inject - AutoHotkey Community
https://autohotkey.com/boards/viewtopic ... 67&t=27047
Run AHK code from within another process.
https://autohotkey.com/boards/viewtopic ... 67&t=27047
Run AHK code from within another process.
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
Re: C++ in Autohotkey
i have already found and tried this thread source but it seems not work
Re: C++ in Autohotkey
Hey CPLnet, I seen your post on D3scene about the no spread, can you show me how to use
Who is online
Users browsing this forum: NullRefEx, ShatterCoder and 110 guests