(Example Struct from working code in C++ )
struct TModuleRec
{
bool Succeeded;
char *Error;
bool DebugFlag;
int TargetModule;
int TargetStart;
char *ProjectFiles[7];
int ProjectFilesStart[7];
char *Port;
int PortStart;
int LanguageVersion;
int LanguageStart;
int SourceSize;
int ErrorStart;
int ErrorLength;
char EEPROM[EEPROMSize];
int EEPROMFlags[EEPROMSize];
int VarCounts[4];
int PacketCount;
char PacketBuffer[(EEPROMSize/16*18)];
};
Any help would be more than appreciated, I'm still going to be playing
around with the unsafe code and see how lucky I get. Thanks again!
Some of the numbers I noticed I left as variables, here's something
that might clear things up.