[SOLVED] Debug/Release Apps Do Not Work...

More
3 years 11 months ago - 3 years 11 months ago #1 by Daodan [SOLVED] Debug/Release Apps Do Not Work... was created by Daodan
Instead of posting a suggestion in the forum I wanted to try to change a couple of things by myself but the Debug App and Release App don't seem to work.

When I run the Debug App in Visual Studio I just get the following output:

'ReShade64.exe' (Win32): Loaded 'F:\GitHub\reshade\bin\x64\Debug App\ReShade64.exe'. Symbols loaded.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\win32u.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\gdi32full.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\msvcp_win.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\msvcp140d.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140d.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbased.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\uxtheme.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\msctf.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Program Files (x86)\RivaTuner Statistics Server\RTSSHooks64.dll'. Module was built without symbols.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\winmmbase.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\winmmbase.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\winmmbase.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Unloaded 'C:\Windows\System32\winmmbase.dll'
'ReShade64.exe' (Win32): Unloaded 'C:\Windows\System32\winmmbase.dll'
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\dwmapi.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\TextInputFramework.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\CoreMessaging.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\CoreUIComponents.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\SHCore.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\ntmarta.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\WinTypes.dll'. Cannot find or open the PDB file.
'ReShade64.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Cannot find or open the PDB file.
The thread 0x3360 has exited with code 1 (0x1).
The thread 0x2508 has exited with code 1 (0x1).
The thread 0x1930 has exited with code 1 (0x1).
The program '[7980] ReShade64.exe' has exited with code 1 (0x1).



Running the Release App throws an exception:




Any ideas what I can do to make them work?

I use Windows 10 Pro N 64-Bit-Version.

[edit]
Using the self-compiled ReShade.dll in a game works fine btw.
Last edit: 3 years 11 months ago by Daodan.

Please Log in or Create an account to join the conversation.

More
3 years 11 months ago #2 by seri14 Replied by seri14 on topic Debug/Release Apps Do Not Work in Visual Studio
How about to turning off to RivaTuner Statistics Server?

Please Log in or Create an account to join the conversation.

More
3 years 11 months ago #3 by Daodan Replied by Daodan on topic Debug/Release Apps Do Not Work in Visual Studio

seri14 wrote: How about to turning off to RivaTuner Statistics Server?


Thanks for the suggestion but sadly that doesn't solve the problem. The entry for RivaTuner Statistics Server disappears in the output and the debug app still exits with code 1. And the release app still throws an exception.

Please Log in or Create an account to join the conversation.

More
3 years 11 months ago #4 by crosire Replied by crosire on topic Debug/Release Apps Do Not Work in Visual Studio
You need to run it with one of the following arguments to select which rendering API to use for running the app:
-d3d9
-d3d11
-opengl

Otherwise it won't do anything and exit with code 1 right away.
Visual Studio has an option in the debugging section of the project properties to set command-line arguments.

Please Log in or Create an account to join the conversation.

More
3 years 11 months ago #5 by Daodan Replied by Daodan on topic Debug/Release Apps Do Not Work in Visual Studio
Thanks. Not having the argument set was the issue. It works now. :)

Please Log in or Create an account to join the conversation.

We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.