🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.pascal.delphi.misc
1 messages
1 total messages Started by Le Doute Thu, 04 Mar 1999 00:00
DLL question
#599
Author: Le Doute
Date: Thu, 04 Mar 1999 00:00
26 lines
1990 bytes
And yet another question:

If the procedure inside the DLL takes some time to execute, how can I
"refresh" the main app interface from time to time?

I used to write Application.ProcessMessages; or Component.Refresh; but for
obvious reason, it doesn't work from inside the DLL...

And is there a way to modify, by means of a pointer, a ProgressBar.Position
value and to refresh it?

Usually, I would modify the progress bar value, and then refresh it or
refresh a parent component (like the ultimate
Application.ProcessMessages)...

If my DLL takes 2 minutes to return, I want to give some user feedback about
what is happening...

Is there a way to achieve this without going through threads manipulation?

And would my DLL remain compatible with any calling app? written in other
language than O. Pascal with a different IDE than Delphi?

Thanks again, yet,

Louis Pelletier, Qu�bec.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads