Jump to content

Handling Errors that produce MessageBoxes


ntomaz11

Recommended Posts

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!

 

 

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

  • 5 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...