i am currently using the writefile() windows api function in my program, i want to store the follow in 1 buffer but i'm unsure on how to do this exactly
"===================================" '\n'
"Date: " localTime->tm_mon "/" localTime->tm_mday "/" localTime->tm_year '\n'
"Time: " localTime->tm_hour ":" localTime->tm_min "." localTime->tm_sec '\n'
"===================================" '\n'
"[ERROR] - " ErrorString '\n'
i want to store it all in 1 buffer so i only have to do 1 call to writefile...i could have a buffer for each of the above segments for example
BYTE *buffer1 = "===================================;"
BYTE *buffer2 = '\n';
etc...
but i dont want to have to call consecutive called to writefile when i can only make one. Any advice is greatly appreciated! thx