English
Forum

mloadbmp problem, one StartPaint-trouble

 
- Page 1 -



Sato
Pinto
Hello Xprofaner

have in my Program the trouble the to mehrmaligen Load image and Show
after a couple minutes appear the Error How in the Image To see is

mloadbmp "oito.bmp"
MCopySizedBmp 0,10-300,215 > 485,10-300,215;-1

has someone a idea what the his could?

greeting
Sato
XProfan11
Win XP Home

289 kB
Hochgeladen:07/25/08
Downloadcounter131
Download
 
Sato Pinto
WIN XP Home
XPROFAN 11
07/25/08  
 



 
- Page 2 -



Sato
Pinto
Hello Rolf

The Hauptschleife

While %scankey <> 27 end with ESC
getmessage
" " "
" " "
" " "
Endwhile

greeting and thanks for your INC

Sat6
 
Sato Pinto
WIN XP Home
XPROFAN 11
07/25/08  
 



Sato Pinto
can You me Please a small example ... without The PCU ...


Should here already rumlungern, but should You get... (if I because To dwell be...) *g*

PS: Gewöhne you Please on, Source in the Forum with [ code ] To umrahmen, otherwise functions defined items not and the Texts weden difficult-To-wrong displayed. (z.B. wg. Smilies & co...) alternatively use simply [...]  - then need one only The URL post.
 
07/25/08  
 




Rolf
Koch
Have strain tested. in the Hauptschleife is aufjedenfall How vermutet Settimer, %wmtimer and Endtimer guilt.
VIelleicht The Uhrzeit somehow differently solve and for Thread number 4 for Loop benefit. If the then works, look we time moreover. because I can only on suspicion on Your code basteln
 
07/25/08  
 



@Rolf: %wmtimer becomes from the thread-unit not broken or irritiert since the thread-unit setTimer not by ID separate by Funktionsadresse anspricht.
 
07/25/08  
 




Rolf
Koch
but iF, if I in the code wmtimer rausnehme then happens the Error hold nothing around. I kuck time moreover.
 
07/25/08  
 



OK, the lying then on it, the it

a) over %wmtimer something auslöst

and

b) "zeitgleich" The Thread.Do "reinkloppt".

he'll startPainten - and then comes The thread.Do and wants too "startPainten"...

%wmtimer is here only one Alias but not the blamefully.
 
07/25/08  
 




Rolf
Koch
is correct iF.
I habs at least now a further switch to that dauerlauf and this very often persuated:
@Sato:
Ändere in the laufschrift.inc this:
CompileMarkSeparation
PROC SCROLLTEXT

    Parameters schrift%,bold%,backg&,Farbe%,string$,akt%

    if akt% = 0

        dec ydr%

    endif

    if inpaint%=0

        StartPaint backg&
        inpaint%=1
        TextColor farbe%,getpixel(1,1)
        UseFont "MS Sans Serif",schrift%,0,bold%,0,0
        DrawText xdr%,ydr% + (schrift%*akt%),string$+space$(500)
        ENDPAINT
        inpaint%=0
        case ydr% < (zeilenanzahl% * -schrift%) : ydr% = gesydr%

    endif

ENDPROC


and füge global one Declare inpaint% hinzu.
everything else time so let what's it like. hope, that to the trouble so bypass can.
 
07/25/08  
 



very Rolf, and this is the reason why I me already forever whom StartPaint-Stack of Roland wish... [...]  [...] 

Hehe Have already on the 18.01.2007 very this trouble posted... How should one something like too find?! The Community missing yet ever a function...
 
07/25/08  
 



Nachtrag: your method isn't sure, but safer! If your Proc strain startPaint unzipped has could The thread.do reinhüpfen and startPaint open want.

it helps really only if any pages (means your inc and his code) no StartPaint use and only hiernach [...]  works.
 
07/25/08  
 



i'm strain on the update from the furchtbaren Source the startPaint-Stack-Paketes.

The joke is, too so ists not sure, only safer! even if Roland now a startPaint-Stack installed had, then would the too only safer and as long as not sure, To too the procAddr-trouble fixed is. Oje! (because one call on a function which StartPaint uses would then immernoch whom Error produce, or if intern gestackt, on incorrect pics draw)
 
07/25/08  
 



Please: [...] 

it must nirgends startPaint or EndPaint use, only yet startPaint2 and EndPaint2 from the pkg.

self then is it however not sure, separate only safer.

The joke is only, becomes it on The Thread-Unit dispense and subClassProc use is this hoisted not at all necessary.
 
07/25/08  
 



here The Variante to subClassProc.

458 kB
Hochgeladen:07/25/08
Downloadcounter30
Download
 
07/25/08  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

4.576 Views

Untitledvor 0 min.
RudiB.05/16/21
kustg12/18/19
Peter Max Müller03/13/17
iF03/02/13
More...

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