Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: BSOD when calling function...  (Read 3097 times)

0 Members and 1 Guest are viewing this topic.

Christopher Jozwiak

  • Newbie
  • *
  • Posts: 48
    • View Profile
    • Blog
    • Email
BSOD when calling function...
« on: March 13, 2016, 03:26:45 am »
Let me begin by saying all my code is gone.  Not that it was much; I was just messing around with stuff.  It was one file "main.cpp".  After the BSOD when I reboot the file in reference was blank.  When I opened it up with notepad ++ it was filled with the word null that filled in where all my code was.  Nothing remains O_O. 
Now for the code.  It was a basic loop that displayed a window normally and drew text on screen that scrolled across.  I had a for loop for the movement of the text that was based off a clock I initialized.  Anyways everything worked fine until I tried messing with a key press and calling the function app.create(sf::VideoMode(800, 600), "App", sf::Style::FullScreen);  It worked fine but when I hit the F key multiple times my computer crashed and displayed something about dxmms.sys failing.  I don't plan on doing that again, just was wondering why this could have happened.
Noob C++ Programmer.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
AW: BSOD when calling function...
« Reply #1 on: March 13, 2016, 07:57:58 am »
Sounds like a driver issue. Is your GPU driver up to date?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Christopher Jozwiak

  • Newbie
  • *
  • Posts: 48
    • View Profile
    • Blog
    • Email
Re: BSOD when calling function...
« Reply #2 on: March 14, 2016, 03:10:46 am »
Yeah.  I'm using the current drivers for Windows 10.  I can display a window just fine.  The program didn't crash until I pressed the space bar 3 times which called the app.create() function to put it to full screen.  I didn't have an escape case.  It would just full screen the window again and again.
Noob C++ Programmer.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
AW: BSOD when calling function...
« Reply #3 on: March 14, 2016, 07:14:49 am »
Can you run any games in fullscreen mode?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything