Search found 4 matches

by Stache
29 Sep 2022, 22:54
Forum: Software Developers / Low-Lag Code / Game Programming
Topic: Using a reshade black frame insertion shader fx?
Replies: 72
Views: 131383

Re: Using a reshade black frame insertion shader fx?

At least we've found the problem. Newbie mistake. Option A: Settings-Change Suggestions - Try testing a compile for x86. - If it doesn't compile for x86 either then fiddle with Properties -> (somewhere, I think Advanced or General) -> Character set - Try all the settings (MBCS, Unicode) with both x...
by Stache
29 Sep 2022, 20:35
Forum: Software Developers / Low-Lag Code / Game Programming
Topic: Using a reshade black frame insertion shader fx?
Replies: 72
Views: 131383

Re: Using a reshade black frame insertion shader fx?

This is a common wrong-bitsize issue for char. Are you compiling for x86 or x64? LPCWSTR behaves differently depending on whether you compile for 32-bit or 64-bit, and whether char is a 8-bit or 16-bit. As far as I know, it's x64. I'm not sure how to change char bit sizes or change it to 32 bit. I ...
by Stache
29 Sep 2022, 18:27
Forum: Software Developers / Low-Lag Code / Game Programming
Topic: Using a reshade black frame insertion shader fx?
Replies: 72
Views: 131383

Re: Using a reshade black frame insertion shader fx?

1. What Visual Studio version? It is not compatible with some versions, especially if you haven't installed SDK's necessary for some of the specialized APIs. 2. Please paste your Visual Studio errors into a [p hp] or [co de] block. I downloaded visual studio 2022, with WDK as listed from here: http...
by Stache
28 Sep 2022, 01:18
Forum: Software Developers / Low-Lag Code / Game Programming
Topic: Using a reshade black frame insertion shader fx?
Replies: 72
Views: 131383

Re: Using a reshade black frame insertion shader fx?

What are you supposed to do with that code? That's just a code snippet I put into my own copy of the source code to get the program detecting my primary monitor; I have a multi-monitor setup. I didn't feel like putting it up on GitHub. I'm also not sure how good/appropriate of a solution it is.. I ...