C5 errors are typically buffer overruns, sometimes caused by the C++ programmer mistakenly expecting a string to be null-terminated. So if you see a C5 error, and you know what function or command it is occurring in, the first thing to do to work around the issue is to try null-terminating your strings.
In experimenting with the TEXTMERGE(), I find that null-terminating the string prevents the C5 error.
lcMergedString = TEXTMERGE(lcMyString + CHR(0))
I can't guarantee it will solve the problem for you, but it is worth try. MSFT is aware of this particular issue.
(This posting is provided "AS IS" with no warranties, and confers no rights. )
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only