-
Notifications
You must be signed in to change notification settings - Fork 572
Closed
Description
(sorry for my English, I'm writing through a translator) In the Resources class, as soon as I add another Bitmap, I immediately get the error Kernel panic 0x103
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Cosmos.System.Graphics;
using IL2CPU.API.Attribs;
namespace Tesix.System.GUI
{
internal class Resources
{
[ManifestResourceStream(ResourceName = "Tesix.System.GUI.Resources.load.bmp")] private static byte[] loadbyte;
public static Bitmap Load = new Bitmap(loadbyte);
[ManifestResourceStream(ResourceName = "Tesix.System.GUI.Resources.Cursor.bmp")] private static byte[] Cursorbyte;
public static Bitmap Cursor = new Bitmap(Cursorbyte);
[ManifestResourceStream(ResourceName = "Tesix.System.GUI.Resources.username.bmp")] private static byte[] Userbyte;
public static Bitmap User = new Bitmap(Userbyte);
[ManifestResourceStream(ResourceName = "Tesix.System.GUI.Resources.pass.bmp")] private static byte[] Passbyte;
public static Bitmap Pass = new Bitmap(Passbyte);
[ManifestResourceStream(ResourceName = "Tesix.System.GUI.Resources.install.bmp")] private static byte[] Installbyte;
public static Bitmap Install = new Bitmap(Installbyte);
[ManifestResourceStream(ResourceName = "Tesix.System.GUI.Resources.auth.bmp")] private static byte[] Authbyte;
public static Bitmap Auth = new Bitmap(Authbyte);
[ManifestResourceStream(ResourceName = "Tesix.System.GUI.Resources.hole.bmp")] private static byte[] Holebyte;
public static Bitmap Hole = new Bitmap(Holebyte);
[ManifestResourceStream(ResourceName = "Tesix.System.GUI.Resources.explorer.bmp")] private static byte[] Expbyte;
public static Bitmap Explorer = new Bitmap(Expbyte);
[ManifestResourceStream(ResourceName = "Tesix.System.GUI.Resources.explorer_win.bmp")] private static byte[] ExpWinbyte;
public static Bitmap ExplorerWin = new Bitmap(ExpWinbyte);
[ManifestResourceStream(ResourceName = "Tesix.System.GUI.Resources.create.bmp")] private static byte[] Createbyte;
public static Bitmap Create = new Bitmap(Createbyte);
[ManifestResourceStream(ResourceName = "Tesix.System.GUI.Resources.sys.bmp")] private static byte[] Sysbyte;
public static Bitmap SystemIcon = new Bitmap(Sysbyte);
[ManifestResourceStream(ResourceName = "Tesix.System.GUI.Resources.folder.bmp")] private static byte[] Folderbyte;
public static Bitmap Folder = new Bitmap(Folderbyte);
[ManifestResourceStream(ResourceName = "Tesix.System.GUI.Resources.file.bmp")] private static byte[] Filebyte;
public static Bitmap File = new Bitmap(Filebyte);
[ManifestResourceStream(ResourceName = "Tesix.System.GUI.Resources.notepad.bmp")] private static byte[] Notepadbyte;
public static Bitmap Notepad = new Bitmap(Notepadbyte);
[ManifestResourceStream(ResourceName = "Tesix.System.GUI.Resources.computer.bmp")] private static byte[] Computerbyte;
public static Bitmap Computer = new Bitmap(Computerbyte);
[ManifestResourceStream(ResourceName = "Tesix.System.GUI.Resources.Cursor2.bmp")] private static byte[] Cursor2byte;
public static Bitmap Cursor2 = new Bitmap(Cursor2byte);
}
}
(even if I add another bitmap in another class, Kernel panic 0x103 still appears when creating an object of the class)
Metadata
Metadata
Assignees
Labels
No labels