I use other software to call ahk-h.dll(64) and it crashes a lot, the reason for the crash is that it has a very large memory address, for example "strptr('a') => 3092365760128", while the address value we get when using ahk.exe is usually much smaller.
It frequently reports an error "Critical Error: Invalid memory read/write.", or simply crashes.
So what is causing this huge value? Is there a solution to this?
----
I checked the internal address of that software and the values were equally huge. But it never caused errors in reading or writing to the address. Why does ahk report an error?
What determines the numerical size of a memory address?
Re: What determines the numerical size of a memory address?
I am in a dilemma.
I went to the rust forum to give feedback. the rust people said that the values were large but normal and safe in rust. the AHKDLL error was a problem with the DLL itself and had nothing to do with rust.
On the other hand, AHKDLL works fine in all software, but only crashes in rust.
Can anyone help me?
I went to the rust forum to give feedback. the rust people said that the values were large but normal and safe in rust. the AHKDLL error was a problem with the DLL itself and had nothing to do with rust.
On the other hand, AHKDLL works fine in all software, but only crashes in rust.
Can anyone help me?
Re: What determines the numerical size of a memory address?
Large numbers shouldn't be an issue on its own. In combination with (an exceptionally) poor implementation, this could cause issues ofc. Your issue is probably not related to large numbers, but there is no way to tell from the information given.
Cheers.
Cheers.