본문 바로가기

Visual Studio 2015 확장 및 업데이트 도구 - Git Tool- GitExtensions- Go To Definition- Highlight all occurrences of selected word- Indent Guides- NUnit 3 Test Adapter- Test Generator NUnit extension- Output enhancer- ResXManager- Spell Checker- CppTripleSlash 더보기
[스크랩] USB 시리얼 포트 자동 인식하기 출처: http://infoarts.tistory.com/22 요즘은 MCU에도 USB 기능이 원칩화 되면서 점점 UART를 RS232C로 사용하지 않고 USB로 사용할 수 있습니다. 그러다보니 별도의 추가 비용없이 USB Serial 기능을 사용할 수 있게 되었습니다. 그런데, Windows 어플리케이션에서 USB 시리얼을 연결하여 사용하다가 Windows 어플리케이션에서 연결을 끊지 않은 상태에서 USB 시리얼 케이블을 뽑았다가 다시 연결하거나 또는 타깃 보드가 리셋되어서 Windows 어플리케이션에서 연결을 끊고 다시 연결하려면 연결이 않되는 버그가 있습니다. 즉, Windows에서 타깃 보드와 시리얼 통신을 하고 있다가 보드를 리셋하면 다시 연결하려면 않되는 것이죠. 이 때는 USB 시리얼 포트를.. 더보기
ChartDirector 한글 입력 문제 (ChartDirector Encoding) 차트를 그릴때 유용하게 사용할 수 있는 라이브러리 CharDirector(http://www.advsofteng.com/index.html)다만.. 영어가 아닌 문자를 그래프에 사용할 경우, 유니코드로 변환 & 해당문자 사용가능 폰트로 변경해 주어야한다. 예제코드) wchar_t strUni[256] =L"유니코드"; char title[256] = {0x00,}; WideCharToMultiByte(CP_UTF8, 0, strUni, -1, title, sizeof(char)*255, 0, 0); double x[] = { 0, 1, 2 }; double y[] = { 50, 100, 150 }; // Create a XYChart object of size 250 x 250 pixels XYChart.. 더보기
System Error Code (GetLastError Code) 출처 : https://msdn.microsoft.com/en-us/library/windows/desktop/ms681381(v=vs.85).aspx System Error CodesNote The information on this page is intended to be used by programm s681383(v=vs.85).aspx ers so that the software they write can better deal with errors. If you are an end-user that is experiencing difficulty with an application you are installing or running, contact customer support for the .. 더보기
[MFC] ShellExecute function 출처: https://msdn.microsoft.com/en-us/library/windows/desktop/bb762153(v=vs.85).aspx Performs an operation on a specified file.SyntaxC++HINSTANCE ShellExecute( _In_opt_ HWND hwnd, _In_opt_ LPCTSTR lpOperation, _In_ LPCTSTR lpFile, _In_opt_ LPCTSTR lpParameters, _In_opt_ LPCTSTR lpDirectory, _In_ INT nShowCmd ); Parametershwnd [in, optional]Type: HWNDA handle to the parent window used for displayi.. 더보기