08-29-2022, 03:28 PM
I also am receiving this error. You should be declaring your external functions with "Declare CustomType Library" when they use data types such as offset. Line 359 is the start of your declare block for some of your functions. You need to change "Declare Library" to "Declare CustomType Library". Even then, I'm not entirely a fan of your declarations as a whole but the program will build after this simple change.
Ask me about Windows API and maybe some Linux stuff