Español
C ++ Foro

Fehlermeldung : &OGLBMP no ladbar !

 
¡Hola, hier kommt el Fehlermeldung : &OGLBMP no ladbar !
Compiliert con Bcc5.5 y Profano2Cpp 2.0a

mfg
KompilierenMarcaSeparación
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
 
27.02.2009  
 




Sebastian
König
¡Hola Peter,

Peter Bierbachh
¡Hola, hier kommt el Fehlermeldung : &OGLBMP no ladbar !
Compiliert con Bcc5.5 y Profano2Cpp 2.0a


danke para el Referencia! Das Problema se offenbar dadurch ausgelöst, dass para Zeitpunkt des Aufrufs kein Ventana principal disponible es. Yo melde mich otra vez, sobald el Fehler Fijo es.

MfG

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




Sebastian
König
So, Yo podría el problema beheben . Yo schicke Usted igual por PM una korrigierte Biblioteca.
 
Windows XP, XProfan/Profan² 4.5 bis 11
Profan2Cpp-Homepage:  [...] 
Alte Profan²-Seite:  [...] 
27.02.2009  
 



Respuesta


Título del Tema, max. 100 Signo.
 

Systemprofile:

Kein Systemprofil creado. [anlegen]

XProfan:

 Contribución  Font  Smilies  ▼ 

Bitte registro en una Contribución a verfassen.
 

Tema opciones

5.244 Views

Untitledvor 0 min.
funkheld17.12.2013
iF14.02.2011

Themeninformationen

Dieses Thema ha 2 subscriber:

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


Admins  |  AGB  |  Applications  |  Autores  |  Chat  |  Política de Privacidad  |  Descargar  |  Entrance  |  Ayuda  |  Merchantportal  |  Pie de imprenta  |  Mart  |  Interfaces  |  SDK  |  Services  |  Juegos  |  Búsqueda  |  Support

Ein Projekt aller XProfan, el lo son!


Mi XProfan
Privado Noticias
Eigenes Ablageforum
Temas-Merkliste
Eigene Beiträge
Eigene Temas
Zwischenablage
Cancelar
 Deutsch English Français Español Italia
Traducciones

Política de Privacidad


Wir uso Cookies sólo como Session-Cookies wegen el technischen Notwendigkeit y en uns hay no Cookies de Drittanbietern.

Wenn du hier en unsere Webseite klickst oder navigierst, stimmst du unserer Erfassung de Informationen en unseren Cookies en XProfan.Net a.

Weitere Informationen a unseren Cookies y dazu, como du el Kontrolle darüber behältst, findest du en unserer nachfolgenden Datenschutzerklärung.


einverstandenDatenschutzerklärung
Yo möchte no Cookie