Sign in to follow this  
MystikReasons

2D wxWidget class error problem

Recommended Posts

Hello

I get many errors from wxWidget classes and I don't know why.

They don't make the program crash.

Does somebody know, why wxWidget creates so many errors?

Im using the newest stable version of wxWidget and I build the solution at my own.

..\..\src\msw\control.cpp(149): 'CreateWindowEx("ToolbarWindow32", flags=52008900, ex=00000000)' failed with error 0x0000057e (Subordinate window can not be created at the top level.).
H:\WxWidgets\include\wx/msw/private.h(406): 'GetClientRect' failed with error 0x00000578 (Invalid window handle).
H:\WxWidgets\include\wx/msw/private.h(394): 'GetWindowRect' failed with error 0x00000578 (Invalid window handle).
H:\WxWidgets\include\wx/msw/private.h(394): 'GetWindowRect' failed with error 0x00000578 (Invalid window handle).
H:\WxWidgets\include\wx/msw/private.h(394): 'GetWindowRect' failed with error 0x00000578 (Invalid window handle).
H:\WxWidgets\include\wx/msw/private.h(394): 'GetWindowRect' failed with error 0x00000578 (Invalid window handle).
H:\WxWidgets\include\wx/msw/private.h(394): 'GetWindowRect' failed with error 0x00000578 (Invalid window handle).
H:\WxWidgets\include\wx/msw/private.h(394): 'GetWindowRect' failed with error 0x00000578 (Invalid window handle).
..\..\src\msw\window.cpp(1962): 'MoveWindow' failed with error 0x00000578 (Invalid window handle).
H:\WxWidgets\include\wx/msw/private.h(406): 'GetClientRect' failed with error 0x00000578 (Invalid window handle).
H:\WxWidgets\include\wx/msw/private.h(394): 'GetWindowRect' failed with error 0x00000578 (Invalid window handle).
H:\WxWidgets\include\wx/msw/private.h(394): 'GetWindowRect' failed with error 0x00000578 (Invalid window handle).
H:\WxWidgets\include\wx/msw/private.h(394): 'GetWindowRect' failed with error 0x00000578 (Invalid window handle).
H:\WxWidgets\include\wx/msw/private.h(394): 'GetWindowRect' failed with error 0x00000578 (Invalid window handle).
H:\WxWidgets\include\wx/msw/private.h(394): 'GetWindowRect' failed with error 0x00000578 (Invalid window handle).
H:\WxWidgets\include\wx/msw/private.h(394): 'GetWindowRect' failed with error 0x00000578 (Invalid window handle).
..\..\src\msw\window.cpp(1962): 'MoveWindow' failed with error 0x00000578 (Invalid window handle).
..\..\src\msw\toolbar.cpp(1112): 'TB_ADDBUTTONS' failed with error 0x00000578 (Invalid window handle).
..\..\src\msw\toolbar.cpp(290): 'TB_GETITEMRECT' failed with error 0x00000578 (Invalid window handle).
H:\WxWidgets\include\wx/msw/private.h(394): 'GetWindowRect' failed with error 0x00000578 (Invalid window handle).
H:\WxWidgets\include\wx/msw/private.h(394): 'GetWindowRect' failed with error 0x00000578 (Invalid window handle).
H:\WxWidgets\include\wx/msw/private.h(394): 'GetWindowRect' failed with error 0x00000578 (Invalid window handle).
H:\WxWidgets\include\wx/msw/private.h(394): 'GetWindowRect' failed with error 0x00000578 (Invalid window handle).
H:\WxWidgets\include\wx/msw/private.h(394): 'GetWindowRect' failed with error 0x00000578 (Invalid window handle).
H:\WxWidgets\include\wx/msw/private.h(394): 'GetWindowRect' failed with error 0x00000578 (Invalid window handle).
H:\WxWidgets\include\wx/msw/private.h(394): 'GetWindowRect' failed with error 0x00000578 (Invalid window handle).
H:\WxWidgets\include\wx/msw/private.h(394): 'GetWindowRect' failed with error 0x00000578 (Invalid window handle).
H:\WxWidgets\include\wx/msw/private.h(394): 'GetWindowRect' failed with error 0x00000578 (Invalid window handle).
H:\WxWidgets\include\wx/msw/private.h(394): 'GetWindowRect' failed with error 0x00000578 (Invalid window handle).
H:\WxWidgets\include\wx/msw/private.h(394): 'GetWindowRect' failed with error 0x00000578 (Invalid window handle).
H:\WxWidgets\include\wx/msw/private.h(394): 'GetWindowRect' failed with error 0x00000578 (Invalid window handle).
H:\WxWidgets\include\wx/msw/private.h(394): 'GetWindowRect' failed with error 0x00000578 (Invalid window handle).
H:\WxWidgets\include\wx/msw/private.h(394): 'GetWindowRect' failed with error 0x00000578 (Invalid window handle).
..\..\src\msw\window.cpp(1962): 'MoveWindow' failed with error 0x00000578 (Invalid window handle)

 

Edited by MystikReasons

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  

  • Forum Statistics

    • Total Topics
      628288
    • Total Posts
      2981845
  • Similar Content

    • By Brian Paek
      Football Dash now on iOS! Over 1 million downloads on Android
      iOS:
      https://itunes.apple.com/us/app/football-dash-endless-runner/id1312590451?ls=1&mt=8
      Android:
      https://play.google.com/store/apps/details?id=com.beastattack.c1434846484727

    • By zizulot
      first and only logo , for now
    • By adapelin
      I am a computer engineering student and i have the assignment below. İ only can write the 2D maze array and have no idea about creating car and time as well. Could anyone write and explain hot to do???
      Minimum Criteria: You are expected to design the game by using C ++ . Below are the minimal criteria: • You must create game board with 2 - Dimensional Matrix • Bonuses create with randomly in the game board • All bonuses have got the same value but different effect for car and score . These effects may be positive or negative . • You must use pointer for creating and using car . Some bonuses may be change car type. • When the game finish, you must show high - score. • For moving car , you need to create coordinate s randomly and you need to write proper control statements. • You must use functions for drawing game board and changing car type . If you need extra functions, you can use it. • If you cannot get out the maze when the time is up , the game is over and you need to show high score. In this project, you must do all minimum criteria. In the end, your program must be work without any errors. Bonus: • Save and load high score information to/from disk • Each bonus has got different random values. • You can create cheat codes for the game. • You can create alternative control for car . • Car can jump over the wall but may lose the score . When car exit the maze , game is over and you need to show high score.    
    • By jhay_u
      so i have this 2D point and click game wherein you play as teenage boy being forced to deal illegal drugs in exchange for your kidnapped sister. 
      the game is currently in production and the game somehow has very few challenges to it according to testers.
      now, im kinda looking for suggestions regarding some puzzles that i could integrate onto the game. the game's theme is somehow dark, serious and true to life. something that happens in real life perhaps.
      some of the mechanics i have is item interaction and dialogue system where responses would vary and affect certain outcomes.
      comments and suggestions would be very much appreciated. thanks!
    • By Bahototh
      Thy Sword is a hack n' slash platformer with procedural levels and roguelike elements.
      Inspired by classic games and executed with perfect controls and fun mechanics. Get ready for a heroic challenge! Better yet, summon a friend for a truly epic co-op adventure, ...or a duel to the death. Whoever wins keeps his head. A world of Sword & Sorcery awaits! The game you always wanted...graphics and sounds inspired by epic 80's and 90's golden games. Now it's within your grasp with modern mechanics and responsive controls.
      Thy Sword on Steam: http://store.steampowered.com/app/560300/Thy_Sword/
      Launch Trailer: https://www.youtube.com/watch?v=wPWkAeJLo74

      Key Features:
      - Single player or local co-op, player vs. player combat
      - Procedurally generated levels
      - Discover Heroes, Weapons, Items, Bosses and challenges
      - Fast paced yet strategic combat, full controller support with customization
      - Beautiful true resolution pixel art & animation
      - Chip music created using the legendary SID (Commodore 64)
      Thank You for reading! A wolrd of Sword & Sorcery awaits!!!
       
      -------------------------------
      About GamePhase:
      Three man Indie Developer from Finland. Developing games with passion, pixels and blood magic. Find out more at www.gamephase.net
      November 12, 2017. Vaasa, Finland.

  • Popular Now