posted by 준치 2014. 11. 4. 19:44

Virtual Machine 환경을 개발환경으로 하려고 진행다 보니 오류가 발생했다. 젠장!!!!!

오류 메시지

This virtual machine is configured for 64-bit guest operating systems. However, 64-bit operation is not possible.

This host supports Intel VT-x, but Intel VT-x is disabled.

Intel VT-x might be disabled if it has been disabled in the BIOS/firmware settings or the host has not been power-cycled since changing this setting.

 

(1) Verify that the BIOS/firmware settings enable Intel VT-x and disable 'trusted execution.'

(2) Power-cycle the host if either of these BIOS/firmware settings have been changed.

(3) Power-cycle the host if you have not done so since installing VMware Workstation.

(4) Update the host's BIOS/firmware to the latest version.

해결 방법은 다음과 같다.

Cmos setup 으로 들어가서 Virtualiztion Technology Enabled 변경해주면 된다.

 

참고 : http://www.sysprobs.com/disable-enable-virtualization-technology-bios

 

오늘도 화이팅!!!

posted by 준치 2014. 5. 30. 19:12

예약된 작업을 추가하기 위해서 프로그램을 만들었다.

추가하려고 하는데 오류가 빡!!! 젠장...

환경은 windows 2003 server 별다른건 없다...

오류 메시지 :  계정 정보를 설정하지 못했기 때문에 새 작업을 만들었으나 해당 작업이 실행되지 않을 수 있습니다.

오류 코드 :  0x80041315

우선 확인해야할것은 작업을 실행하는 계정이 administrator에 그룹에 속해 있는지 확인.

내가 해결한 방법은 내 컴퓨터 - 관리 - 서비스 및 응용 프로그램 - 서비스 또는 시작 - 실행 - services.msc

Task Scheduler 오늘쪽 마우스 - 속성 - 로그온(탭) - 로컬 시스템 계정 (서비스와 데스크톱 상호 작용 허용: 체크)

Task Scheduler 오늘쪽 마우스 - 속성 - 일반(탭) - 시작 유형 (자동 선택)

문제없이 실행되는것 까지 확인 완료

오늘도 화이팅~

posted by 준치 2014. 5. 28. 18:28

요즘 c# 사양에서 메서드를 보고있는데 매개 변수에 대해서 나오고 있다.

참조 매개변수에 대해서 몇자 적어놓고 싶다.

난 소스를 봐야 더 이해가 되지만 우선 간략한 글을 보고 소스를 보면 더 이해가 될것 같다.

ref 한정자를 사용하여 선언한다.

중요한것은 메서드가 실행되는 동안 참조 매개 변수는 인수 변수와 동일한 저장소 위치를 나타낸다.

using System;
class Test
{
 static void Swap(ref int x, ref int y) {
  int temp = x;
  x = y;
  y = temp;
 }
 static void Main() {
  int i = 1, j = 2;
  Swap(ref i, ref j);
  Console.WriteLine("{0} {1}", i, j);    // Outputs "2 1"
 }
}

말 그대로 동일한 저장소에 위치하기 때문에 명만 다르지 데이터는 동일하다.ㅎ

참조 : c# 사양

오늘도 화이팅~