What am I doing wrong? Any solution?
Thanks.
Code: Select all
string:="
(
Send(""Outlook"")
return
Send(Text){
DllCall(A_AhkExe() ""\ahkFunction"",""Str"",""SendFunc"",""Str"",Text)
return
}
A_AhkExe(){
static e,i:=VarSetCapacity(e,520),i1:=DllCall(""GetModuleFileName"",PTR,0,Str,e,UInt,260), i2:=VarSetCapacity(e,-1)
return e
}
)"
dll0:=ahkthread(string)
return
SendFunc(Text){
msgbox % Text
m:=ComObjCreate("Outlook.Application").CreateItem(0)
return
}