Public Function TrimForJSON(ByVal Text As String, Optional ByVal TrimChars As String) As String
On Error GoTo errhndl
If TrimChars = vbNullString Then TrimChars = " " & vbTab & vbCrLf & vbLf
TrimForJSON = CorString.Trim(Text, TrimChars)
Exit Function
There is appcrash report in the EventViewer that I can send if you thing there may be anything usefull in it.
During start program calls TrimForJSON("{"appver":"245.23","dbver":"1929"}") and everything seems fine.
But when the app is terminated some time later it crashes instead of closing gracefully. If the line:
I'm submitting a bug report
Please tell us about your environment:
Code being run in the ActiveX dll:
There is appcrash report in the EventViewer that I can send if you thing there may be anything usefull in it.
During start program calls TrimForJSON("{"appver":"245.23","dbver":"1929"}") and everything seems fine. But when the app is terminated some time later it crashes instead of closing gracefully. If the line:
is replaced by:
app closes quietly (no error, no crash).