English
C ++ Forum

Error Message : & OGLBMP not ladbar !

 
Hello, here comes The Error Message : &OGLBMP not ladbar !
Compiliert with Bcc5.5 and Profan2Cpp 2.0a

mfg
CompileMarkSeparation
declare ende%
declare rtri!, rquad!, wert!
Declare hWin&, hDlg1&, hDlg&,handleogl&,hDlg2&,hintergr&
declare B1%,B2%,B3%,B0%

proc DrawGLScene

    oGL(Clear)
    oGL(Origin, -1.5, 0, -6)
    oGL(Color, 0, 0, 1, 1)
    oGL(Rotate, 0, rtri!, 0)
    oGL(Triangle, 2, 2)
    oGL(Origin, 1.5, 0, -6)
    oGL(Color, 1, 0, 0, 1)
    oGL(Rotate, rquad!, 0, 0)
    oGL(Quad, 2, 2)
    oGL(Show)
    rtri! = rtri! + wert!
    rquad! = rquad! + wert!

    if rtri! > 360

        rtri!=0

    endif

    if rtri! < 0

        rtri!=360

    endif

    if rquad! > 360

        rquad! =0

    endif

    if rquad! < 0

        rquad! = 360

    endif

    DeleteObject handleogl&
    handleogl&=create(hPic,0,&OGLBMP )
    StartPaint hDlg2&
    drawpic hintergr&,0,0;0
    drawpic handleogl&,0,0;-1
    EndPaint

endproc

hWin& = @Create(Window, %hWnd, Ogl, 0, 0, 320, 200)
hDlg& = @Create(Dialog, hWin&, Button, 320, 200, 320, 200)
hDlg1& = @Create(Dialog, hWin&, Ausgabe, 0, 200, 320, 200)
hDlg2& = @Create(Dialog, hWin&, OglPic, 320,0,320,200)
B1% = @Create(Button,hDlg&,vorwärts,020,020,100,030)
B2% = @Create(Button,hDlg&,rückwärts,20,060,100,030)
B3% = @Create(Button,hDlg&,ende,20,100,100,030)
B0% = Create(Button,hDlg&,,0,0,0,0)
oGL(Init, hwin&, 0, 0, 0, 0)
oGL(PosMode, 1)
Ende% = 0
wert!=0
hintergr&=create(hnewpic,320,200,$00ffff)

WhileNot ende%

    sleep 1

    If Getfocus(B1%)

        wert!=wert!+0.2
        setfocus(B0%)

    elseIf Getfocus(B2%)

        wert!=wert!-0.2
        setfocus(B0%)

    ElseIf @Clicked(B3%)

        ende%=1

    EndIf

    DrawGLScene
    StartPaint hDlg1&
    DrawText 20,20,(rtri!  =  + Format$(#####0  ,rtri!))
    DrawText 20,50,(rquad! =  + Format$(#####0  ,rquad!))
    DrawText 20,80,(wert! =  + Format$(###,##0.00  ,wert!))
    EndPaint

EndWhile

End
 
02/27/09  
 




Sebastian
König
Hello Peter,

Peter Bierbachh
Hello, here comes The Error Message : &OGLBMP not ladbar !
Compiliert with Bcc5.5 and Profan2Cpp 2.0a


thanks for Info! The problem becomes evident therefore triggered, that to that Time the Call no Mainwindow present is. I login me again, when the Error fixed is.

MfG

Sebastian
 
Windows XP, XProfan/Profan² 4.5 bis 11
Profan2Cpp-Homepage:  [...] 
Alte Profan²-Seite:  [...] 
02/27/09  
 




Sebastian
König
so, I could the trouble to fix . I mail you same by PM a korrigierte Library.
 
Windows XP, XProfan/Profan² 4.5 bis 11
Profan2Cpp-Homepage:  [...] 
Alte Profan²-Seite:  [...] 
02/27/09  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

5.248 Views

Untitledvor 0 min.
funkheld12/17/13
iF02/14/11

Themeninformationen

this Topic has 2 subscriber:

Sebastian König (2x)
unbekannt (1x)


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