RE: Weird breakline problems
A line break can be many things, thus not only \n
You have ascii code 13 (Carriage Return), but also ascii code 10 (Line Feed), or a combination of the two: CRLF...
PS: a line break is a character like anything else and it should be able to be passed just as well without any workarounds. If you need such workarounds, maybe something else is wrong...
Before passing the line to your DLL, do a Debug.Trace of the actual string you're going to send. If that doesn't contain the multiple lines, then there is something wrong even before you send it to the DLL...
So all in all, this is mostlikely not a problem of the linefeeds or carriage returns not being passed, but probably an error in the routine you use to even get those lines in the first place.
This post was edited on 06-29-2006 at 05:21 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
|