TOracleEvent

sonyacat

Member
We are using DOA components v 3.3.1 with Delphi C/S 4.0 SP 3

I need to show all dbms_pipe meesages using TOracleEvent component. Works fine. When I use debugger TOracleEvent intersepts all messages exactly when they take place but when I want to show them in TMemo comonent it doesn't refresh until the package that sends pipe messages ends. This works only if Synchronization property on TOracleEvent is set to false.

Another problem is that as soon as I start TOracleEvent all synchronized procedures in TThread object stop working.

Please, help

Pavel Popov
Sr. Software Engineer
CarTemp USA
 
I figured this out. Well, till certain degree.

The problem with thread is not running was because I executed Start immediately after Sesion's LogOn. After I moved it on button click event my thread synchronize routine worked with no problems.

The TMemo started showing pipe messages after I set the package execution in a separate thread

Now. From time to time when I try to stop TOracleEvent I'm getting "session_undefined" error.
Anyone had something like that?
 
I found the way around "session undefined" message. I'm good in helping myself ;-)

If the application creates TOracleEvent at run time and destroys it when it longer needed everything is working fine!
 
You would never have solved the problem without the help of this forum ;-).

------------------
Marco Kalter
Allround Automations
 
Back
Top