English
Forum

Error oGL("show")

 
- Page 1 -



Thomas
Zielinski
Hello people,
I have me recent a new Laptop gotten and wished now moreover with XProfan basteln. thereby have I me a middle-aged View source loaded whom I again perform wished in order to sehn I already having. well then bekamm I each time whom equal Error. After comment konnt I everything exclude except for oGL("show"). each time if now the appeal coming, hängte itself XProfan in the 32bit-Version on and the 64bit-Version watts the error short into Window geschmißen and then the program again exits. there the Error everywhere whom equal Content has here the from the 64bit-Version. (The Xprofanversion is alike been. with 11 and 12 always the same)

[FORMS.PP] ExeptionOccurred
Sender=EInvalidOp
Exception=Invalid floating point operation
Stack trace:
$0000000069E1E67C
TApplication.HandleException Invalid floating point operation
Stack trace:
$0000000069E1E67C
[FORMS.PP] ExeptionOccurred

myself Have one Aspire 7750G
Intel Core i7-2630QM
AMD Radeon HD 6850M
8GB DDR3

and here yet the Code me
 {$iq}
//compiliert the same Error

proc DrawGLScene

    oGL("Clear")
    oGL("Rotate", 0, 0, 45)
    x%=(-9)
    y%=(-9)

    While x% < 10

        y% = (-9)

        While y% < 10

            oGL("Origin", x%, (-1), y%)
            oGL("Sphere", 0.3, 16, 16)
            inc y%

        EndWhile

        inc x%

    EndWhile

    oGL("Show")//if auskommentiert then is everything well only ebend no display :(

endproc

' Hauptprogramm
declare end%,x%,y%
CLS 0
oGL("Init", %hWnd, 0, 0, 0, 0)
oGL("PosMode", 1)
DrawGLScene()
ende% = 0
SetTimer 100

WhileNot end%

    WaitInput

    If %WMTimer

        DrawGLScene()

    endIf

    if %key = 27

        end% = 1

    endif

EndWhile

KillTimer
end

Greeting Thomas
 
XProfan X4; Win10 x64
Der Kuchen ist eine lüge!
04/29/11  
 



« this Posting watts as Solution marked. »


Thomas
Zielinski
After the newest, newest new Update goes everything. I hate computer
 
XProfan X2
Win7 Home Premium, SP1, Core(TM) i7-2630QM @ 2.00GHz

XProfan X4; Win10 x64
Der Kuchen ist eine lüge!
02/03/12  
 



Hey!

by me functions it without crash and on attempt see so did i none Error though You with many OGL-functions Floatkonstanten as Parameter imho rather always by Float-spelling (with point) transfer should How z.B with:
CompileMarkSeparation
oGL("Rotate", 0.0, 0.0, 45.0)
>
instead of
CompileMarkSeparation
oGL("Rotate", 0, 0, 45)
>

the having by me time Problems causes.

functions because others OGL-Applications with you? Something like How Okrea ( [...]  or so... ^^) ?
 
04/29/11  
 




Thomas
Zielinski
things How Okrea functions free from problems and the Float-spelling ohat too no Results brought.
i want almost bet, this is ever so a speziele nö with you I will not thing.
Updates are too any currently what about me Have simply no idea More what it yet his could
 
XProfan X4; Win10 x64
Der Kuchen ist eine lüge!
04/29/11  
 



Hm well you have NEN Sphere, Origin, Rotate and Clear - what of it ausgeklammert can the program go through?
 
04/29/11  
 



self-contained of it... so siehts by me from:



functions these Exe with you?

Download

15 kB
Hochgeladen:04/29/11
Downloadcounter109
Download
1.032 kB
Hochgeladen:04/29/11
Downloadcounter111
Download
 
04/29/11  
 




Thomas
Zielinski
If I oGL("show") ausklammer runs everything. with whom others is it alike How me shining. and so as with you looks, should it yet aussehn.
and No The Exe runs not. Error see Image


7 kB
Hochgeladen:04/29/11
Downloadcounter113
Download
 
XProfan X4; Win10 x64
Der Kuchen ist eine lüge!
04/29/11  
 




RGH
such a thing could naturally too a problem the OpenGL-Implementierung the Bildschirmtreibers his. in the firm have I a computer, the with designed OGL-Operationen too crashes. Möglicherweise helps one driver-Update ... if it one gives.

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
04/30/11  
 




Thomas
Zielinski
on driver I thought already, and I me whom aktuellsten installs. still too the brought none success. if need be must I ebend on my little moreover make. but a little bit wurmt me the already
 
XProfan X4; Win10 x64
Der Kuchen ist eine lüge!
04/30/11  
 



Thomas Zielinski

If I oGL("show") ausklammer runs everything.


the must imho but not same hot, that it too on ogl.show lying.

functions this (X10) Tron [...]  ?

what happens with you if you only ogl.init and ogl.show anwendest?

Liegts vlt. on the Fensterstil?
 
04/30/11  
 




Thomas
Zielinski
-Tron not working. just as little as OpenGL-Examples of Roland How Mazegen, Muell3D and planets

-whom Windowstyle can I change How i will without Result.

-I Have whom code now one minimum on Possibility gekürzt and yet TraceOn moreover taken, and always How oGL("Show") in application coming, depends it itself again on.
CompileMarkSeparation
 {$iq}
//TraceOn
CLS
oGL("Init", %hWnd, 0.0, 0.0, 0.0, 0.0)
oGL("Show")
WaitInput
E

-in the 64bit-Version smears it incidentally ex if one whom Window Style 64 (without title bar) using. too with Dreizeilern. The detailed Error Message sees one always go ahead short, I tappt im dunkeln round up could.
 
XProfan X4; Win10 x64
Der Kuchen ist eine lüge!
04/30/11  
 



Oje but Okrea functions on this computer?

there initialisiere I so:
CompileMarkSeparation
ifnot oGL("Init", _oglwnd&, 0.0,0.0,0.0, 1)re>

and _oglwnd& is:
CompileMarkSeparation
_oglwnd&=createChildWindowAsStatic(_hwnd&,".OglParent",0,0,0,0)
>
and createChildWindowAsStatic is:
CompileMarkSeparation
proc createChildWindowAsStatic

    parameters h&,s$,x&,y&,xx&,yy&
    declare ws&
    h&=create("ChildWindow",h&,s$,x&,y&,xx&,yy&)// child erzeugen
    // titelbar und rahmen entfernen | setwindowlonggedöns
    ws&=GetWindowLongA(h&,-16) - $C00000 - $40000
    SetWindowLongA(h&,-16,ws&)
    return h&

c

And if You it time with XProfan 10 probierst?
 
04/30/11  
 




Thomas
Zielinski
Yes very, Okrea went. as long as createChildWindowAsStatic with the size 0,0 prepares becomes, shining it To gehn. Mach I But larger again BÄM.
and the 10Ner Version Have I do not. having I übersprungen.
 
XProfan X4; Win10 x64
Der Kuchen ist eine lüge!
04/30/11  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

32.625 Views

Untitledvor 0 min.
Georg Teles10/26/21
p.specht12/15/20
Andreas Koch09/14/15
Torsten Rümker06/03/15
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