Login Page - Create Account

Support Board


Date/Time: Fri, 18 Apr 2025 07:07:17 +0000



Post From: Read & parse CSV

[2020-01-06 17:37:28]
User907968 - Posts: 840
In the first post:
char* Buffer;
No memory is allocated to Buffer, you have simply declared Buffer as pointer to char.

You can use this function to check problem with sc.OpenFile:
ACSIL Interface Members - Functions: sc.GetLastFileErrorCode()

Also, you could also use functions from SCString class for handling data that is read in:
ACSIL Programming Concepts: Working with SCString, Text Strings and Setting ACSIL Structure Member Name Strings

e.g.
SCString::ParseLines()
SCString::Tokenize()

Maybe some of this is helpful, or maybe you looked at these already.