• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0
MystikReasons

2D
wxWidget class error problem

1 post in this topic

Posted (edited)

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
0

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  
Followers 0

  • Similar Content

    • By Umbraa
      Hi! I'm not entirely sure if I have to place this thread here, but I havent found anything else for animations.
      I'm posting this because I'm currently developping a game on Unity, and I'd like to animate my characters. ( I'm creating a retro-style game with 64x64p characters, or less )
      So, I'm looking for someone who can animate some characters [deleted by moderator]


    • By MarcusAseth
      I have this Direct2D framework set up, it render a constant 60FPS and this is my code in my draw call:
      mRenderTarger->Clear(D2D1::ColorF(0.41f, 0.41f, 0.41f, 1.0f)); GetCursorPos(&mMouse); ScreenToClient(mhWindow, &mMouse); D2D1_POINT_2F point2 = D2D1::Point2F(mMouse.x, mMouse.y); //wrapper function of the Direct2D FillEllipse function drawPoint(point2, 6.f, D2D1::ColorF(1.0f, 0.15f, 0.30f, 1.f)); Now even without moving the mouse too fase, the point drawn kind of lag behind a bit, and moving the mouse faster, the point is drawn as far as 5cm from my mouse cursor so the lag is visible.
      Any idea why this accurs and how to fix it? 
    • By BarraBod
      This is the first game i have made and was more of a practice game before I try something bigger.   But I might start another small app next as I'm still learning! 
      This game was written in Java using the LibGDX framework which I love.  It also means I can port it to IOS and HTML which I'm hoping to do.
      My sprites and textures were taken from free sources, such as www.freeclipart.org, as I can't do graphic design or game art.   I'll need to fix this if I'm going to try something bigger.
      You can download the game here: 
      SubSea
      My games FaceBook page
      Any bugs can be posted here, if anyone wants to play it.
      Thank you and good luck.
    • By RNGSilvercraft
      Hi there,I'm the developer of "Silver Horizon",RNGSilvercraft.
      ========================
      "Silver Horizon"is a 2d shoot'em up game.
      Aside from the standard shoot'em up gimmicks,this game allows you to level up your ship for later stages.
      The game is inspired by the Gradius series and Touhou series. 
      This game was made by using MMF2.5,with soundtrack  made  by using FL studio.
      The game featuring:
      *A level up system(customize your ship by getting exp points)
      *Two different play style
      *6 original stages with unique musics
       
      The control and instruction of the game can be found in the "readme"file.
      Download link:https://rngsilvercraft.itch.io/silver-horizon
      =====================================
      This is the first time I develop a full-sized game,since I have only made minigames before.
      The whole game,including programming,art,graphic,story,planning,even the soundtrack,is all made only by myself.
      I have to admit that I'm not really good at drawing,and since I'm from Taiwan(I'm only 18 BTW),there might be some grammar mistakes or misspelling here and there in the game XD.
      After approximately 80 hours of works(I supposed),this 6-stages-long game was
      finally finished.There might have some minor bugs I didn't find when testing.
      If you find any glitches,please let me know.
      My email address:yi88613@gmail.com
      BTW,I hid a pretty overpowered easter egg in the game.See if you can find it
      Please support my game!
      The trailer:

      My soundcloud:
      https://soundcloud.com/pk0m5zydjazg
      My youtube channel:
      https://www.youtube.com/channel/UCiQ4F7WZ5-soYvvgrXEyd1Q
      Screenshots:
       





    • By Giuno
       

      Hello everybody,
       
      I have a Question about 2D Pixel Art Games. (English is not my native language sorry)
       
      I love Pixel Art and games made with it, so i was thinking about digging a bit deeper into this subject and make a small game with this art style. Nothing special, just a simple prototype-like game. As i was thinking about it and looking through some Youtube videos for some inspiration and help i came across a problem and i don't seem to find a solution for that problem - er maybe i don't  like the solutions that came into my mind.
      It’s, as the title says, about changing visuals of the player character.
       
      So i get that right, that, if i would like to change the upper armor part of the character, i would need to have every single animation for that character redone with that new upper armor part?
       
      If i have an idle animation of 5 frames and have 5 different upper body clothing choices, i would need to make that same idle animation 5 times, which means 25 different frames?
      Not to mention, that if i make the game isometric, i would need that same idle animation 3 times? 1x left right which would be mirrored i guess. 1x facing up and 1x facing down?
       
      Is this the only way for Pixel Art games? or are there any tricks/tools i don't know about?
  • Popular Now