본문 바로가기

VisualStudio.C++.C#   ( 290 )


Visual Studio 2022. C++ , MFC 개발환경 설치 사전 준비 : Visual Studio 2022 설치된 상태. C++ , MFC 개발 환경 설치 방법 Visual Studio 실행하여 메뉴 : Tools -> Get Tools and Featues... 클릭하여 뜬 아래 창에서 상단 탭 워크로드 에서 C++ 을 사용한 데스크톱 개발 선택하고, 오른쪽 세부 선택에서 붉은 박스 부분 추가 선택하여 버튼 수정 클릭하면 설치완료됨. 연관 Visual Studio , Visual C++ 활용 정리. Visual Studio C++ 활용 Visual Studio Visual C++ / C# 1.설치, 설정 주제 비고. Visual Studio 2010 설치. Visual Studio 2013 (Community)무료 설치. Visaul Studio 2015 (C.. 2021. 12. 5.
Visual Studio 2022 Community (무료) 설치 Visual Studio 2022 - Visual Studio 2019 다음 버전. - Visual Studio 의 첫 64비트 기반 IDE - 출시일자 : 2021. 11. 15 Visual Studio 2022 Community 설치 - 다운로드 주소 : 아래 링크. Visual Studio를 다운로드해 주셔서 감사합니다. - Visual Studio Visual Studio를 처음 사용하시나요? 새로운 개발 도구를 학습하는 것은 어려울 수 있습니다. 이 단계별 학습 여정을 통해 원하는 언어로 간단한 앱을 성공적으로 만들 수 있습니다. 시작하겠습니다 visualstudio.microsoft.com - 설치 방법 : 위 다운로드 한 파일을 실행시켜 설치 진행하면 됨. - 워크로드 선택창. (아래 그림).. 2021. 12. 4.
Visual Studio 2022. Preview Visual Studio 2022 정식 버전 출시되었음. https://igotit.tistory.com/3089 Visual Studio 2022 Community (무료) 설치 Visual Studio 2022 - Visual Studio 2019 다음 버전. - Visual Studio 의 첫 64비트 기반 IDE - 출시일자 : 2021. 11. 15 Visual Studio 2022 Community 설치 - 다운로드 주소 : 아래 링크. Visual Studio를.. igotit.tistory.com ===================================== Visual Studio 2022 Preview - Visual Studio 2019 다음 버전. Visual Studio 의 .. 2021. 6. 22.
Visual Studio 2017. 설치. 개요. - Visual Studio 2017 무료버전 설치. - Visual Studio 2017 부터 설치 옵션은 이전 대비사용자에게 많은 권한을 줬다. 이전까지는 C# 은 반드시 설치해야하는 식. - 본 설치 과정에서는 Visual Studio 2017 설치시 MFC 등 추가하지 않고 코아부분만 C++ 만 선택 간결하게 설치하는 과정 정리했고, 글 마지막 부분에는 이후 상황에 맞게(MFC, Python, Unreal 등 ) 필요한 것들을 설치하는 예 정리. Visual Studio 2017 설치. - 잡다한 것들 포함하지 않고 Visual Studio 코아 부분만 먼저 설치. Visual Studio 2017 다운로드 주소 : visualstudio.microsoft.com/ko/vs/older-do.. 2021. 1. 22.
C#. MS 공식지원 WebSocket 라이브러리. 개요 - MS 공식지원 websocket 라이브러리. - .net 에서 WebSocket 지원 함. 상세보기 (아래 링크) ASP.NET Core에서 WebSocket 지원 ASP.NET Core에서 Websocket을 시작하는 방법을 알아봅니다. docs.microsoft.com ClientWebSocket 클래스 MS 제공정보 ClientWebSocket 클래스 (System.Net.WebSockets) WebSocket 서비스에 연결하기 위해 클라이언트를 제공 합니다.Provides a client for connecting to WebSocket services. docs.microsoft.com ClientWebSocket 기본 코딩 아래 코드는 공개되어있는 웹소켓서버(룹백 서버임) 와 접속하여.. 2020. 12. 26.
C#. WebSocketSharp. 웹소켓 라이브러리. 개요 - C# 용 웹소켓 라이브러리. WebSocketSharp 설치방법. - 웹소켓 클라이언트 C# 코드예. - Connect 함수 실행시 발생하는 TLS handshake 오류 해결. 설치방법. Visual Studio C# 프로젝트에서 NuGet 패키지에서 검색 WebSocketSharp 에서 보이는 아래 붉은박스 선택하고 버튼 Install 클릭. - 버전 : 1.0.1 (현재 2020.12.27 NuGet 으로 배포되는 최신버전임) 웹소켓 클라이언트 기본 코딩 - 아래 코드는 공개되어있는 웹소켓서버(룹백 서버임) 와 접속하여, 클라이언트에서 키보드로 입력한 글자를 송신하면 서버는 글자들을 그대로 다시 클라이언트로 송신하고 클라이언트 화면에 표현되는 방식으로 작동함. ReadyState 상태 . .. 2020. 12. 26.
MFC. 대화상자에 분할 윈도우 구현. // 헤더파일. class CDlgSplitDlg : public CDialogEx { // Construction public: CDlgSplitDlg(CWnd* pParent = nullptr);// standard constructor CFrameWnd* m_pMyFrame; CSplitterWnd m_cSplitter; .... } // cpp 파일. int CDlgSplitDlg::OnCreate(LPCREATESTRUCT lpCreateStruct) { if (CDialogEx::OnCreate(lpCreateStruct) == -1) return -1; // TODO: Add your specialized creation code here // Initialize a context for t.. 2020. 12. 5.
MFC.Control. Custom Draw 상세. Developing Custom Draw Controls in Visual C++ Developing Custom Draw Controls in Visual C++ 02/03/2012 15 minutes to read In this article --> Tom Archer Program Manager, Microsoft January 2006 Applies to: Win32 API Microsoft Foundation Classes Visual C++ 2005 Summary: Tom Archer pres docs.microsoft.com 코드예. /* My dialog class contains a CTreeCtrl member that uses the resource ID IDC_TEST_DEF.. 2020. 11. 19.
SetWindowTheme. 사용예. - 윈도우 탐색기 와 동일한 표현형식으로 설정. - m_hwnd 에는 CListCtrl, CTreeCtrl 등의 윈도우 핸들. SetWindowTheme(m_hWnd, L"Explorer", NULL); 상세. SetWindowTheme function (uxtheme.h) - Win32 apps Causes a window to use a different set of visual style information than its class normally uses. docs.microsoft.com slaner.tistory.com/65 2020. 11. 19.
MFC. CHeaderCtrl. from : MS CHeaderCtrl Class In this article --> Provides the functionality of the Windows common header control. Syntax class CHeaderCtrl : public CWnd Members Public Constructors Public Methods A header control is a window that is usually positioned above a set of columns of text or docs.microsoft.com 첫 등록 : 2020.11.18 최종 수정 : 단축 주소 : https://igotit.tistory.com/2711 2020. 11. 18.
MFC. Tree Control with Columns. 개요 - CTreeCtrl 과 CListCtrl 특성이 모두 있는 컨트롤. - 코드 프로젝트에서 유사한것들 5~6개 있는 것 중에서 도입 구현 작업시 가장 간결해 보여서 선택함. - 다른 소스코드들은 다들 VC++6.0 에서 작업된 오래된것인데 이 소스는 Visual C++2005에서 작업된 소스 배포중. 2019 변환 하여 작업시 디버깅 량이 적을것으로 여겨짐. - 컨트롤의 코아부분이 소스로 배포되므로 64비트 컴파일 가능. Known Issues These issues were reported so far: There is a problem with tooltips for now, so TVS_NOTOOLTIPS style is enabled for child tree control. Do not d.. 2020. 11. 17.
MFC. DAPFOR. MFC Grid. 트리 리스트 컨트롤. 개요 -트리 와 리스트 동시 구현된 MFC컨트롤. -무료버전 DLL 은 32비트만 지원됨. 64비트에서 활용하려면 유료 소스제공되는것을 구매하여 64비트로 컴파일 해야함. 소스 가격 800달러 수준. Main features: Event-drven object model C++ objects in rows. In cells - values, returned by methods of these objects. Hierarchical data presentation. Real-time sorting of dynamically updated C++ objects. Real-time filtering of updated objects. Real-time cell highlighting. Single and mu.. 2020. 11. 17.
MFC. Tree List Control 모음. 개요 VC++ 에서 기본 제공되는 컨트롤인 CTreeCtrl, CListCtrl 의 특징이 모두 구비된 컨트롤 모음. 여러 종 있음. A Tree List Control A Tree List Control www.codeproject.com 실행샷 CTreeGridCtrl - A Grid Control with Tree Like Functionalities Chris Maunder's grid control enhanced to have tree like features www.codeproject.com Tree control and Buttons for MFC Grid control A set of classes derived from CGridCtrl that embed a tree control,.. 2020. 11. 17.
MFC. 리소스 파일 관련 . Using Multiple Resource Files and Header Files with Visual C++ 리소스 파일에 있는 마크로부분 의미. #define _APS_NEXT_RESOURCE_VALUE 101 #define _APS_NEXT_COMMAND_VALUE 40001 #define _APS_NEXT_CONTROL_VALUE 1000 #define _APS_NEXT_SYMED_VALUE 101 _APS_NEXT_RESOURCE_VALUE is the next symbol value that will be used for a dialog resource, menu resource, and so on. The valid range for resource symbol values is 1 to 0x6FFF. _APS_NEXT_COMMAND_VALUE is the next symbol value that w.. 2020. 11. 15.
MFC. resource ID 네이밍 , 넘버링 컨벤션. TN020: ID Naming and Numbering Conventions 11/04/2016 This note describes the ID naming and numbering conventions that MFC 2.0 uses for resources, commands, strings, controls, and child windows. The MFC ID naming and numbering conventions are intended to meet the following requirements: Provide a consistent ID-naming standard used across the MFC library and MFC applications that are supported by.. 2020. 11. 15.
jsoncpp. 라이브러리 설치 jsoncpp 라이브러리 설치 - 가장 쉬운 방법. 1. vcpkg 에서 jsoncpp 다운받고 이것을 NuGet 패기지로 출력하고, 방법 상세 2. Visual C++ 프로젝트의 NuGet 툴로 상기1의 jsoncpp 를 프로젝트에 적용. jsoncpp - from vcpkg - jsoncpp는 vcpkg 형식으로도 배포되고 있기에 최신버전의 jsoncpp 구하기 가장편리. - 현재 (2020.11.04) 최신버전 : 1.9.2 - vcpkg Vcpkg. 개요 . 설치 Vcpkg - 윈도우, 리눅스, 맥 에서의 C, C++ 라이브러리 매니징 도구. - 배포처 : https://github.com/Microsoft/vcpkg microsoft/vcpkg C++ Library Manager for Wind.. 2020. 11. 4.
C#. 자료형 바이트 사이즈 , C/C++ 대응 C# C/C++ ( C99표준 ) Byte sbyte int8_t 1 byte uint8_t 1 short int16_t 2 ushort uint16_t 2 int int32_t 4 uint uint32_t 4 long int64_t 8 ulong uint64_t 8 * C99 표준정수형 C# C/C++ Byte float float 4 double double 8 decimal 16 연관 Fixed width integer types C99표준. VC++에서는 stdint.h 에 정의 있음. uint8_t, uint64_t 등. Fixed width integer types (since C99) Types Defined in header int8_t int16_t int32_t int64_t signe.. 2020. 10. 29.
C#. FindWindow. SendMessage. WM_COPYDATA C# 에서 FindWindow [DllImport("user32.dll")] public static extern IntPtr FindWindow(string lpClassName, string lpWindowName); IntPtr h_wnd = FindWindow(null, "target window name"); if (h_wnd != IntPtr.Zero) { // do something } C# 에서 SendMessage 로 WM_COPYDATA 송신 주의 : 하기 코드 SendMessage 실행은 되나 상대방 (C++ 로 제작된것) 에서 수신 안되었음. public struct COPYDATASTRUCT { public uint dwData; public uint cbData; public I.. 2020. 10. 28.


 

비트코인




암호화폐       외환/나스닥/골드       암호화폐/외환/나스닥/골드 암호화폐/외환/나스닥/골드   암호화폐/외환/나스닥/골드
     
현물 |선물 인버스 |선물 USDT       전략매니저(카피트레이딩)     롤오버 이자 없는 스왑프리계좌
( 스왑프리 암호화폐도 거래 가능 )    
MT4, MT5 , cTrader 모두 지원     FTMO 계좌 매매운용. MT4,MT5