Login Page - Create Account

Support Board


Date/Time: Mon, 15 Sep 2025 22:44:56 +0000



Post From: sc.ReadFile doesn't work.

[2021-09-26 17:55:49]
User907968 - Posts: 844
Your problem is here 'char* Buffer;'

You actually need to allocate space for the buffer, for example:

char* buffer = new char[bufferSize];
memset(buffer, 0, bufferSize);
.....
.....
.....
delete[] buffer;

or

char buffer[512]

ACSIL Interface Members - Functions: sc.ReadFile()
Date Time Of Last Edit: 2021-09-26 17:56:12