| |
|
|
- Page 1 - |
|
 E.T. | even so noticed: Is my XProfan-Program in the nProc on the works, becomes it z.B. through "Neuzeichnen" from the exit brought. "Neuzeichnen" exit Yes always on, if the Prog-Window minimizes, covers or moved becomes (covers z.B. through Screen saver ). After such one Event scheind my nProc unending so engage To his, the window new draw To want. and this forever, with the Eieruhr for utterly Auslastung. too The Messages on The beam-Show to achieve no effect More. self the system-Menu becomes muddy, to the nProc have I z.B. the [X] for "Programm schließen" deaktiviert, this is then again active. as long as I the window not verdecke or shift, runs the nProc klaglos through, with the integrally normalen arrow as Cursor....
example of my nProc: CompileMarkSeparation
nProc Vergleichen
global Liste1&, Liste2&, Liste4&, Zaehler1&, Zaehler2&, Status&, ProgressBar_3&, ProgressBar_4&
Declare Verg_Dat_1$, Verg_Dat_2$, Vergl_Str1$, Vergl_Str2$, Vergl_Pass&, Pos_L1&
WhileLoop 0,Zaehler1&
Vergl_Str1$ = GetText.Listview(Liste1&, &loop, 0)
Verg_Dat_1$ = GetText.Listview(Liste1&, &loop, 1)
WhileLoop 0,Zaehler2&
Vergl_Str2$ = GetText.Listview(Liste2&, &loop, 0)
If Vergl_Str1$ = Vergl_Str2$
Verg_Dat_2$ = GetText.Listview(Liste2&, &loop, 1)
IfNot Verg_Dat_1$ = Verg_Dat_2$
Inc Vergl_Pass&
AddString(Liste4&, Verg_Dat_1$ + "|" + Verg_Dat_2$)
EndIF
EndIf
Sendmessage(ProgressBar_4&,$0400+2,int(100.0/Float(Zaehler1&)*Float(&loop)),0)
EndWhile
Sendmessage(ProgressBar_4&,$0400+2,0,0)
Sendmessage(ProgressBar_3&,$0400+2,int(100.0/Float(Zaehler1&)*Float(&loop)),0)
EndWhile
ENDPROC
is Yes hold no so komplizierter code, solely the vergleichen vieler Strings on Übereinstimmung (runs hold still as nProc vieeel faster as in XProfan..) |
|
|
| Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 11/12/10 ▲ |
|
|
|
 |
« this Posting watts as Solution marked. » |
|
- Page 3 - |
|
 | |
|
| |
|
 |
|
|
| |
|
- Page 2 - |
|
 | E.T. (13.11.10)
iF (13.11.10)what speaks because against it the You your Proc - those hold "ewig" lasts - by CreateThread aufrufst instead of "normal"? because in the Prog eh none what can make (should), as long as the Compare runs.
so How I the understood have is correct this but not, because it should Yes the UI-Thread Redraw and not "nichts" do. ^^
E.T. (13.11.10)
would be because then the HWND whom Repaint-commands come along, During low it on the others Thread wait (soryy, I stell me well something stupid on...)
think vlt. go ahead tricky. you have momentarily hold 1 Thread and want but the this 2 items "zugleich" does - what "natürlich" not the case is. ^^ |
|
|
| |
|
|
|
 | Wait I fummel you what... <-- ließt Yes to that Happiness none...  |
|
|
| |
|
|
|
 | |
|
|
|
 | real Thread "unendlich" long ackern let without UI-Thread To "blockieren": CompileMarkSeparation so can still simply "Aufgaben"/ Threads indicate and the go yummy in the background worn out without the You yourself concern müsstest... (nProcs are still threadsicher ^^) |
|
|
| |
|
|
|
 E.T. | super, the erstere sees for me so from, as would it make, I Search.
Do I still same The others things rest let and install and testing (and derweil again what over Call's and ProcAddr in Assembler learn) ...
On each drop already time one large THANK YOU for your trouble!!! and ifs works, then ... |
|
|
| Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 11/13/10 ▲ |
|
|
|
|
 | E.T. (13.11.10)
super, the erstere sees for me so from, as would it make, I Search.
Ihgitt Please nimm abers 2.... the first is a übler Stinkschuh! ^^ |
|
|
| |
|
|
|
 E.T. | SO, I komm the thing hither: only becomes now the Compare called and the XProfan-Prog runs moreover, it but should "warten"(or warten>nachschauen whether vergl. fertig>ggf. Window aktualisieren>warten), whether Compare already ready. would be Yes think with Thread.Is(lThread) , but standing Yes with XPSE "fehlerhaft"... |
|
|
| Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 11/13/10 ▲ |
|
|
|
|
 | look time to useful APIs: [...] 
simply with GetExitCodeThread look whether the Thread yet runs or to the end the ThreadProc by SendMessage ne UserMessage dispatching around the Hauptprogramm something "mitzuteilen" or simply per Return-worth from the Thread-Proc whom ThreadExitCode determine or by ExitThread ThreadExitCode on beliebiger place in the ThreadProc determine: CompileMarkSeparation |
|
|
| |
|
|
| |
|
- Page 3 - |
|
|
 E.T. | Hm, GetThreadID() would there well what, but first ex VISTA [...] . must but XP walk... |
|
|
| Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 11/13/10 ▲ |
|
|
|
|
 | |
|
| |
|
|
|
 E.T. | Jo, so passt's... , thanks IF |
|
|
| Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 11/14/10 ▲ |
|
|
|
|
 | |
|
| |
|
|