| |
|
|
GDL | Hi,
have the trouble, that The Bildbuttons not always the new Wechselbild loading. 3 time GEHTS, then remaining the Button gray, then GEHTS Perhaps 10 time To the Button again gray remaining etc.
if worth%=0 ruddy
name$= astart$+"\gleisplaner\Images\presentment15a.BMP"
bild_&[through%] = @Create("HPIC", -1, name$)
Sendmessage(signal_&[through%],$00F7,0,bild_&[through%])
elseif worth%=1 green
name$= astart$+"\gleisplaner\Images\presentment15b.BMP"
bild_&[through%] = @Create("HPIC", -1, name$)
Sendmessage(signal_&[through%],$00F7,0,bild_&[through%])
elseif worth%=2 gelbgrün
name$= astart$+"\gleisplaner\Images\presentment15c.BMP"
bild_&[through%] = @Create("HPIC", -1, name$)
Sendmessage(signal_&[through%],$00F7,0,bild_&[through%])
elseif worth%=3 rangier
name$= astart$+"\gleisplaner\Images\presentment15d.BMP"
bild_&[through%] = @Create("HPIC", -1, name$)
Sendmessage(signal_&[through%],$00F7,0,bild_&[through%])
endif
this Codeteil runs in a Hauptschleife without Waitinput and the Thread.pcu runs with two Threads. One Dulco iF into Hauptschleife or on anybody place between name$= astart$+\gleisplaner\Images\presentment15c.BMP bild_&[through%] = @Create(HPIC, -1, name$) Sendmessage(signal_&[through%],$00F7,0,bild_&[through%])
installed lindert the affair only ex.gives it otherwise yet irgendeine Possibility ?
Hello Georg |
|
|
| |
|
|
|
Jörg Sellmeyer | Why erstellst Thou the Bildhandle over ands over again new? You need still really only to the Loop your three Handles fetch and the Loop Sendmessage(Signal_&[through%],$00F7,0,Bild_&[worth%]) insert.
name$= Astart$+"\gleisplaner\Images\presentment15a.BMP"
Bild_&[0] = @Create("HPIC", -1, name$)
Name$= Astart$+"\gleisplaner\Images\presentment15b.BMP"
Bild_&[1] = @Create("HPIC", -1, name$)
Name$= Astart$+"\gleisplaner\Images\presentment15c.BMP"
Bild_&[2] = @Create("HPIC", -1, name$)
SetTimer 1
While 1
Case hardship(%wmtimer):WaitInputso becomes The Processor load drastisch minimizes - goes naturally not so simply, if You yet More Timer using.
Case %key=27:Break
worth%=GetWert()or How always You whom worth ermittelst
Sendmessage(Signal_&[through%],$00F7,0,Bild_&[worth%])
Wend
KillTimer
Greeting Jörg |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 08/29/06 ▲ |
|
|
|
|
GDL | Hello Jörg,
I have The Images always desswegen new prepares, I from the opinion ausging in memory could only at the same time one Image to Übergabe stand.will be it same test times.
Hello Georg |
|
|
| |
|
|
|
Jörg Sellmeyer | first if you end with DeleteObjekt hBild& the Objekt löschst, is it too disappeared. therefore indeed the aray to that Save the Handels. In Your drop then simply:
and well is! |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 08/29/06 ▲ |
|
|
|
|
GDL | must unfortunately ne others Solution find, there of my altogether 60 Images only seven to create.... übernommen and be each Image only once allocated go can.
Hello Georg |
|
|
| |
|
|
|
GDL | command back, lying on the computer.under 1 Ghz computer GEHTS not, above already.
Hello Georg |
|
|
| |
|
|
|
Jörg Sellmeyer | are The Images so big? You need naturally each Image only once with Create(hPic,...) one lever allocate. the can You then on as much as you want Controls lay!.
Greeting Jörg |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 08/29/06 ▲ |
|
|
|
|
GDL | 1 GHz related on The Taktfrequenz. |
|
|
| |
|
|
|
| [quote:b6e3675cd0=GDL]1 GHz related on The Taktfrequenz.[/quote:b6e3675cd0]These against ought to for Funktionalität beside the point his... |
|
|
| |
|
|
|
GDL | Is anyhow NEN komisches board. no Program ( neither commercial) can without crash on The RS232 grab, if these without NEN Windowsinstaller aufgespielt get.(90% all Steuerprogramme are DOS programs). These UART ticket functions only with Programs, The in windows registered are. bring it already yet running.
having unfortunately 10 computer this Type (VHS present) in the association.
Hello Georg |
|
|
| |
|
|
|
Michael Wodrich | with this Sicherheitsfimmel get one still a Schreikrampf. can You The Zertifizierungspflicht not simply switch off? (Adminmodus).
Best wishes Michael Wodrich |
|
|
| Programmieren, das spannendste Detektivspiel der Welt. | 08/30/06 ▲ |
|
|
|
|
GDL | was one Frühversuch one UART Herstellers on Hardwarebasis with Bios.Should I the Bios on the RS232 ticket(component aufm board) Change can. The computer were Dummys on one the first LAN Netze.
have even the Prog. on my Urrechner NEN 486DX33 with 8 MB RAM and win95 tested. UND ES LÄUFT. it's located means definitiv on the stupid Peacock BOARD.
Hello Georg |
|
|
| |
|
|