Results 1 to 3 of 3

Thread: OpenGL, Delphi, Resizing Problem

  1. #1
    Member Contributor
    Join Date
    Aug 2001
    Location
    sdddskskfj
    Posts
    54

    OpenGL, Delphi, Resizing Problem

    Hi guys.

    I'm making an OpenGL application on Delphi just as a test, but It's not working the way I want.

    I'm using a TPanel to set the OpenGL Rendering Context, and I can't resize it!!!

    Resize, means using the Tpanel.Width and Tpanel.Height properties (or when Align <> alNone and whe resize the Principal form).

    When I use it (not every time), the application crashes and a message like this appears:

    'access violation at 0xbff25dd5: read of address 0x81fb7000... etc'.

    After, a window with a lot of Assembly code appears and I have to close it.

    What is happenning?
    Fernando

  2. #2
    Member Contributor
    Join Date
    Aug 2001
    Location
    sdddskskfj
    Posts
    54

    Re: OpenGL, Delphi, Resizing Problem

    The problem disappears when I run the executable file.

    It is present only in debugging.

    Is it an error or it's normal?

  3. #3
    Member Contributor
    Join Date
    Mar 2003
    Location
    Suffolk, United Kingdom
    Posts
    99

    Re: OpenGL, Delphi, Resizing Problem

    Up to (I think) version 4 of Delphi, there was a bug that caused this problem with OpenGL apps. They run ok from the .exe but crash the Delphi IDE just like you describe. Delphi 5 upwards is ok and there are some fixes to the opengl.pas unit that help this problem for earlier versions.

    What version of Delphi do you have?

Similar Threads

  1. Resizing a TBO, problem with AMD drivers?
    By fred_em in forum OpenGL: Drivers
    Replies: 7
    Last Post: 06-21-2011, 03:35 AM
  2. window resizing problem - help please
    By pmr2004pmr in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 10-31-2004, 01:21 PM
  3. problem with resizing
    By in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 08-22-2002, 11:15 PM
  4. windows resizing problem
    By Jeeeez in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 05-17-2001, 03:15 PM
  5. OpenGL and Delphi Problem
    By hermes in forum OpenGL: Advanced Coding
    Replies: 5
    Last Post: 09-25-2000, 10:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean