On Thursday 13 April 2006 18:01, Rory Walsh wrote: > Hi everyone. I have a question with a problem I am having regarding the > csound console output and the API. When I run my csd file from the > command line using the latest csound.exe with an error it tells me the > correct line the error is on. If I run the .csd file through my own > software, calling the same dll csound.exe does, and output the message > using the message callback routine I get a different/wrong number? Any > ideas what might be causing this? Here is the message callback code > although I don't think it has anything to do with that... While I do not know exactly why you get this difference, it is a well known and long existing problem that line numbers are often not printed correctly in syntax errors. Even worse, fixing the line numbers is probably not easy without major code changes. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net