@SpriggsySpriggs Just tried to use your code above into my program (Qb64 v1.5 stable release) but the IDE gives error:-
Expected variablename AS type or END TYPE on line 12
LINE#11 Type MEMORYSTATUSEX
LINE #12 As Long dwLength, dwMemoryLoad
(I had extra lines of my code at beginning)
I recalled a similar kind of problem when using your pipecom (but which worked OK I think in a dev build - but because of Compiler error with dev build that you and Fellippe already working on I had to go back to the v1.5 stable build).