Hi. i'v get a problem - my app don't works in release version, debug version works good. what can it be? in release version it crashes at point
char *abc = api.GetUTF8Text(); with message "System.AccessViolationException" it will work well if i will comment the block: String^ currentDir = Environment::CurrentDirectory; String^ name = "TESSDATA_PREFIX="+currentDir; char* variabl = (char*)Marshal::StringToHGlobalAnsi(name).ToPointer(); _putenv(variabl); block used to link TESSDATA_PREFIX with .trainedata in environment variables. in DEBUG it works correct as predicted... how to solve this problem? -- -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tesseract-ocr?hl=en --- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

