English
Forum

Interpreter MenuItem 254 copyright

 

Jörg
Sellmeyer
The Copyrightmeldung under MenuItem 254 behave itself something irritating.

in the Interpreter can tappt im dunkeln itself Yes not unterdrücken; in the compilierten Program already.
unfortunately shining The Message but not through of/ one normalen Messagebox aufzupoppen.
here's one code (I mean of Andreas Miethe), the the exemplifies.
If one it in the Interpreter executing and the CR-characters clicking, swarms it soon of Messageboxen. to the testing means Please suitable Vorsichtsmaßnahmen grasp. the Program can itself then too over the Taskmanager not simply fire, since the Messageboxen The "Abschussfreigabe" überdecken!

in the compilierten status becomes then The normal Massagebox called and the program shows very 1x The Messagebox on and the Timer runs moreover.

its Perhaps one something spezieller drop but trozdem ought to the so not appear.
DEF SetATimer(4) !"USER32","SetTimer"
DEF KillATimer(2) !"USER32","KillTimer"
DEF GetTimeFormat(6) !"KERNEL32","GetTimeFormatA"

Proc timerproc

    Declare Text$
    Text$=Space$(20)
    GetTimeFormat(0,0,0,0,Addr(text $),20)
    Text$="Uhrzeit: "+Text$
    SetText %hwnd,Text$

ENDPROC

Cls
SetATimer(%hwnd,1,200,ProcAddr("timerproc",0))

While 1

    WaitInput
    locate 1,1
    Print &Loop,Rnd(100000),"Here can discretionary clicking and the watch runs weiter"

    If MenuItem(254)

        Case MessageBox("Wirklich?","Beenden?",4) = 6:Break

    EndIf

EndWhile

Print "\nDemo end."
Waitinput
KillATimer(%hwnd,1)
End
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
06/14/18  
 




Georg
Teles
One ähnliches trouble have I Schonmal in link with Hotkeys had (at trigger off watts The action unending repeatedly), can straight no example find, its a while since, be not sure but had ditto with ProcAddr zutun in link with Profan internem Timer.
 
XProfan X3
TC-Programming [...] 
XProfan 8.0 - 10.0 - X2 - X3 - X4

06/17/18  
 



I can only (over ands over again) moreover guess, no asynchronen Calls on by procAddr-bezogene functions "generieren" To let about by setTimer o.Ä.

this goes with nProcs against utterly free from problems, procs however are for simply not made/ geeinet.
 
06/18/18  
 




Jörg
Sellmeyer
What is with this nProcs differently, that it functions? would be it with ASM-functions under X14 weg?
 
XProfan X4
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
06/18/18  
 



Jörg Sellmeyer (18.06.2018)
What is with this nProcs differently, that it functions?


XProfan-functions are (in the ggs. To nProcs) no commonly functions with Funktionsadresse, The whom for a native function usual Opcode own.

XProfansche Prozeduradressen show not functions, The because of the Nature and point Rolands Implementation of ProcAddr asynchron to that XProfan-Programmablauf called/ injiziert go can. you're for programmablaufsynchrone Enumeration suitable.

thereby could Roland thoroughly ProcAddr dahingehend time improve and the Interpreter in a own Thread-Context spend so asynchrone Aufrufe in the Hauptthread Waiting could To the Interpreter "onidle" is and it then keep busy. sure plenty work the Hauptprogramm in a Proc To stuff but then would ProcAddr finally "sicher".

it enstehen particularly Problems with rekursiven Call, with which hierbei only already Aufrufe suffice The even often/ faster happen as the previous appeal on Time needed.

therefore z.B. The GWL_WNDPROC not a XProfan-Prozeduradresse settle, but against The EnumPrinters-function.

therefore can You too with CreateThread none Thread with of/ one XProfan-Prozeduradresse produce, but with of/ one nProc.

Jörg Sellmeyer (18.06.2018)
would be it with ASM-functions under X14 weg?


if with XProfan The Funktionsadresse into Process as Opcode geladener Inline-ASM-Programmabschnitte ermittelbar is, then can on this place whom ASM "absturzsicher" formulieren and very these address as Funktionsadresse use/ indicate too z.B. for CreateThread.

have The actually Using XProfan X4  [...]  sighted:

Jörg Sellmeyer (18.06.2018)
with the new function fAddr(name) can The Start-address of/ one importierten function, means too of/ one Assemblerfunktion, determined go. existing these function not, is there Result 0.


thereafter might it functions!
 
06/20/18  
 




Jörg
Sellmeyer
Thank you!
 
XProfan X4
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
06/22/18  
 




H.Brill
is of course already something longer since.
have but nevertheless, because I it straight needed,
out found :
RemoveMenu 32767' copyright Remove

If one in the Reshacker times under Menu schaut, finds one
whom exhaust for the copyright.

goes sowohl in the Interpreter as well as in the finished Program.
 
Benutze XPROFAN X3 + FREEPROFAN
Wir sind die XProfaner.
Sie werden von uns assimiliert.
Widerstand ist zwecklos!
Wir werden alle ihre Funktionen und Algorithmen den unseren hinzufügen.

Was die Borg können, können wir schon lange.
09/14/22  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

7.869 Views

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