Questions tagged [win32]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
26 views

DirectX 8 Win32 GUI Not Appearing/Flickering While Running

I am programming a game with DirectX 8, and I am trying to use the GUI options that are provided by the Win32 window that I am using. However, when I try to render a button or, in this case, a textbox ...
3 votes
1 answer
210 views

In game development, what aspects to consider when choosing a 32-bit architecture over a 64-bit architecture?

I was developing a graphics engine from scratch using Direct3D11 and some APIs, but I stumbled in a situation where it would beneficial to me to use a certain library, but it's binaries are only ...
1 vote
1 answer
120 views

How to disable present function when window is invisible to user. Win32 & DXGI

When my game window is hidden say by minimising it or hitting Ctrl, Alt, Del. I get the DXGI error: 0x087A0001 : The Present operation was invisible to the user. I've tried wrapping the present ...
1 vote
1 answer
404 views

Can games be made with Win32 for Windows 10?

Based on the news today of Microsoft allowing Win32 games on the Windows store, what does it mean that Win32 can be used for games now? Couldn't Windows 10 already play Win32 games? or is this ...
  • 271
1 vote
1 answer
1k views

FormatMessage not working for HRESULTs returned by Direct3D 11

I am using Windows 7 x64 and Visual Studio 17 (v15.9.7). Say I try to create a swap chain using IDXGIFactory2::CreateSwapChainForHwnd and pass in ...
  • 119
2 votes
1 answer
602 views

How can I tell in code if vsync is disabled on desktop PC?

My game needs to behave differently to get the best performance if the user disables vsync globally (basically, I need to change the scheduling on my housekeeping operations). Is there a graphics ...
0 votes
1 answer
386 views

View "distortion" or "stretching" when looking up/down? (Software renderer)

I'm not sure distortion is the right way to describe this. I've uploaded a video to show you guys. Apologies if it's long, but I wanted to show the code as well as posting it here. https://youtu.be/...
  • 332
0 votes
1 answer
632 views

Will any program written with XLib work on any desktop environment (Gnome, KDE, etc.)?

I'm making an application that uses Win32 API on Windows but I want to support linux distros too. Some people say linux doesn't have a native GUI API like Win32 API of Windows. But I found XLib and ...
0 votes
1 answer
287 views

Using gl3w and Win32 api, without glut [closed]

I'm still a beginner, the example on skaslev's site require us to use glut as an interface to create a window. For some reason, I'm required to create a window purely with Win32 api, but I am not ...
  • 19
1 vote
0 answers
82 views

ThreadAffinity being changed by OpenGL / ChoosePixelFormat

If I change thread affinity and then create the window used in my OpenGL game it changes the thread affinity to something else. I tracked down the exact API call (...
1 vote
1 answer
8k views

SDL2 window as child of Win32 GUI

I'm building an editor. Is it possible to create a child window of SDL2 within a Win32 gui? (The most obvious page from SDLTutorials works for earlier versions of SDL)
  • 741
2 votes
1 answer
239 views

How do I determine color resolution of an output in DXGI/D3D?

i'm was revising some code i wrote some time ago when working on the window wrapper for my rendering framework. The framework is based off DirectX, but it wasn't really using any D3D-related facility. ...
-1 votes
1 answer
809 views

simple win32 window wont show [closed]

The program compiles and runs successfully but does not show a window, it simply ends immediately. ...
14 votes
1 answer
3k views

How do I prevent XNA from pausing Updates while the window is being resized/moved?

XNA stops calling Update and Draw while the game window is being resized or moved. Why? Is there a way to prevent this ...
0 votes
1 answer
8k views

"LNK2001: unresolved external symbol" when trying to build my program

I get the following error(s) on my program that captures the mouse and then draws a line. Errors: ...
  • 1
8 votes
3 answers
365 views

What does the Sys_PageIn() function do in Quake?

I've noticed in the initialization process of the original Quake the following function is called. ...
  • 602
-2 votes
3 answers
2k views

OpenGL and Win32 API

Why does almost every book on OpenGL teach or discuss the API in the context of Win32 API? Is Win32 API necessary to learn OpenGL Game Programming?
's user avatar
6 votes
2 answers
16k views

How do I properly check if a particular 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,524