일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 |
- 인스톨
- 파이어버드
- xml
- 시리얼 통신
- Visual Basic
- 기초
- 예제
- SDK
- WIN32 SDK
- 셋업
- Firebird
- dll
- 초보
- vb
- 델파이
- 소니
- Visual Studio 2005
- PostgreSQL
- winsock
- c#
- MFC
- 파라미터
- VB.NET
- 데이터베이스
- 설치
- MySQL
- 입문
- SQL
- Delphi
- 문자열
- Today
- Total
목록2007/09 (4)
프로그래밍 노트
델파이에서 16진수로 Color 값 설정할 때 일반적인 칼라 색 순서와 델파이에서 칼라 값의 설정이 좀 틀리다. 일반적으로 16진수 칼라값이라고 하면 빨강 녹색 파랑이 오는데 델파이에서는 파랑 녹색 빨강이 온다. 그것도 모르고 첨에 델파이여서 색깔이 이상하게 나오는줄 알았다.
http://dn.codegear.com/kr/article/34110 원 링크 Delphi XML Binding Wizard Tutorial 작성자: Andrea Raimondi 요약: The Delphi XML Binding Wizard requires some understanding to be used. I'll show you Introduction The XML binding wizard lets developers using XML files avoid all the mess related to xml node management. This is obtained by abstracting the xml document to a set of interfaces defining the final..
VB IIf(Expression, TruePart, FalsePart) C (Expression ? TruePart: FalsePart )
설명은 따로 필요없을 것같다. 그냥 밑에 소스를 보면.... void main() { int nDec = 0; char szHex[16]; // 16진수를 10진수로 sprintf(szHex, "FF"); nDec = (int)strtol(szHex, NULL, 16); printf(" %s -> %d \n", szHex, nDec); nDec = nDec - 0xF; // 10진수를 16진수로 sprintf(szHex, "%X", nDec); printf("%d -> %s \n", nDec, szHex); } 실행한 결과 FF -> 255 240 -> F0 strtol 함수를 알면 16진수를 10진수로 바꾸는 것을 한줄에 끝낼 수 있는데 저 함수를 모르면... sprintf의 포멧에서 %X를 쓰느냐 %..