Phil Parkin (5/12/2009)
Ramesh (5/12/2009)
In this case, "CleanLine" is indeed a DT_WSTR with 4000 max. characters, but I assumed:-) that you understood that "CleanLine" needs to be reversed to TEXT data before sending it to output buffer.
Hey, I'm not as good at this stuff as you think! 😀 It's not as if this 'reversing' is as trivial as you have made it sound either!
Got there in the end though, thanks to you guys. I have a really neat solution now.
I thought it was easy for you to reverse as I've seen you post some interesting solutions here and there in SSC. Next time onwards, I would take care that I post the relevant information without assuming things:-)
In the end, I am glad that it worked out well for you.