English
Forum

How can I Callback-function use in secular

 

Jac
de
Lad
Hallöle,

how can I The address of/ one Callback-function use in secular? So I my, I write a terrible complicated function and wants, that the progress of whatever outputted becomes. means should as Parameter The address of/ one function through ProcAddr transfer go. can I The then by Call Call???

Jac
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
07/05/06  
 




Sebastian
König
Hello Jac,

in the principle ought to it no trouble his, a procedure over your ProcAddr() from the own Program out with Call() aufzururfen, though falls me in the momentum no situation one, in the the meaningfully would - You can The procedure finally self integrally normal Call.... (or be I now go ahead phantasielos? )

The primäre benefit is the Callbacks is sure The Possibility The Adressen on defined API-function To transfer, a Callback-address expect - to that example SetWindowLong() - cue Subclassing - or SetTimer().

MfG

Sebastian
 
Windows XP, XProfan/Profan² 4.5 bis 11
Profan2Cpp-Homepage:  [...] 
Alte Profan²-Seite:  [...] 
07/05/06  
 



very, too functions which something enumierieren (or iterieren ) need often a Prozeduradresse around the Einzelergebnisse abzuliefern. Z.B. List of install Fonts or Dateidownload with Prozessbar...

You can the Call too well use if you within ASM-Passagen on XProfanprozeduren grab want.
 
07/06/06  
 



with one Callback Gibts You others functions, mostly in DLLs (so as API indeed) a Funktionsadresse, which these directly Call and perform can, almost independent of it what your Program straight power. therefore can so one Callback among other things, for a flüssigeren running the Ereignisbehandlung care. yourself Call one such Callback by Call power in general really none sense , so one Callback is in gewisser Hinsicht almost one Thread. Einsatzgebiete, How iF already partly said, windows-Callback, Enumerationen, Streaming of data (z.B. circa RTF quick To fill) or Fortschrittsanzeigen, because a gentry- or Kopierroutine longer need, and so quick time Message power and on discontinue checks.
 
07/06/06  
 




Jac
de
Lad
Hm, the klärt my question.

@Sebastian: I Have to that example a PCU, a long operation executing and as Parameter commit I The address of/ one Profan-procedure, The then for may part a worth in percent get and then the either outputs or what draus accounts or...is means right meaningfully!

Jac
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
07/06/06  
 




Sebastian
König

@Sebastian: I Have to that example a PCU, a long operation executing and as Parameter commit I The address of/ one Profan-procedure, The then for may part a worth in percent get and then the either outputs or what draus accounts or...is means right meaningfully!


OK, is correct . too for of iF erwähnten ASM-Passagen is it naturally useful.

MfG

Sebastian
 
Windows XP, XProfan/Profan² 4.5 bis 11
Profan2Cpp-Homepage:  [...] 
Alte Profan²-Seite:  [...] 
07/06/06  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

795 Views

Untitledvor 0 min.
H.Brill01/26/23
gerd01/12/13

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie