Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
hi guys i got this error in debug

'SRO_GTX.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'SRO_GTX.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Users\VIRUS\source\repos\SRO_GTX\SRO_GTX\bin\Debug\SRO_GTX.exe'. Symbols loaded.
'SRO_GTX.exe' (CLR v4.0.30319: SRO_GTX.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Exception thrown: 'System.IO.IOException' in mscorlib.dll
'SRO_GTX.exe' (CLR v4.0.30319: SRO_GTX.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
MainEntry has failed. System.IO.IOException: The handle is invalid.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.__Error.WinIOError()
   at System.Console.set_Title(String value)
   at SRO_GTX.Settings.Main() in C:\Users\VIRUS\source\repos\SRO_GTX\SRO_GTX\Settings.cs:line 356
The program '[18808] SRO_GTX.exe' has exited with code 0 (0x0).


and about my code in line 356 is that
Console.Title = "GTX Guard";
Utils.WriteLine("------------------------------- GTX Guard V0.0.1 -------------------------------", Utils.LOG_TYPE.Special);

Console.Title = 356
Unils.WriteLine = 357


What I have tried:

I hope anyone help me with this code to run the application
Posted
Updated 31-Jul-21 21:23pm

Look at the error message:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.__Error.WinIOError()
at System.Console.set_Title(String value)
at SRO_GTX.Settings.Main() in C:\Users\VIRUS\source\repos\SRO_GTX\SRO_GTX\Settings.cs:line 356 <-- this is where the problem happens.
 
Share this answer
 
so what do I have to do bro? @Richard
 
Share this answer
 
Comments
Richard MacCutchan 1-Aug-21 4:14am    
You need to look at the source code and use the debugger to find out what is going on. We cannot do that for you. BTW, please do not use Solutions to add comments, use the Have a Question or Comment? link below the posted message
Member 15308108 1-Aug-21 18:57pm    
ok bro sorry im first time use codeproject website and i will check it thanks <3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900