| |
|
|
 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. |
|
|
| |
|
|
|
 | 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. |
|
|
| |
|
|
|
 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 ▲ |
|
|
|