473,806 Members | 2,443 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.Wi ndows.SimpleOpe nGlControl. I ensure that the
InitializeConte xts 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 1352

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

Similar topics

15
4550
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
971
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 form, I have no problems. To add to the confusion, if I edit the same form on my old laptop, I have no problems. Is there some kind of resource problem tied to moving a project to
10
5228
by: Bad_Kid | last post by:
which is better for what?
2
1845
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
1156
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 query" error or the "file already in use" error. The server is really just a laptop running Windows XP pro with 256 Megs of memory. It doesn't really have to accommodate more than 10 users at once but it's crashing out at way less. We can't figure...
4
1937
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 page here: http://www.behealthy.com/healthy.cfm and look at the login section. The login boxes should be side-by-side but they're not when I view the page on my laptop. It looks fine on my desktop. I don't have this problem when I look at these...
3
9997
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 OpenGL.GLUT import *
6
2366
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 problem also with other imports (e.g. urllib2 etc.). And again very often in all these cases where I get weired Python exceptions, the problem is around re-functions - usually during re.compile calls during import (see some of the exceptions below). But...
0
1512
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 of the app but it doesn't work with this version
0
9719
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9597
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10369
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10372
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7650
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6877
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4329
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3851
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.