Help [AHK][C++] Call a function in ahk

whoonga

Active member
Joined
Nov 6, 2014
Messages
52
Reaction score
0
Hi,
i created a dll in C++ and i wanted to use it in ahk.
I can call this function, by injecting it in CE and it works.

(http://fs1.directupload.net/images/150729/l2gp9l3a.png)

Now i want to try it in ahk.
Anyone can give me a snippet?
 

0x_

Wtf I'm not new....
Administrator
Joined
Feb 18, 2013
Messages
1,118
Reaction score
166
luxdav link said:
I already helped him!
So then please tell everyone the solution?
Because this would totally help other people having the same question.
 

luxdav

Active member
Joined
Sep 17, 2014
Messages
45
Reaction score
5
We wrote the C++ Function in a DLL, exported the function (actually not necessary, but then it's easier to find the function in Cheat Engine), placed the asi in the gta folder, find the offset of the function, called the function with callwithparams from UDF.
 

0x_

Wtf I'm not new....
Administrator
Joined
Feb 18, 2013
Messages
1,118
Reaction score
166
It can be called w/o any proxy between (if I understood the point of what you are doing now).
 

luxdav

Active member
Joined
Sep 17, 2014
Messages
45
Reaction score
5
Yea, sure, we know that, but whoonga wanted to know how to do it that way, calling addchatmessage was not the aim, it was just the test function
 

0x_

Wtf I'm not new....
Administrator
Joined
Feb 18, 2013
Messages
1,118
Reaction score
166
[member=24017]democrazy[/member]: what's the point of your post?
well, just wanted to say ;d
 
Top