Cool, this seems to be working perfectly. I have a question though, is there any way that I could use an array for the padding instead of several Long fields? I tried to do it like...
But the SizeOf() for the resulting structure is only 52 instead of 304. I suspect this is because the array does not really allocate memory for each slot but rather is a dynamic one. So it seems there's no way to do the padding with an array...
... Field szExeFile:Byte Field szExeFileArray:Byte[MAX_PATH - 1]
But the SizeOf() for the resulting structure is only 52 instead of 304. I suspect this is because the array does not really allocate memory for each slot but rather is a dynamic one. So it seems there's no way to do the padding with an array...