프로그래밍/프로그래밍 관련
-
Perforce - Moving Server Components on the Same Machine프로그래밍/프로그래밍 관련 2011. 8. 19. 11:20
Moving Server Components on the Same Machine Changing the Perforce server root, depot, executable, journal and log paths TASK How can I move various components of the Perforce Server to different disks or directories on the same machine? SOLUTION Moving the P4ROOT Location The server root is defaulted to the p4d executable file's directory. You change the server root with the -r option or the P4..
-
Visual Studio 2005 - autoexp.dat프로그래밍/프로그래밍 관련 2011. 8. 16. 15:23
VS 2005에서는 STL 자료구조의 디버깅을 혁신적으로 도와주는 기능인 visualizer가 도입되었다. 꽤 강력한 수준의 스크립트를 지원해서 (그러나 부족한 것도 많음) 디버깅시 특정 자료구조를 보기 좋도록 해주는 것이다. STL 디버깅 해보신 분들은 거의 디버거로 안의 내용물을 확인하는 것이 불가능이라는 것을 잘 알 것이다. Visualizer는 그것을 해결해 준다. VS 2005를 깔면 디폴트로 있는 파일에는 STL 자료구조만 지원한다. 그러나 STL::vector와 CAtlArray, 그리고 STL::map과 CRBTree는 동일한 자료구조 형태를 가지고 있으므로 이들을 위한 visualizer 코드도 쉽게 작성할 수 있다. STL::list도 있으니 CAtlList도 어렵지 않게 만들 수 있지..
-
설치 안 된 폰트 사용하기 - How to Use a Font Without Installing it프로그래밍/프로그래밍 관련 2011. 7. 21. 17:55
Introduction Many times, a particular font needs to be used in an application due to the in-house graphics designer's font choice. In order for the application to use the fonts, the font needs to be installed using the installer. Too many fonts on the user machine may slow the system down considerably. You can actually get away without installing the font: GDI and GDI+ each provide two ways for ..
-
MSSQL - IDENTITY 값 초기화 하기프로그래밍/프로그래밍 관련 2011. 6. 24. 22:31
[MSSQL - IDENTITY 값 초기화 하기 ] 아래와 같이 테이블을 생성하였다면 seq 컬럼은 자동 증가값을 가지게 됩니다. USE testOK CREATE TABLE [dbo].[tbl_test] ( [seq] [int] IDENTITY(1,1) PRIMARY KEY NOT NULL, [Name] [varchar] (70) NOT NULL, [Email] [char] (70) NOT NULL, [Idate] [datetime] NOT NULL ) GO 개발과정에서 테스트 후에 데이터를 모두 삭제(DELETE)해도 seq 컬럼은 초기화 되지 않습니다. IDENTITY 컬럼의 값을 초기화 하기 위해서는 아래와 같이 DBCC 명령어를 사용하세요. -- IDENTITY 값 초기화하기 -- 사용법 ) DB..
-
Fiddler - Web Debugging프로그래밍/프로그래밍 관련 2011. 6. 17. 23:06
What is Fiddler? Fiddler is a Web Debugging Proxy which logs all HTTP(S) traffic between your computer and the Internet. Fiddler allows you to inspect all HTTP(S) traffic, set breakpoints, and "fiddle" with incoming or outgoing data. Fiddler includes a powerful event-based scripting subsystem, and can be extended using any .NET language. Fiddler is freeware and can debug traffic from virtually a..
-
Dependency Walker프로그래밍/프로그래밍 관련 2011. 4. 22. 17:27
Dependency Walker는 32bit 또는 64bit 윈도우 모듈(dll, exe, ocx, sys..)간의 의존성 트리를 구성해 보여주는 유용한 도구입니다. 각 모듈들에 대한 export 함수들과 필요한 파일, 버젼 등을 보여 줍니다. dll 관련 문제 해결에 특히 도움을 줄 수 있습니다. missing modules invalid modules import/export mismatch circular dipendency mismatched machine type module initailzation failures windows 95, 98, NT, 2000, XP, 2003, Vista, CE 에서 모두 동작 합니다. GUI모드와 콘솔 모드를 지원합니다. http://www.dependenc..
-
프로젝트세팅에서 multithreaded 혹은 multithreaded dll프로그래밍/프로그래밍 관련 2011. 4. 21. 18:33
multithreaded로 컴파일되는 것을 multithreaded dll 로 바꾸어도 컴파일이나 링크 모두 잘됩니다. multithreaded dll을 multithreaded 로 바꾸면 에러가 나는경우가 생기는데... fatal error C1189: #error : Please use the /MD switch for _AFXDLL builds _AFXDLL 을 정의해놓고 세팅은 왜 이따위로 했는냐 이런 의미인거 같은데... 정확하게 원리가 어떻게 되는것인지 /MD, /MT의 컴파일 옵션의 차이점은 컴파일 시 .obj 파일에 어떤 c runtime library를 삽입 하느냐의 차이입니다. ◆ /MD compile option (multithreaded dll) c runtime library(MS..
-
sqllite 정리프로그래밍/프로그래밍 관련 2011. 4. 19. 12:55
SQLite 1. SQLite 개념 안드로이드는 모바일 환경에 알맞은 SQLite 데이터베이스를 채택하고 있다. SQLite는 일반적인 데이터베이스처럼 데몬을 구동하는 방식이 아니라, 엔진이라 할 수 있는 하나의 라이브러리에 데이터베이스 인터페이스를 병합한 형태다. 게다가 데이터를 단지 파일 하나에만 저장하는 방식이다 이기 때문에 MySQL이나 PostgreSQL에 비해 많은 경우에 2~3배 정도 빠르다. SQLite는 자체적으로 매우 적은 메모리를 사용한다. 다른 어떤 데이터베이스보다 적은 메모리를 사용하도록 최대한으로 최적화 되어 있기 때문에 간단하고 편리하게 데이터베이스를 사용하고자 하는 경우에 매우 적합하게 사용할 수 있다. 2. SQLite의 특징 - SQL Database 엔진 - 데이터베이스..