Welcome, Guest. Please login or register.

Author Topic: Cannot free up used Screen  (Read 265 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline tomas.tuharskyTopic starter

  • Newbie
  • *
  • Join Date: Aug 2025
  • Posts: 1
  • Country: sk
  • Gender: Male
    • Show only replies by tomas.tuharsky
Cannot free up used Screen
« on: August 06, 2025, 02:49:44 PM »
After creating struct Screen * by calling OpenScreen(struct NewScreen *) I am unable to free up the resources.
I call CloseScreen(struct Screen *) at the end of the program, it doesn't seem to help.
I can access the screen to draw rectangle, for example and it actually shows.

Program will run but StormC 4 says "Screen 0x40d7b948 not closed.
It's the screen I've created by OpenScreen.

 

Offline Thomas

Re: Cannot free up used Screen
« Reply #1 on: August 07, 2025, 12:55:18 PM »

If the screen disappears, then the call to CloseScreen was correct and StormC is mistaken.