검색결과 리스트
.net에 해당되는 글 3건
- 2011/04/06 C# 으로 안드로이드 또는 아이폰 어플 개발
- 2010/08/20 중국어 간자체 변환
- 2008/12/03 Win32 Data Type Conversion Table
글
C# 으로 안드로이드 또는 아이폰 어플 개발
1. Andriod
http://monodroid.net/
Sample => https://github.com/mono/monodroid-samples
2. iPhone
http://monotouch.net/
Book => http://www.amazon.com/Professional-iPhone-Programming-MonoTouch-NET/dp/047063782X/
과연 퍼포먼스가 제대로 나올지.. 테스트 해봐야 겠군...
'IT > Dot Net' 카테고리의 다른 글
| [펌]Visual Studio 2010 OutOfMemoryException (0) | 2012/01/12 |
|---|---|
| 유용한 Extension Method 하나 (0) | 2011/05/03 |
| C# 으로 안드로이드 또는 아이폰 어플 개발 (0) | 2011/04/06 |
| [FarPoint Spread]데이터와 헤더라벨을 고려한 컬럼너비 자동조정 구현 (0) | 2010/11/12 |
| [펌]Clickonce 인증서 만료시 해결책 - 기존 인증서 만료기간 수정 (0) | 2010/11/05 |
| [이벤트] Windows 7 BIG3 개발 고수되기! (0) | 2010/09/17 |
글
중국어 간자체 변환
일단 문자열 변환만 가능...
Public Function ToSCUnicode(ByVal str As String) As String
Dim arrByte_GBK As Byte()
Dim arrByte_UTF16 As Byte()
Dim strUTF16 As String
' 현재 시스템 인코딩
Dim _defaultEncoding As Encoding = System.Text.Encoding.GetEncoding(0)
' Chinese Simplified (GB2312)
Dim encGBK As System.Text.Encoding = System.Text.Encoding.GetEncoding(936)
' UTF - 16
Dim encUTF16 As System.Text.Encoding = System.Text.Encoding.Unicode()
' 현재 시스템 인코딩에서 받은 문자열을 Chinese Simplified (GB2312) 로 바이트로 변경
arrByte_GBK = _defaultEncoding.GetBytes(str)
' 다시 UTF-16 으로 변환
arrByte_UTF16 = System.Text.Encoding.Convert(encGBK, encUTF16, arrByte_GBK)
' 문자열로 추출
strUTF16 = encUTF16.GetString(arrByte_UTF16)
Return strUTF16
End Function
'IT > Dot Net' 카테고리의 다른 글
| CopySourceAsHtml 에러 수정 (0) | 2010/08/27 |
|---|---|
| 멀티캐스트 대리자 샘플 (0) | 2010/08/26 |
| 중국어 간자체 변환 (0) | 2010/08/20 |
| [펌]About Box 에 관한 좋은 소스 (0) | 2010/02/18 |
| [펌] C# 팝업폼 Activate(API) (1) | 2010/01/12 |
| CoolCommands 를 Visual Studio 2005 / 2008 에 명령프롬프트로 설치하기 (0) | 2009/09/25 |
글
Win32 Data Type Conversion Table
|
Windows Data Type |
.NET Data Type |
|
BOOL, BOOLEAN |
Boolean or Int32 |
|
BSTR |
String |
|
BYTE |
Byte |
|
CHAR |
Char |
|
DOUBLE |
Double |
|
DWORD/LPDWORD |
Int32 or UInt32 |
|
FLOAT |
Single |
|
HANDLE (and all other handle types, such as HFONT and HMENU) |
IntPtr, UintPtr, or HandleRef |
|
HRESULT |
Int32 or UInt32 |
|
INT |
Int32 |
|
LANGID |
Int16 or UInt16 |
|
LCID |
Int32 or UInt32 |
|
LONG |
Int32 |
|
LPARAM |
IntPtr, UintPtr, or Object |
|
LPCSTR |
String |
|
LPCTSTR |
String |
|
LPCWSTR |
String |
|
LPSTR |
String or StringBuilder* |
|
LPTSTR |
String or StringBuilder |
|
LPWSTR |
String or StringBuilder |
|
LPVOID |
IntPtr, UintPtr, or Object |
|
LRESULT |
IntPtr |
|
SAFEARRAY |
.NET array type |
|
SHORT |
Int16 |
|
TCHAR |
Char |
|
UCHAR |
SByte |
|
UINT |
Int32 or UInt32 |
|
ULONG |
Int32 or UInt32 |
|
VARIANT |
Object |
|
VARIANT_BOOL |
Boolean |
|
WCHAR |
Char |
|
WORD |
Int16 or UInt16 |
|
WPARAM |
IntPtr, UintPtr, or Object |
[출처] Win32 Data Type Conversion Table|작성자 앤시스
'IT > Dot Net' 카테고리의 다른 글
| .Net 3.5 관련 IIS MIME 셋팅 (0) | 2009/02/02 |
|---|---|
| User control in toolbox (0) | 2008/12/09 |
| Win32 Data Type Conversion Table (0) | 2008/12/03 |
| LoaderLock 문제 해결 (0) | 2008/11/06 |
| 라이센스 컴파일러 대체법 - MSBuild 수정 (0) | 2008/10/14 |
| 네트웍 되는지 테스트 (0) | 2008/10/14 |
