Closed Uberi closed 12 years ago
How is this? Is it readable enough, or should I separate the ternary operations into separate lines?
No, it's fine. One more thing might be: 64bit, especially the LoadLibrary / GetProcAddress return types (needs to be UInt
for AHK classic and Ptr
for AHK_L; not sure about UPtr
).
I separated the type selection out since it did make it a bit easier to read.
Besides the above comment, are you ready for merge?
Nice catch. Yes, I'm ready for merge.
Thanks for your work!
When DLLs export variables directly, there's what seems to be an obscure way to read and modify these values: GetProcAddress(). Lexikos' answer gave me this technique, and I think it would be best to share this knowledge in a more widespread way.