🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.misc
Article #599

DLL question

#599
From: 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.
Technical Details
Message-ID: <4IBD2.1303$_n2.27872@carnaval.risq.qc.ca>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: fd817,b9a834471be510c7,start
X-Google-Attributes: gidfd817,public
X-Google-Thread: f973d,b9a834471be510c7,start
X-Google-Attributes: gidf973d,public
X-Google-Thread: 10baee,b9a834471be510c7,start
X-Google-Attributes: gid10baee,public
X-Google-Thread: 1043cf,b9a834471be510c7,start
X-Google-Attributes: gid1043cf,public
X-Google-Thread: 108b0b,b9a834471be510c7,start
X-Google-Attributes: gid108b0b,public
X-Google-Thread: 105ac8,b9a834471be510c7,start
X-Google-Attributes: gid105ac8,public
From: "Le Doute" <ledoute@sceptiques.qc.ca>
Subject: DLL question
Date: 1999/03/04
Message-ID: <4IBD2.1303$_n2.27872@carnaval.risq.qc.ca>
X-Deja-AN: 451271540
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0
X-Trace: carnaval.risq.qc.ca 920577920 132.203.194.30 (Thu, 04 Mar 1999 15:05:20 EDT)
NNTP-Posting-Date: Thu, 04 Mar 1999 15:05:20 EDT
Newsgroups: comp.lang.pascal.delphi.misc,alt.comp.borland-delphi,alt.comp.lang.borland-delphi,alt.lang.delphi,borland.public.delphi.objectpascal,cern.delphi.general