How to return(send) message PlugIns ?

HOME_X

Member
Hello !!!!

I have the DLL code for PlugIns.
I want at execute function to return the system message
SQL_Execute: function(SQL: PChar): Integer; cdecl;

Example
Initializing
Executing
1000 rows selected in 1.45 seconds (more…)
Executing ….. (2000)
5000 rows selected in 13.65 seconds

And command to halt query (analogue of the keys Shift+Esc)

Thank You !
 
Good Day Marco Kalter !
Now ? Example ?

I Dispose function

SQL_Execute: function(SQL: PChar): Integer; cdecl;
SQL_FieldCount: function: Integer; cdecl;
SQL_Eof: function: Bool; cdecl;
SQL_Next: function: Integer; cdecl;
SQL_Field: function(Field: Integer): PChar; cdecl;
SQL_FieldName: function(Field: Integer): PChar; cdecl;
SQL_FieldIndex: function(Name: PChar): Integer; cdecl;
SQL_FieldType: function(Field: Integer): Integer; cdecl;

Thank You !
 
Good Day Marco Kalter !
Forgive errors during translation ..

Your answer - "You can only show messages in your own forms/dialogs."

System message application or user message ?????

Example user message(Delphi)
....
ShowMessage('Begin SQL');
SQL_Execute(PChar(Memo.Text));
ShowMessage('End SQL');
....

Example system message(Delphi)
????????????
SQL_Execute(PChar(Memo.Text)) - start by a separate stream
????????????

Now return system message (function/variables)?
Initializing, Executing........

Thank You !
 
Back
Top