Quote Originally Posted by 2kaud View Post
For split a byte array can VB6 use the c function strtok? This returns a pointer to the next string delimited by a char(s). The found delimiter is replaced by NULL - giving you null-terminated strings to use with other c functions.
https://learn.microsoft.com/en-us/cp...?view=msvc-170

Also consider that often strdod() is faster than atof() if can be used with VB6
https://learn.microsoft.com/en-us/cp...?view=msvc-170
I think the problem with both of these, in this context at least, is that both of these require an input STRING, I don't think they will work with a byte array without converting it to a string first (which, when done 53m x5 times, adds up...it's the main reason why it takes my string-based approach 11 minutes to complete the entire 2.5GB file). I could be wrong on the byte array front, of course...if they accept byte arrays and use them as-is, they might be handy!