Меню

4294967295 ошибка visual studio

GPCS4 closes right after startup.

Looking at the debug output of Visual Studio, it loads some DLL files, and after loading C:WindowsSystem32vcruntime140_1.dll, thread 0x5234 ends with code 0.
After loading more DLLs, all other threads end with code 4294967295.
Here’s the full output of Visual Studio:

"GPCS4.exe" (Win32): "C:Users[CENSORED]sourcereposGPCS4x64DebugGPCS4.exe" geladen. Symbole wurden geladen.
"GPCS4.exe" (Win32): "C:WindowsSystem32ntdll.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32kernel32.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32KernelBase.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32user32.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32win32u.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32gdi32.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32gdi32full.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32msvcp_win.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32ucrtbase.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32shell32.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32ole32.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32rpcrt4.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32vulkan-1.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32combase.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32cfgmgr32.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32mfplat.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32advapi32.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32msvcrt.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32sechost.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32sechost.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32sechost.dll" wurde entladen.
"GPCS4.exe" (Win32): "C:WindowsSystem32SHCore.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32imm32.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32dxgi.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32kernel.appcore.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32bcryptprimitives.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32RTWorkQ.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32ResourcePolicyClient.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32ResourcePolicyClient.dll" wurde entladen.
"GPCS4.exe" (Win32): "C:WindowsSystem32DriverStoreFileRepositorynv_dispi.inf_amd64_4d7400884d0d52e3nvoglv64.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32setupapi.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32bcrypt.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32oleaut32.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32version.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32wtsapi32.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32cryptbase.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32msasn1.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32cryptnet.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32crypt32.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32drvstore.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32devobj.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32wldp.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32wintrust.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32ntmarta.dll" geladen. 
"GPCS4.exe" (Win32): "C:VulkanSDK1.3.204.1BinVkLayer_khronos_validation.dll" geladen. Symbole wurden geladen.
"GPCS4.exe" (Win32): "C:WindowsSystem32vcruntime140.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32msvcp140.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32vcruntime140_1.dll" geladen. 
Der Thread 0x5234 hat mit Code 0 (0x0) geendet.
"GPCS4.exe" (Win32): "C:WindowsSystem32windows.storage.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32shlwapi.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32DXCore.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32nvspcap64.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32profapi.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32uxtheme.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32dwmapi.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32imagehlp.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32cryptsp.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32rsaenh.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32gpapi.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32DriverStoreFileRepositorynv_dispi.inf_amd64_4d7400884d0d52e3NvCameraNvCameraAllowlisting64.dll" geladen. 
Der Thread 0x3104 hat mit Code 4294967295 (0xffffffff) geendet.
Der Thread 0x5704 hat mit Code 4294967295 (0xffffffff) geendet.
Der Thread 0xd54 hat mit Code 4294967295 (0xffffffff) geendet.
Der Thread 0x834 hat mit Code 4294967295 (0xffffffff) geendet.
Der Thread 0x50e4 hat mit Code 4294967295 (0xffffffff) geendet.
Der Thread 0x2f9c hat mit Code 4294967295 (0xffffffff) geendet.
Der Thread 0x818 hat mit Code 4294967295 (0xffffffff) geendet.
Der Thread 0x5700 hat mit Code 4294967295 (0xffffffff) geendet.
Der Thread 0x10e4 hat mit Code 4294967295 (0xffffffff) geendet.
Das Programm "[22048] GPCS4.exe" wurde mit Code 4294967295 (0xffffffff) beendet.

GPCS4 closes right after startup.

Looking at the debug output of Visual Studio, it loads some DLL files, and after loading C:WindowsSystem32vcruntime140_1.dll, thread 0x5234 ends with code 0.
After loading more DLLs, all other threads end with code 4294967295.
Here’s the full output of Visual Studio:

"GPCS4.exe" (Win32): "C:Users[CENSORED]sourcereposGPCS4x64DebugGPCS4.exe" geladen. Symbole wurden geladen.
"GPCS4.exe" (Win32): "C:WindowsSystem32ntdll.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32kernel32.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32KernelBase.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32user32.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32win32u.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32gdi32.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32gdi32full.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32msvcp_win.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32ucrtbase.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32shell32.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32ole32.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32rpcrt4.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32vulkan-1.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32combase.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32cfgmgr32.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32mfplat.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32advapi32.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32msvcrt.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32sechost.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32sechost.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32sechost.dll" wurde entladen.
"GPCS4.exe" (Win32): "C:WindowsSystem32SHCore.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32imm32.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32dxgi.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32kernel.appcore.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32bcryptprimitives.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32RTWorkQ.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32ResourcePolicyClient.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32ResourcePolicyClient.dll" wurde entladen.
"GPCS4.exe" (Win32): "C:WindowsSystem32DriverStoreFileRepositorynv_dispi.inf_amd64_4d7400884d0d52e3nvoglv64.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32setupapi.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32bcrypt.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32oleaut32.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32version.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32wtsapi32.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32cryptbase.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32msasn1.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32cryptnet.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32crypt32.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32drvstore.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32devobj.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32wldp.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32wintrust.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32ntmarta.dll" geladen. 
"GPCS4.exe" (Win32): "C:VulkanSDK1.3.204.1BinVkLayer_khronos_validation.dll" geladen. Symbole wurden geladen.
"GPCS4.exe" (Win32): "C:WindowsSystem32vcruntime140.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32msvcp140.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32vcruntime140_1.dll" geladen. 
Der Thread 0x5234 hat mit Code 0 (0x0) geendet.
"GPCS4.exe" (Win32): "C:WindowsSystem32windows.storage.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32shlwapi.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32DXCore.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32nvspcap64.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32profapi.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32uxtheme.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32dwmapi.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32imagehlp.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32cryptsp.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32rsaenh.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32gpapi.dll" geladen. 
"GPCS4.exe" (Win32): "C:WindowsSystem32DriverStoreFileRepositorynv_dispi.inf_amd64_4d7400884d0d52e3NvCameraNvCameraAllowlisting64.dll" geladen. 
Der Thread 0x3104 hat mit Code 4294967295 (0xffffffff) geendet.
Der Thread 0x5704 hat mit Code 4294967295 (0xffffffff) geendet.
Der Thread 0xd54 hat mit Code 4294967295 (0xffffffff) geendet.
Der Thread 0x834 hat mit Code 4294967295 (0xffffffff) geendet.
Der Thread 0x50e4 hat mit Code 4294967295 (0xffffffff) geendet.
Der Thread 0x2f9c hat mit Code 4294967295 (0xffffffff) geendet.
Der Thread 0x818 hat mit Code 4294967295 (0xffffffff) geendet.
Der Thread 0x5700 hat mit Code 4294967295 (0xffffffff) geendet.
Der Thread 0x10e4 hat mit Code 4294967295 (0xffffffff) geendet.
Das Programm "[22048] GPCS4.exe" wurde mit Code 4294967295 (0xffffffff) beendet.
  • Remove From My Forums
  • Question

  • Hi

    Im trying to read a DWORD reg key and confirm that it has a value of 0xffffffff Hexadecimal ( 4294967295 in decimal)

    The result in objVal in the code snippet below is always -1.

    Is this expected behavior?

    I was expecting to to see 4294967295  in objVal. Why does it not return this value?

    Can someone please point me in the correct direction?

    string defaultValue = «DOES_NOT_EXIST»;
    Object objVal = Registry.GetValue(«HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TCPIP6\Parameters», «DisabledComponents», defaultValue);

    All comments appreciated

    Thank you

Answers

  • Hi,

    Fortunately, there is one more elegant way — using unchecked operator or statement.

    I realized it after replying yesterday. The solution in my previous reply was a kind of workaround. But, this one is the straightforward and legitimate way in C#. The code is below:

    using System;
    using Microsoft.Win32;
    
    namespace RegistryDwordDemo
    {
        class Program
        {
            static void Main (string[] args)
            {
                String defaultValue = "DOES_NOT_EXIST";
                UInt32 finalValue = unchecked ((UInt32)((Int32)Registry.GetValue (@"HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesTCPIP6Parameters", "DisabledComponents", defaultValue)));
                Console.WriteLine (finalValue.ToString ());
    
                unchecked
                {
                    finalValue = (UInt32)((Int32)Registry.GetValue (@"HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesTCPIP6Parameters", "DisabledComponents", defaultValue));
                    Console.WriteLine (finalValue.ToString ());
                }
    
                // you can see both results displayed are same
                Console.ReadKey ();
            }
        }
    }

    Sorry for one of the worst solutions (using BitConverter) in my previous reply. Ignore it please.

    • Edited by

      Tuesday, October 2, 2012 6:31 AM

    • Marked as answer by
      Donal1981
      Tuesday, October 2, 2012 9:17 AM

0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии

А вот еще интересные материалы:

  • Яшка сломя голову остановился исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного где ошибка
  • 4243 ошибка абс мерседес аксор
  • 4238 ошибка фольксваген т5