English
Forum

XProfan and "FastMode"

 

E.T.
can it his, the XProfan with faster Fastmode-story not zurecht comes ??
If I the following example-Proc einbaue, works the different in Interpreter and Exe:
- in the Interpreter crashes the Prog kommentarlos ex, if The (the ??) Proc quick one after another called becomes
- in the Exe shining the program öfters in the Fastmode 0 To stay, Redraw(...) becomes only sporadisch carryed out
CompileMarkSeparation
...

Proc CheckFarbe

    ClearList SpeicherRot&
    ClearList SpeicherGruen&
    ClearList SpeicherBlau&

    WhileLoop 0,@GetCount(DatBox&[2])

        FarbCheck$ = @GetText$(DatBox&[2],&loop,0)
        Case FarbCheck$ = @Date$(3) : @Addstring(SpeicherRot&,@str$(&loop))

    EndWhile

    set(fastmode,1)
    ~SetWindowLong(%hwnd,~GWL_WNDPROC,procaddr(FarbZeile,4))
    Redraw(DatBox&[2])
    set(fastmode,0)
    ~SetWindowLong(%hwnd,~GWL_WNDPROC,WndProc&)

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...
02/11/09  
 




E.T.
even again a little bit probiert:
If one into (the) Proc quick enough one after another aufruft, remaining the program sometime (if it not crashes) with of/ one fat Sanduhr and ~50% processor-Auslastung stand and can itself only yet fire.
my first supposition, the it too on the ~SetWindowLong...  lying could !
but I the Prog Yes fire can, is it (lt. Help) Yes in the Fastmode 0, means still the Fastmode  ??
building I behind the Redraw(...) one sleep 1000  one, runs the Prog !!!



Edit
or verkackt itself but these stupid API, with which I the Repaint the GridBOX verbiege ??
apiece More I Try, umso More tendiere I in these direction...
 
 
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...
02/11/09  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

737 Views

Untitledvor 0 min.
RudiB.02/28/20
Pr0fessor12/11/14
Peter Max Müller12/11/11
E.T.12/18/10

Themeninformationen

this Topic has 1 subscriber:

E.T. (2x)


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