Hi all ,
Are there any restrictions on the buffer size when using the above function?
My debugger screams when the size is bigger then 6648
anyone ?
Thanks
Hi all ,
Are there any restrictions on the buffer size when using the above function?
My debugger screams when the size is bigger then 6648
anyone ?
Thanks
> Are there any restrictions on the buffer size when using the above function?
So long as you don't lie about the size.
Perhaps you trashed memory somewhere else, and here is where you get to notice that there has been some past mistake..
what compiler are you using and what is the error message? Also post the function that is calling _vsnprintf .
_vsnprintf is an MSVC function.
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.