| Author |
Message |
Forum: Offtopic Topic: @Lexikos |
| aSEioT |
|
Posted: April 12th, 2012, 3:45 am
|
|
Replies: 22 Views: 953
|
|
 |
Forum: Scripts Topic: AutoHotkey v2 Alpha Release |
| aSEioT |
|
Posted: March 11th, 2012, 9:13 am
|
|
Replies: 740 Views: 68650
|
@Lexikos
Fail when create new class with paraments!
Code: x := new test x := new test("") ; fail
class test { __new(p := "") { MsgBox % p or "ok" } } |
|
 |
Forum: Support Topic: RegisterCallback fail when function is defined in the Class. |
| aSEioT |
|
Posted: January 14th, 2012, 1:48 am
|
|
Replies: 3 Views: 158
|
| Functions defined in classes have one invisible "this" parameter that you need to take into account. It will be the first parameter of the function but it isn't declared in it. Thanks for explaination! The validity of "Class.Method" as a function name is undocumented and may be ... |
|
 |
Forum: Support Topic: RegisterCallback fail when function is defined in the Class. |
| aSEioT |
|
Posted: January 13th, 2012, 3:52 pm
|
|
Replies: 3 Views: 158
|
| [Moderator's note: Moved topic from Bug Reports to Ask for Help.] Document example callback := RegisterCallback("Func", "F", 1) ; Parameter count must be specified. Func("Func was called directly.") ; Call Func directly. DllCall(callback, float, 10.... |
|
 |
Forum: Custom Topic: AutoHotkey.dll |
| aSEioT |
|
Posted: December 27th, 2011, 10:25 am
|
|
Replies: 562 Views: 93413
|
HotKeyIt wrote: I will test it on Win7 32bit.
Many thanks, waiting for...  |
|
 |
Forum: Custom Topic: AutoHotkey.dll |
| aSEioT |
|
Posted: December 24th, 2011, 6:46 am
|
|
Replies: 562 Views: 93413
|
After test, the same code is ok in xp-32bit-sp3.
But why it crash in win7-32bit? .
Could someone using win7-32bit system can help to test the code?
@HotKeyIt
Dose dump file is helpful to detect the problem? I can provide dump file if necessory! |
|
 |
Forum: Custom Topic: AutoHotkey.dll |
| aSEioT |
|
Posted: December 23rd, 2011, 6:14 pm
|
|
Replies: 562 Views: 93413
|
| ... when i try to run some complex script ... What do you mean? Hard to say, as I report previously(with the error code c0000374). But they all happended when I try to terminate it. I'm always try to get some simple demo code to show this, but no lucky! :cry: Maybe it relavant to my system, I will ... |
|
 |
Forum: Custom Topic: AutoHotkey.dll |
| aSEioT |
|
Posted: December 23rd, 2011, 4:57 pm
|
|
Replies: 562 Views: 93413
|
| Is format.ahk the one from lib? There is nothing to execute, right? yes! The format.ahk could be any ahk file even a empty one! ahkdll :=AhkDllThread() ahkdll.ahktextdll() Sleep, 100 ; lineNum := ahkdll.addFile(A_ScriptDir "\blank.ahk") ; load blank ahk also make c... |
|
 |
Forum: Custom Topic: AutoHotkey.dll |
| aSEioT |
|
Posted: December 23rd, 2011, 11:13 am
|
|
Replies: 562 Views: 93413
|
| Many thanks for your quick fixed! Following code show "ahkTerminate" may induce a crash in some situation. ahkdll :=AhkDllThread() ahkdll.ahktextdll() Sleep, 100 lineNum := ahkdll.addFile(A_ScriptDir "\format.ahk") ahkdll.ahkExecuteLine(lineNum, 1)... |
|
 |
Forum: Custom Topic: AutoHotkey.dll |
| aSEioT |
|
Posted: December 21st, 2011, 3:24 am
|
|
Replies: 562 Views: 93413
|
| I assume you mean v2, try again now, should be fixed. Yes, fixed now!:wink: I just tested it work fine in lua (win7 sp1 32bits), but crash when using luajit. (no problem before) MsgBox % MemoryLoadLibrary("lua51.dll") ; crash MsgBox % MemoryLoadLibrary(A_ScriptDir "\lua51... |
|
 |
Forum: Custom Topic: AutoHotkey.dll |
| aSEioT |
|
Posted: December 20th, 2011, 6:26 am
|
|
Replies: 562 Views: 93413
|
| That should work now, update your AhkDllThread function and the dlls/exes. Tested, CPU is still overload! - Improved MemoryLoadLibrary to load dlls with manifest MemoryLoadLibrary encounter some problem when load lua. MemoryLoadLibrary("lua51.dll") ; ok or maybe not loaded! Memory... |
|
 |
Forum: Custom Topic: AutoHotkey.dll |
| aSEioT |
|
Posted: December 18th, 2011, 3:08 pm
|
|
Replies: 562 Views: 93413
|
| obj:=CriticalObject() ; create new critical object (the actual object will be created and saved internally as well as Critical Section Loop 4 ; Create 4 Threads dll%A_Index%:=AhkDllThread("AutoHotkeyMini.dll") ,dll%A_Index%.ahktextdll("obj:=CriticalObject(... |
|
 |
Forum: Custom Topic: AutoHotkey.dll |
| aSEioT |
|
Posted: December 9th, 2011, 4:32 pm
|
|
Replies: 562 Views: 93413
|
| Problem signature: Problem Event Name: APPCRASH Application Name: AutoHotkey.exe Application Version: 2.0.0.0 Application Timestamp: 4ec8f213 Fault Module Name: StackHash_fea8 Fault Module Version: 6.1.7601.17514 Fault Module Timestamp: 4ce7b96e Exception Code: c0000374 Exception Offset: 000c37b7 O... |
|
 |
Forum: Custom Topic: AutoHotkey.dll |
| aSEioT |
|
Posted: December 7th, 2011, 1:58 pm
|
|
Replies: 562 Views: 93413
|
| Just out of curiosity! Document write DynaCall -------------------------------------------------------------------------------- Build in function, similar to DllCall but works with DllCall structures and Object syntax. It is faster than DllCall and easier to use. Does this suitable for dllcall more ... |
|
 |
Forum: Custom Topic: AutoHotkey.dll |
| aSEioT |
|
Posted: December 7th, 2011, 3:17 am
|
|
Replies: 562 Views: 93413
|
Thanks! It's working like a charm!  |
|
 |
| Sort by: |