I'm using vsprintf, but I'm having trouble with large strings. This is because I use a static buffer size and when the string i want to create is larger than this, vsprintf overruns the buffer.
So I searched and found _vscprintf. This returns the length of the buffer needed. But it doesn't seem te be in the runtime libraries on my computer as it isn't defined in the header files.
Is there a way to use this function anyway?