Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
C++ is a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language.
0
votes
Accepted
Bitmap BMP Reading Question: I need to read (large) 8MB 32BPP BMP Files into Memory so they ...
I found the following to work well.
from working code that I wrote some time back,
which I now converted to utilize 32BPP BMP files and x64.
For the 32BPP header file I used the following link:
https: …
0
votes
1
answer
104
views
JoyStick::GetInfo(JoyStick::id1).dwButtonNumber always returns 0x1
I am using an XBox 360 gamepad for Windows.
I am having an issue with the following legacy code base, which relies on JOYINFOEX, JOYCAPS and MMRESULT:
ji.dwButtonNumber returns 0x1 no matter what butt …
1
vote
Accepted
JoyStick::GetInfo(JoyStick::id1).dwButtonNumber always returns 0x1
After a little work I was able to come up with the following C++ framework, which uses the article found here https://docs.microsoft.com/en-us/windows/win32/xinput/getting-started-with-xinput. I found …
0
votes
1
answer
247
views
Bitmap BMP Reading Question: I need to read (large) 8MB 32BPP BMP Files into Memory so they ...
class Surface
{
protected:
Surface();
virtual ~Surface();
class IMAGE // create a discreet type to be used to instantiate queue template
{
public:
// single bitmap image …
1
vote
2
answers
1k
views
Why is my call to SetDisplayMode not supported?
I have some legacy DirectX code that always returns DDERR_UNSUPPORTED.
I originally developed the code using DirectX3, and I am porting it to DirectX7 after spending years away from programming.
Th …
0
votes
Accepted
Why is my call to SetDisplayMode not supported?
The below method works fine to initialize the Video 1024x768x32.
I did not find the code to be deprecated. If you install the "DirectX Control Panel" you can see what video modes are supported.
void …