Forum: Programmieren allgemein
by Kas Ob.,
21. Okt 2023
I can't imagine the amount of time you are wasting of clicking enter on messages from ShowMessage, do yourself a favor and use some logging method.
The file you are loading, where did it come from ?
What is its format ?
If it is yours or not, check data aligning for that TInstruction record, you might need to declare that record as packed, just make sure it is the same size with the same...
Forum: Programmieren allgemein
by Kas Ob.,
21. Okt 2023
Don't know about this file format, but you did ask a different question in different post, and you did a mistake in both of them.
This is wrong
buffer: Array of TInstructions;
And should be one of the following
buffer: Array of TInstruction; // or
buffer: TInstructions;
The rest i can't say.