| |
|
|
| I have there a question. I have Prospeed.dll time already einwenig with Profan aufprobiert and its a crazy thing. now be I on Purebasic attentive become. it has a, so find I, better Syntax. The Thread and others Approaches find I very tensive. still would like I The Prospeed.dll not lose. to that example because of whom Tiles and such stories. with some functions has it well worked. still I question me very wieso it in the folgendem example not functions. I have me already The teeth ausgebissen but I find whom Error not. And if someone me a Tipp give could the Perhaps a little Purebasic knows would I very grateful.
OpenWindow(0,0,0,800,400,#PB_Window_SystemMenu,Window 1) ;Fenster erstel len
string.s = background.jpg ;String define WID.l = WindowID(0) ;Windows lever define
If OpenLibrary(0, ProSpeed.dll) ;Dll Open EndIf
FLoadExtImage.l = IsFunction(0, LoadExtImage) ;Adresse the function
FCopyExtBmp.l = IsFunction(0, CopyExtBmp) ;Adresse the function
background.l = CallFunctionFast(FLoadExtImage, @string) ; Image loading mitt els Prospeed Error.l = CallFunctionFast(FCopyExtBmp,WID,0,0,800,400,background,0,0,0) ;Bild present
Repeat ;Loop beginning EventID = WaitWindowEvent() ; Waiting on Ereigniss
If EventID = #PB_Event_CloseWindow ; Ereigniss auswärten Quit = 1 ; Quit Variable settle EndIf
Until Quit=1 ; Loop end
CloseLibrary(0) ;Dll close
End ;Ende
then think I is it too on the Time the Frank time thanks To say. for its trouble and the super gelungene Prospeed.dll. once I my erstes larger ones proposition exits have I will naturally too Register.
thank you very much
NY |
|
|
| |
|
|
|
| Tjaaaaahhhh, is naturally not so slight there probably the most not with PB works. I personally know it not at all. Gibbed the to that disengaged Download? So I try it nevertheless time, though I with my completions warscheinlich failure will be.
means your example in the Grunde is Yes this: (gekürzt)
OpenWindow(0,0,0,800,400,#PB_Window_SystemMenu,Window 1) string.s = background.jpg WID.l = WindowID(0) OpenLibrary(0, ProSpeed.dll) FLoadExtImage.l = IsFunction(0, LoadExtImage) FCopyExtBmp.l = IsFunction(0, CopyExtBmp) background.l = CallFunctionFast(FLoadExtImage, @string) Error.l = CallFunctionFast(FCopyExtBmp,WID,0,0,800,400,background,0,0,0) CloseLibrary(0)
2. curtailment:
string.s = background.jpg WID.l = WindowID(0) OpenLibrary(0, ProSpeed.dll) FLoadExtImage.l = IsFunction(0, LoadExtImage) FCopyExtBmp.l = IsFunction(0, CopyExtBmp) background.l = CallFunctionFast(FLoadExtImage, @string) Error.l = CallFunctionFast(FCopyExtBmp,WID,0,0,800,400,background,0,0,0) CloseLibrary(0)
1. assumption:
blabla.s <-- the .s means string, .l = long?
3. curtailment:
string$ = background.jpg WID& = WindowID(0) OpenLibrary(0, ProSpeed.dll) FLoadExtImage& = IsFunction(0, LoadExtImage) FCopyExtBmp& = IsFunction(0, CopyExtBmp) background& = CallFunctionFast(FLoadExtImage&, @string) Fehler& = CallFunctionFast(FCopyExtBmp&,WID&,0,0,800,400,background&,0,0,0)
Wäres it now (not syntaktisch) logical still correctly.?
then come into being but a couple ask:
1.question: If you openlib say, get You then no lever? let itself means in PB always only a DLL zeitgleich address around the functions from it one lever To miss out on? or Why need isfunction no lever?
2.question: is the so normal in PB? string$ = background.jpg CallFunctionFast(FLoadExtImage&, @string) I mean, {string.s and @string } is the so correctly in PB or lying here the Error?
3.question: is it in Prospeed correctly. the one How You fundamentally Copyextbmp (%hwnd,0,0,800,400,LoadExtImage (background.jpg),0,0,0) say can?
means if any three ask with Yes To answer are, then Have so did i none blassen.
Well, Perhaps helps it Yes nevertheless.
iF |
|
|
| |
|
|
|
| Hi,
directly help can I unfortunately neither. though has Heinz Brill for my List view.dll (The indeed with MASM32 program is) some Source code written and a PureBasic Inc-File. Lad you the still time down and try anhand this Codes your Error to find. is sure only a Kleinigkeit !
Greeting, Frank |
|
|
| |
|
|
|
| thanks I have whom Feheler found WindowsID() gives not yet the final lever back because correctly. does it so:
windowDC = GetDC_(windowID)
so functions it then.
PEACE
NY |
|
|
| |
|
|
|
| Hi,
if You me a couple PureBasic-ProSpeed Demos (z.B. Bitmaps, Sprite and FX) plus Inc available position, erhälst You a Gratisregistrierung !
Greeting, Frank |
|
|
| |
|
|
|
pe-bier | Hello, which pure-basic-Version is the, with the You work. is Yes a interesting thing. mfg pebisoft |
|
|
| |
|
|