This project is read-only.

Cosmos Shutdown And Restar in VERSION 92560

Topics: Using Cosmos (Developing your own OS, projects, etc)
Jul 7, 2013 at 9:56 AM
Hi. I'm using COSMOS 92560 & Visual Studio 2010. Wherever I search Shutdown and Restart Commands only work on Versions for Visual Studio 2008. Does anybody know what is the shutdown or restart command for this version or versions after?
Jul 7, 2013 at 10:00 AM
Look this ACPI code
It work's with all version of cosmos
Jul 7, 2013 at 10:20 AM
Hi. Gives me this error:
Error 1 Unsafe code may only appear if compiling with /unsafe D:\Work\Programming\C#\OS\RoS 1\RoS 1\ACPI.cs 8 29 RoS 1
Jul 7, 2013 at 10:26 AM
Enable Unsafe code compiling in project properties...Go to properties of your project
Jul 7, 2013 at 10:52 AM
Thanks a lot. But one little problem. When I test it by VMWare player, And give the Shutdown command it doesn't do anything but running some lines of BeforeRun!