Sign in to follow this  
Guest Patrick_Waugh

panel resize causes CTD

Recommended Posts

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
Help AVSIM continue to serve you!
Please donate today!

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

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