Print Thread
AfterExecuteWindow - Unexpected value in Result
#60946 01/22/20 02:20 PM
Joined: Aug 2013
Posts: 32
A
akaya Offline OP
Member
OP Offline
Member
A
Joined: Aug 2013
Posts: 32
I am trying to use Result from AfterExecuteWindow.

procedure AfterExecuteWindow(WindowType, Result: Integer);
begin
ShowMessage('AfterExecute ' + IntToStr(WindowType) + ' ' + IntToStr(Result));
end;

According to plugin documentation I should get 0,1 or 2 as Result. However, when I open an SQL window and execute a successful or erroneous query, I always get the following output, what am I doing wrong?

AfterExecute 1 1702356

Re: AfterExecuteWindow - Unexpected value in Result
akaya #60950 01/23/20 08:43 AM
Joined: Aug 1999
Posts: 22,219
Member
Offline
Member
Joined: Aug 1999
Posts: 22,219
Can you let me know if you are using a 32 bit or 64 bit version?


Marco Kalter
Allround Automations
Re: AfterExecuteWindow - Unexpected value in Result
Marco Kalter #60951 01/23/20 10:02 AM
Joined: Aug 2013
Posts: 32
A
akaya Offline OP
Member
OP Offline
Member
A
Joined: Aug 2013
Posts: 32
32 bit

Re: AfterExecuteWindow - Unexpected value in Result
akaya #60957 01/25/20 11:35 AM
Joined: Aug 1999
Posts: 22,219
Member
Offline
Member
Joined: Aug 1999
Posts: 22,219
To obtain some more diagnostic information, can you modify the PL/SQL Developer shortcut and add the DebugSQL parameter? For example:

"C:\Program Files\PLSQL Developer 13\plsqldev.exe" DebugSQL

Reproduce the problem and send me the debug.txt file that is generated in the %APPDATA%\PLSQL Developer 13 directory (e.g. C:\Users\<User>\AppData\Roaming\PLSQL Developer 13).



Marco Kalter
Allround Automations

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.075s Queries: 14 (0.021s) Memory: 2.5070 MB (Peak: 3.0408 MB) Data Comp: Off Server Time: 2024-05-15 11:34:49 UTC
Valid HTML 5 and Valid CSS