공장 이야기
-
Windows 7 Cef 빌드 시 depot_tools update 오류공장 이야기 2022. 7. 6. 17:00
Windows 7 Cef 빌드를 할려고 세팅 후 update_depot_tools.bat 을 하니 아래와 같은 오류가... "Failed to bootstrap or update CIPD client Downloading CIPD client for windows-amd64 from https://chrome-infra-packages.ap pspot.com/client?platform=windows-amd64&version=git_revision:2fe24264d5b4585ecd 16ba8e9bb582d8f4b20875... Failed to download the file, check your network connection, Exception setting " SecurityProtocol": "..
-
Chromium 76.0.3809.87 버전 빌드 시 오류...공장 이야기 2022. 4. 26. 18:20
Chromium 76.0.3809.87 버전 빌드 시 x64는 문제 없이 잘되지만... x86 빌드 시 오류가 생긴다... "C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt\wrl/module.h(1809,9): error: no matching function for call to 'InitOnceExecuteOnce' InitOnceExecuteOnce(" 어쩌구 저쩌구~~~ Microsoft::WRL 관련 오류로 보이는데... 왜 x64는 괜찮을까??? 구글에 물어 보니... https://chromium.googlesource.com/chromium/src.git/+/ab3b65fecd8ddfd1c857567b2f358addae..
-
CEF 빌드공장 이야기 2021. 6. 9. 15:33
참고 문서 https://bitbucket.org/chromiumembedded/cef/wiki/MasterBuildQuickStart.md chromiumembedded / cef / wiki / MasterBuildQuickStart — Bitbucket cef / MasterBuildQuickStart This Wiki page provides a quick-start guide for creating a Debug build of CEF/Chromium using the current master (development) branch. Note to Editors: Changes made to this Wiki page without prior approval via the CEF Forum or..
-
PInvokeStackImbalance 오류공장 이야기 2020. 11. 19. 10:50
회사의 강요???로 C#을 하게된 요즘... dll에서 "char *" 받아올 일이 생겨 검색 하든 중 발견한... blog.naver.com/thesuffering/221715580971 아 블로그 이웃여러분들 도와주세요 ㅠ C++ DLL C# 아 왠만해서는 질문 안하는데 이건 도저히 모르겠습니다. 업무중에 C++ DLL을 C#에서 불러와 사용... blog.naver.com 요약 하자면 C로 만들어진 dll 의 함수를 호출 하면 PInvokeStackImbalance 라는 오류가 난다는... CAN_Access.dll 라는 dll 이고... 호출 함수는 #define CAN_HANDLE long CAN_HANDLE __stdcall CAN_OpenVcp(const char *comPortName,..
-
C++ dll로 WCHAR* 형태의 값 C#으로 넘길 때...공장 이야기 2020. 11. 17. 17:32
C++ 코드... __declspec(dllexport) int libReturnChar(WCHAR** strReturn) { int nSize = 100; *strReturn = (WCHAR *)::malloc(nSize+1); ::memset((void *)*strReturn, 0, nSize+1); ::memcpy((void*)*strReturn, (void*)L"11111", sizeof(WCHAR)*5); return nSize; } __declspec(dllexport) bool libDestroyReturnChar(WCHAR** strReturn) { if(nullptr != *strReturn) { ::free(*strReturn); } *strReturn = nullptr; return ..
-
C# 다른 응용 프로그램에 Parameter로 한글 값 넘길때...공장 이야기 2020. 10. 16. 11:17
어쩔수 없어... 먹고 살려면 시키는 걸 해야 하는 관계로... 요즘 C#을 보고 있는 중...ㅎ 고객의 요구가 있어 nsis로 값을 넘길 때 한글을...(단축 아이콘에 한글을 쓰고 싶다는 요구가) C# 좀 지랄 맞다는... C++로 했다면 금방 끝날 일을... 2일이나 삽질을... System.Text.Encoding euckr = System.Text.Encoding.GetEncoding(949); byte[] byteArray = euckr.GetBytes(utf16String); string Shortcut_Name Encoding.Default.GetString(byteArray); sb.AppendFormat(@"/D_{0}_SHORTCUT_NAME={1} ", name, Shortcut_Na..
-
JCEF Window 빌드공장 이야기 2020. 4. 7. 17:46
- 참고 문서 https://bitbucket.org/chromiumembedded/java-cef/wiki/BranchesAndBuilding - 소스 다운 https://bitbucket.org/chromiumembedded/cef/src/master/ - 설치 및 빌드 1. 아래 파일 설치 CMake version 2.8.12.2 or newer. Git. Java version 1.7 or 1.8. Python version 2.6 or newer in the 2.x series (3.x is not supported). 2. Visual Studio 2019 설치(MFC, ALT 관련 추가) 3. 다운 경로로 이동 후 cmake CMakeLists.txt 실행 경로 및에 CMakeLists.tx..