ntomaz11 Posted March 23, 2016 Posted March 23, 2016 Hi! We have built an application that runs on server as *.exe. It sometimes produces an Error, which is not from our code (might be some component producing the error). So the MessageBox shows on server and it locks down server. How can we prevent those messageboxes and handle the events in our code, to write those messages to file ? Something like Application.OnException ? Thanks! Quote
Administrators Farshad Mohajeri Posted March 23, 2016 Administrators Posted March 23, 2016 Hi, uniGUI already logs all exceptions to its log file. What components are you using? What is your uniGUI edition and version? Quote
ntomaz11 Posted March 23, 2016 Author Posted March 23, 2016 UniGui and TMS WorkflowStudio. UniGui is version: 0.99.80.1260 I see exceptions in log file, but i also have Exceptions on screen on messageboxes. I would like to get rid of those, but do not know how. Thanks! Quote
ntomaz11 Posted March 23, 2016 Author Posted March 23, 2016 Btw. Exceptions im a getting are: 00001758: 14:42:43 [H_OnVCLException]:EAccessViolation : Access violation at address 00000000 in module 'Workflow.exe'. Execution of address 00000000 : Addr: $00000000 Quote
Administrators Farshad Mohajeri Posted March 23, 2016 Administrators Posted March 23, 2016 TMS WorkflowStudio. It is a VCL library. You can not use it along with uniGUI. btw, please visit: http://forums.unigui.com/index.php?/topic/6291-important-announcement/ Quote
ntomaz11 Posted March 24, 2016 Author Posted March 24, 2016 We have bought our license, ill fill up the details on the page. We do not use any visual forms or components from TMS WorkflowStudio, only the engine for running workflows. Should not be a problem, or ? Thanks! Quote
Administrators Farshad Mohajeri Posted March 24, 2016 Administrators Posted March 24, 2016 We have bought our license, ill fill up the details on the page. We do not use any visual forms or components from TMS WorkflowStudio, only the engine for running workflows. Should not be a problem, or ? Thanks! What is the output of engine? How do you use that output? Quote
ntomaz11 Posted March 24, 2016 Author Posted March 24, 2016 Only component on the project is TWorkFlowStudio. There is no visual input/output everything is managed in code, the component basicaly just reads and writes into database current state of workflow. Every visual input is made with unigui components, also any output for the user is made with unigui components as well. Code is running great, only some error from time to time in a messagebox, which i would like to catch so it wont show. Btw. great work on the UniGui its working awsome! Quote
fikret Posted March 24, 2016 Posted March 24, 2016 Btw. Exceptions im a getting are: 00001758: 14:42:43 [H_OnVCLException]:EAccessViolation : Access violation at address 00000000 in module 'Workflow.exe'. Execution of address 00000000 : Addr: $00000000 I would say that you have referenced to not created object here. Or it have been destroyed? Quote
skafy Posted August 30, 2016 Posted August 30, 2016 And how can these errors can be resolved? Can I supress such behavior? Quote
md9projetos Posted August 31, 2016 Posted August 31, 2016 In what unit is this TWorkFlowStudio? MainModule? Can´t you share the code? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.