Skip to content

Commit c97d466

Browse files
committed
bin
1 parent c0fa1e7 commit c97d466

File tree

6 files changed

+38
-2
lines changed

6 files changed

+38
-2
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44
\#*
55
*.gch
66
*.obj
7-
bin
87
obj
98
MSC_HEADERS
109
\.svn
1110
*.exe
1211
msc_headers
13-
*.bak
12+
*.bak

bin/.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
*.dll
2+
*.so
3+
*.exe
4+
ahkmingw
5+
ahkx
6+
*.[oa]
7+
*.lib
8+
Debug
9+
Release
10+
*.def

bin/dllclient.ahk

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#Persistent
2+
msgbox % "script parameters =" . A_ScriptParams . "script options = "
3+
. A_ScriptOptions
4+
; inputbox, x, x
5+
; msgbox % x
6+
return
7+
8+
9+
F3::
10+
msgbox hello
11+
return

bin/dllhost.ahk

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
start:
2+
ahkdll := DllCall("LoadLibrary", "str", "ahkx.dll")
3+
sleep, 500
4+
msgbox % ErrorLevel
5+
threadH := DllCall("ahkx.dll\ahkdll", "str", "dllclient.ahk", "str"
6+
, "", "str", "parameter1 parameter2", "Cdecl Int")
7+
msgbox % ErrorLevel
8+
return
9+
10+
!r::
11+
Reload
12+
13+
!q::
14+
ExitApp

bin/test.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ahkmingw.exe dllhost.ahk

bin/testdllcall.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ahkmingw.exe dllcall.ahk

0 commit comments

Comments
 (0)