Search found 1732 matches

by HotKeyIt
15 Feb 2019, 06:31
Forum: AutoHotkey_H
Topic: ObjLoad causes problem
Replies: 3
Views: 111

Re: ObjLoad causes problem

I will need ObjDump example too, can you try to reproduce it with a script?
As far as I can see the problem is a not valid object, probably an object without reference or a special type of an object, hope this helps you to narrow it down.
by HotKeyIt
15 Feb 2019, 02:48
Forum: AutoHotkey_H
Topic: ObjLoad causes problem
Replies: 3
Views: 111

Re: ObjLoad causes problem

Can you show the code/object that causes the Problem?
by HotKeyIt
10 Feb 2019, 14:15
Forum: AutoHotkey_H
Topic: [AHK v1] Bug: InjectAhkDll() crashes target process on x64 without full path to AutoHotkey.dll
Replies: 7
Views: 384

Re: [AHK v1] Bug: InjectAhkDll() crashes target process on x64 without full path to AutoHotkey.dll

I see that is same for me, but when I run it on Notepad2 (32-bit) for example it works.
I have no idea why it does not work on the Notepad, can you try it on a different 32-bit process?
by HotKeyIt
10 Feb 2019, 08:26
Forum: AutoHotkey_H
Topic: [AHK v1] Bug: InjectAhkDll() crashes target process on x64 without full path to AutoHotkey.dll
Replies: 7
Views: 384

Re: [AHK v1] Bug: InjectAhkDll() crashes target process on x64 without full path to AutoHotkey.dll

It is not compatible with 64-bit.
In 32-bit make sure the target process is 32-bit too!
It works fine for me in 32-bit.
by HotKeyIt
09 Feb 2019, 19:16
Forum: Scripts and Functions
Topic: [AHK v2] ObjTree - Explore and Edit objects easily
Replies: 12
Views: 1377

Re: [AHK v2] ObjTree - Explore and Edit objects easily

Many thanks for porting it swagfag, I updated it on github.
I simply excluded Function support for now.
by HotKeyIt
02 Feb 2019, 20:47
Forum: Ask For Help
Topic: How is CryptAES() supposed to be used? Is this a bug? Topic is solved
Replies: 10
Views: 418

Re: How is CryptAES() supposed to be used? Is this a bug? Topic is solved

The problem is that you StrPut more than you VarSetCapacity!
The string you put is larger than 130!!!!

Code: Select all

VarSetCapacity(str, 130) ; must be 144 excl. terminating char
sz := 144
StrPut("㜀ꌑ襥ᛉ﹉垍챭嚟芐提잵䶝ꪋ㡖鮒נ憏蕤흧⥑ᦝ薒�霢嶌气�娝ͳ�퍧:덐㪹뢦䤘˽ૡ˨⽭鼏물颷墿ᙥ뱲⡄㠯甘娹�ਇଂ⺅裢旌흆鐐鷻郴㪶幡", &str)
by HotKeyIt
02 Feb 2019, 15:46
Forum: Ask For Help
Topic: How is CryptAES() supposed to be used? Is this a bug? Topic is solved
Replies: 10
Views: 418

Re: How is CryptAES() supposed to be used? Is this a bug? Topic is solved

It is not StrGet or FileAppend, it is VarSetCapacity(str, 130), it should be VarSetCapacity(str, 144)!
by HotKeyIt
02 Feb 2019, 06:06
Forum: Ask For Help
Topic: How is CryptAES() supposed to be used? Is this a bug? Topic is solved
Replies: 10
Views: 418

Re: How is CryptAES() supposed to be used? Is this a bug? Topic is solved

If you want to read it directly you will need to include terminating character, otherwise StrGet will also read the memory after end of string. Also you forgot to change F2:: VarSetCapacity to correct size: f1:: ; prep string:="testingstringthatcontains64characters123456885464562132132222452" VarSet...
by HotKeyIt
01 Feb 2019, 18:37
Forum: Ask For Help
Topic: How is CryptAES() supposed to be used? Is this a bug? Topic is solved
Replies: 10
Views: 418

Re: How is CryptAES() supposed to be used? Is this a bug? Topic is solved

You forgot the terminating char in VarSetCapacity: ; prep VarSetCapacity(str, 130) ; Strlen*2 due to unicode + terminating char len := StrPut("testingstringthatcontains64characters123456885464562132132222452", &str) ; encrypt size := CryptAES(str, len*2, "asd", true) ; len*2 due to unicode ; decrypt...
by HotKeyIt
01 Feb 2019, 03:08
Forum: Ask For Help
Topic: Encrypt ?
Replies: 4
Views: 412

Re: Encrypt ?

Encryption/Compression is only to unpack the code, it does not impact how fast it runs.
Do you have an example?
by HotKeyIt
28 Jan 2019, 13:22
Forum: Ask For Help
Topic: How to stop the entire process if a thread is terminated Topic is solved
Replies: 4
Views: 162

Re: How to stop the entire process if a thread is terminated Topic is solved

You can check if threads are running using ahkReady, you can set up a timer routine to check periodically.
by HotKeyIt
27 Jan 2019, 12:16
Forum: Ask For Help
Topic: [AHK_H v2] OpenThread() error 126 module not found Topic is solved
Replies: 2
Views: 112

Re: [AHK_H v2] OpenThread() error 126 module not found Topic is solved

Don't bother about last error it comes from somwhere else, check if hThread is NULL, then check last error! Thread := AhkThread("#Persistent`nGetThreadId`nLoop`nToolTip(A_TickCount)") THREAD_QUERY_INFO := 0x0040 bInherited := false if NULL = hThread := OpenThread(THREAD_QUERY_INFO, bInherited, Threa...
by HotKeyIt
27 Jan 2019, 06:35
Forum: Ask For Help
Topic: vcruntime140.dll static ? Topic is solved
Replies: 5
Views: 294

Re: vcruntime140.dll static ? Topic is solved

Static version would cause problems in multi-threading, I know it is a pain to distribute vcruntime140.dll with your program but unfortunately that is how Microsoft designed it.
by HotKeyIt
26 Jan 2019, 16:33
Forum: Ask For Help
Topic: vcruntime140.dll static ? Topic is solved
Replies: 5
Views: 294

Re: vcruntime140.dll static ? Topic is solved

The only way is to compile with /MT option, make sure you also change this for the lib_pcre project!
I have just tested on my computer and it compiles and works.
by HotKeyIt
26 Jan 2019, 06:15
Forum: Ask For Help
Topic: vcruntime140.dll static ? Topic is solved
Replies: 5
Views: 294

Re: vcruntime140.dll static ? Topic is solved

Does it run after build? Then compiling should not be an issue, instead AutoHotkeySC.bin you can use the AutoHotkey.exe compile.
by HotKeyIt
21 Jan 2019, 18:29
Forum: Wish List
Topic: Object.DeepClone()
Replies: 3
Views: 251

Re: Object.DeepClone()

You can try ObjDump and ObjLoad which are included in AHK_H.

Go to advanced search