473,320 Members | 1,870 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Tao Crashes on Laptop - Using OpenGL & VB.NET

Hi,

Having given up on CsGL, I have recently integrated the Tao OpenGL
components into a VB.NET application that I am developing. I have a
problem though in that it works fine on two of the machines we have,
but on one of the laptops it crashes. When I say crashes, I mean the
CPU use goes to 100% and the application hangs. The only way to recover
is to kill it from the Task Manager.

The application is a CAD package and it has a "3D Viewer" and "3D
Editor" which come up in modal windows from the main form. I am
creating the 3D control as an inherited control from the
Tao.Platform.Windows.SimpleOpenGlControl. I ensure that the
InitializeContexts sub is called on the control in the New on the form
and the DestroyContexts sub is called on the control in the Dispose on
the form.

The refreshing is done "as needed" within the form, so e.g. only when
the building is rotated or zoomed. Otherwise, no refresh/redrawing is
done.

Further symptoms are that when you open the sub-form, the CPU use
creeps up e.g. by 20% and when you close the form it sometimes either
does not go back down, or only goes back down a little bit. So after
say 3 or 4 times of opening the sub-form and closing it again, the CPU
use for my application will be at 60% even though there is nothing else
happening.

I am using Tao 1.2 at the moment as Tao 1.3 had only just been released
when I integrated the code and I thought it would be better tested in
the community. Should I switch to Tao 1.3 for better stability?

Also, is there something I am not doing correctly, or something
missing. Thoughts that occur to me are that I am not initialising
things or destroying things correctly. Or maybe there are further .dll
files etc. that need to be put in the Windows System folder to support
Tao on target systems?

Any assistance would be much appreciated.

Thanks,

Mark.

Sep 25 '06 #1
0 1331

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: oracle411 | last post by:
Hi I'm new to OpenGL, but have an OpenGL application written in CPP that I would like to display on a web browser. Was wondering how this could be done? Thank you very much
0
by: Steven Scott | last post by:
Hello, Here is a bizarre one... When I use the Visual Designer to edit an existing form in C#, the IDE crashes every time I change a property on the property page. But, if I create a new...
10
by: Bad_Kid | last post by:
which is better for what?
2
by: jondotdot | last post by:
I am trying to use openGL to draw to a C++.NET panel... Any suggestions of where I might find some sample code.. thanks
3
by: headware | last post by:
We're using an access database and are getting a lot of crashes when as little as 3 or so users try to write to the database at the same time. Typically it's the "operation must use updateable...
4
by: hgraham | last post by:
I've recently noticed that there seems to be some font size differences (I'm guessing) in pages being viewed in FF 1.5 on my laptop which causes the whole layout to fall apart. You can see this...
3
by: jg.campbell.ng | last post by:
I'm beginning learning Python and OpenGL in Python. Python fine. But difficulties with OpenGL; presumably with the installation of OpenGL. OS = Linux FC5. Python program gl_test.py: from...
6
by: robert | last post by:
I get python crashes and (in better cases) strange Python exceptions when (in most cases) importing and using cookielib lazy on demand in a thread. It is mainly with cookielib, but remember the...
0
by: =?ISO-8859-1?Q?S=E9bastien_Ramage?= | last post by:
Hi ! How can I make an exe that use the new pyopengl 3.0.0b1 ??? I use py2exe 0.6.6 with the 3.0.0a6 version I have make it working by copying the egg and by forcing loading it at the start...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.