The winapi tag has no wiki summary.
0
votes
2answers
124 views
how to detect same keyboard key press only once
I am designing a keyboard class that can detect the keyboard key press only one time but I still cannot figure out the way to do it. My goal is just check and perform the action only once when the ...
-3
votes
1answer
216 views
Is Microsoft killing OpenGL? [closed]
In an article I've read that Microsoft signed GDI/GDI+ as deprecated. I was a bit frightened, I won't be able to use OpenGL in future versions of Windows. Since you need GDI ( more likely the Device ...
1
vote
2answers
242 views
Exclusive mouse movement with WM_INPUT
Microsoft seems to recommend using WM_INPUT for input. I want to only get relative mouse input and hide the mouse cursor all together for a short while (For gesture based input). However, using ...
0
votes
2answers
366 views
WinAPI SwapBuffers and Threads
I'm trying to use a different Thread for the whole WinAPI-Message-Loop stuff, so the window always keeps being responsive. Of course I'm using the main thread as the "window thread", because I need a ...
1
vote
1answer
316 views
Moving the camera as in a first person shooter
I am trying to implement the movement of the camera with the mouse. The result I want to achieve is the same that you get when you move your aim in a first person shooter.
Here is the code I wrote, ...
1
vote
0answers
79 views
Access violation when playing mp3 using DirectShow
I have reopened one older project that uses DirectShow for audio playback. Before, I would compile and run it on Windows 7 using MVStudio 2010 without trouble, now I have Windows 8 and MVStudio 2012 ...
6
votes
2answers
552 views
D3D/DXGI handle fullscreen transition
I have a D3D11 application, and I want to add proper fullscreen suport.
Now I can let DXGI switch my window to fullscreen for me, and I'm under the impression that DXGI will take care of everything ...
0
votes
0answers
102 views
Windows API basic paint program [on hold]
Just trying to learn a bit of Win API. I'm trying to make a basic drawing app, a bit like MS Paint.
For the time being I'm trying to get one function to work which is, when you left click and drag ...
1
vote
0answers
93 views
Application window as polygon texture?
Is there a way, or method, to have some application rendered as texture in 3D scene on some polygon, and also have full interactivity with it?
I'm talking about Windows platform, and maybe OpenGL but ...
2
votes
3answers
232 views
Multithreaded game fails on SwapBuffers in render thread at exit
The render loop and windows message loop run on separate threads. The way the program exits is that after PostQuitMessage is called in WM_DESTROY the message loop thread signals the render loop thread ...
0
votes
1answer
191 views
Implementing a Turn-Based Game with Windows API Window Messages
I'm trying to make a 2-player Connect 4 game, but I'm having trouble wrapping my head around some of the concepts related to incorporating event handlers while progressing with the game.
On the one ...
1
vote
1answer
3k views
How to properly check if an OpenGL version is available
I can't find any information on glCreateContextAttribsARB returning errors if a version is unsuported by the driver. So how do i check if it is? I don't want the program to hard crash because ...
3
votes
4answers
698 views
If I want to become a professional game developer, is learning Win32 API a must?
If I want to become a game developer, is learning Win32 API a must?
Does X-BOX or PS based game developers need to know Win32 API?
Is it possible for a professional game developer to develop games ...
2
votes
1answer
369 views
Game programming basics under Windows
I've been trying to learn some Windows programming using the Win32 API. Now, i'm used to working with the OS layer being abstracted away, mostly thanks to libraries like SFML or Allegro. Could you ...
1
vote
1answer
529 views
Multiple buffering in OpenGL on Windows
What is the most common way modern games perform triple buffering ?
What does the SwapBuffers exactly do in terms of OpenGL states ?
Is it possible to perform double and triple buffering ...