| |
|
|
- Page 1 - |
|
GDL | Hi Profaner,
have the trouble,that programs which Startpaint Endpaint,or Global benefit on my middle-aged 1GHz board correct weg,but on my new 2,6 GHz board not any more.
Startpaint Endpaint goes only More in the interpreter mode.as Exe File only yet then, if behind each Endpaint one Waitinput follows.self with one Sleep 1000 behind Endpaint flashing only Bruchteile the Textes short on,before The Programmunterbrechung entering.
Global(xyz&,13) Sendkey functions only then, if same hereon one Sleep 200 follows. without the sleep commands becomes Global simply not carryed out.
have 2,6 GHz Intel CeleronD board with 510 MB RAM WindowsME and XProfan 8.0.
having someone already similar Problems?
with friendly greet Georg Dankesreiter |
|
|
| |
|
|
|
| |
|
- Page 1 - |
|
GDL | Hi If
thanks for hint.there but the users whom Text certainly should I The Stringvariable before first in a BMP File transfiguring. the whole Program(dBase Dateigenerator with small Programieroberfläche) arose really only,because I from you known reason my kompletten programs new write must.there me thereby some Profaner helped having whom Dateigenerator hinzukriegen,wished I this now as Freeware for Beginner(but only for hiesige Members and only on your Forum dull) offer.
the the Dateigenerator as EXE with of/ one Staticsorte not goes,have I first notice as i the Installationspacket to that Upload herrichtete and over again before Durchtestete.
Perhaps lying the Error too in another Programmteil,whom the Interpreter ignoring and the Compiler not.gray Statics can komischerweise anstandslos beschriften. one can I but now 100%ig exclude,on the new board liegts not.on the middle-aged board having the program yet no weißen Statics and jetzige Version runs on the middle-aged board not correctly..
resolve now concerned Lines from the Gesamtcode and look what then happens.Rolf has me too what to that testing skillful,over again ne chance.
Perhaps wars so did i something Vernünftiges on The legs.
with friendly greet from the yet verschneiten Niederbayern Georg |
|
|
| |
|
|
|
GDL | Hi If,
copy here simply The Message on Rolf
Hi Rolf
laid a night shift one,there me this thing no silence let. have it now resolved.
have your code simply Piece for Piece zerlegt,thereby coming the following out:
declare test& proc font startpaint test& UseFont COURIER,0,12,0,0,0 drawtext 1,1,Test endpaint endproc cls test&=Control(STATIC,Test,$54001006,200,20,100,20,%hwnd,0, %hInstance,$0) font font waitkey
with einmaligen Calling the Procedure Font have I gleiches altes trouble. there but You in Your example The Procedure number of times Durchlaufen can,have I The Proc. simply time twice one after another called. If I it neither understand,but then I ment at a single blow.
now let I in my Program Startpaint Endpaint too number of times Durchlaufen and It's all right too.
declare hg% whilenot hg% > 2 startpaint objekt&[num%] UseFont COURIER,0,12,0,0,0 drawtext 1,1,objekt$[num%] endpaint inc hg% wend
without your Sourcecode would I never on The idea come Startpaint Endpaint number of times one after another aufzurufen.over again thanks.
an latest Please had I yet,could someone explain Why this so is,or whether this only under WinME so is.
means over again you both one large Thank you.
with friendly greet Georg
for If
If nothing dagegenspricht would I the Prog. over again run through and on The menace there,that it on other Win.versions except ME not runs you zukommen let.i want it now still not any more unangesehen on The Members release. |
|
|
| |
|
|
| |
|
- Page 2 - |
|
|
| it speaks well nothing against it.
salvo, iF |
|
|
| |
|
|
|
GDL | Hi If
my application uses a couple Include Files of Prfellow.Prfellow Although Freeware,but can only Include Files too relayed go?unless then lösche I these from the directory and You must these then manually from Prfellow insert.Thomas Hölzer can Yes unfortunately not any more inquire.
with friendly greet Georg |
|
|
| |
|
|
|
| I faith not the it something against it had. it serves Yes the object and appointed becomes it indeed.
salvo, iF |
|
|
| |
|
|
|
| Hello Georg...
Profan processing Messages in the interpreter mode to eachone row, in the EXE only to eachone zwanzigsten row (More speed) => therefore The differences. If you with Starpaint / Endpaint work, must anyhow always one Repaint since, so How You the already recognized have. |
|
|
| |
|
|
|
GDL | Hi Andreas
Beautiful slow comes one on The Kniffe.if If the Prog.for erwähnenswert holds,would like I it here downloadable make.there You me before already helped have,are you in Startdialog erwähnt. If you this not want,say if it should it not yet provide.
with friendly greet Georg |
|
|
| |
|
|
|
| I can only say that I the Prog not yet durchexaminiert have. the typsiche Why and so wieso-Syndrom is yet on the werkeln. If ichs geblickt have then poste I it gladly - its finally one beträchtliches Piece work - respect!
salvo, iF |
|
|
| |
|
|
|
| Hello Georg...
[quote:466d42be0b] If you this not want,say if it should it not yet provide. [/quote:466d42be0b] the remaining you give over.
About The Problems with the Messagehandling can very slight stumbling: Profan catches Messages ex, circa z.B. The profaneigenen System-Variables (u.a. %MENUITEM) To settle. %MENUITEM is really too nothing other as the Return Value of/ one Message (or much better another combination from meheren Messagerückgaben). in the Interpreter processing Profan The Messages to eachone row, in the compilierten EXE against it to eachone 20.row. before windows means The Info get, that possible something neugezeichnet go must, can the program already twenty Lines moreover his. gaudy becomes the in the rule but only on to put, on them Programmabschnitte vorkommen, The longer Time in claim take (ADDFILE,PLAYSOUND,Sleep...).
here something integrally simple as example: CompileMarkSeparationWindowStyle 31
Windowtitle "Messagehandling in Profan"
Window 0,0-640,400
Declare Listbox&
LET LISTBOX&=@CREATELISTBOX(%HWND,"",20,20,300,300)
@ADDSTRING(LISTBOX&,"Vor Sleep")
Beep 1
Sleep 10000
While @equ(0,0)
Waitinput
CompileMarkSeparation or too time the: CompileMarkSeparationWindow Style 31
Windowtitle "Messagehandling in Profan"
Window 0,0-640,400
Declare Listbox&
REM
REM
REM
REM
REM
REM
REM
REM
REM
REM
REM
REM
REM
REM
LET LISTBOX&=@CREATELISTBOX(%HWND,"",20,20,300,300)
REM
REM
@ADDSTRING(LISTBOX&,"Vor Sleep")
Beep 1
Sleep 10000
@ADDSTRING(LISTBOX&,"Nach Sleep")
While @equ(0,0)
Waitinput
Wend
Messages go u.a. to one Waitinput processing => therefore IFs suggestion with the Timer. I hope, I could you little more Durchblick by the thing verschaffen - is too for something erfahrenere people heavy To durchschauen... |
|
|
| |
|
|
|
GDL | Hi Andreas
cool,the your any me help.want not simply blind everything take,separate as much as possible learn on such things,The really no Error are.will be you certainly moreover with banalen ask keep busy.
with friendly greet Georg Dankesreiter |
|
|
| |
|
|
|
| very for is these Community there.
salvo, iF |
|
|
| |
|
|
|
| |
|
| |
|
|