Jump to content
Sign in to follow this  
Guest Patrick_Waugh

panel resize causes CTD

Recommended Posts

Guest Patrick_Waugh

Any idea why the resizing of a panel would result in an immediate crash to desktop?Anyone ever had that problem?

Share this post


Link to post
Share on other sites

A window resize generates these instances:PANEL_SERVICE_PRE_KILLPANEL_SERVICE_POST_KILLPANEL_SERVICE_PRE_INSTALLPANEL_SERVICE_POST_INSTALLPANEL_SERVICE_PRE_INITIALIZEPANEL_SERVICE_POST_INITIALIZEPANEL_SERVICE_PRE_UPDATEPANEL_SERVICE_PRE_GENERATEPANEL_SERVICE_POST_GENERATEMy guess would be that you have something in one of those cases that really belongs in PANEL_SERVICE_CONNECT_TO_WINDOW or PANEL_SERVICE_DISCONNECTDoug

Share this post


Link to post
Share on other sites
Guest Patrick_Waugh

Doug,Thanks for your response.Your informed guess made me think, and I realized that I had forgotten to take out some code that allocated and freed some directx sound buffers from PANEL_SERVICE_PRE_INITIALIZE, and PANEL_SERVICE_PRE_KILL that had been moved into the mod_init / deinit with the changes made to FSX.Thanks, you helped solve it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...