helpful post
-
building to boosthelpful post 2008. 11. 17. 17:52
Win32 / 64 64 bit bjam --toolset=msvc-8.0 address-model=64 --build-type=complete stage and move the contents of stage\lib to lib\win32 32 bit bjam --toolset=msvc-8.0 --build-type=complete stage linux http://gilgil.net/?document_srl=7273 http://zwolf.tistory.com/tag/Visual%20Studio%202005 C:\boost\boost-jam-3.1.17\build vc9 Copy bjam to root directory at boost . bjam --build-dir="C:\boost\boost_1..
-
Using Yasm with Visual Studio 2005 and VC++ version 8helpful post 2008. 9. 16. 18:13
Firstly you need to locate the directory (or directories) where the VC++ compiler binaries are located and put copies of the appropriate yasm.exe binary in these directories. Windows Yasm executable binaries that are not named yasm.exe will need to be renamed yasm.exe after being placed in the appropriate directories. On a win32 system the win32 version of Yasm has to be used. On an x64 system e..
-
get HBITMAP from Byte array .helpful post 2008. 6. 27. 16:59
ok well I have created a DOB but there's something wrong with the colors... reds show up blue and so on... is it because I have not set up the bmiColors member of the BITMAPINFO ? all i have are the raw bitmap image bits..no color tables.. how do I set that up? so far i've got: int w, h; unsigned int nBytes; BYTE* bits = GetRawBitmapBits(&w, &h, &nBytes); // allocs the bit buffer and fills it BI..
-
Obtaining ACE for win32 VC2005helpful post 2008. 5. 30. 19:02
down link (ACE-5.6.zip) http://download.dre.vanderbilt.edu/ ACE 디렉토리에 Config.h 파일 생성 # define ACE_HAS_STANDARD_CPP_LIBRARY 1 #include "config-win32.h" C:\Program Files\Microsoft Visual Studio 8\VC\include\intrin.h 의 //__MACHINEI(unsigned char _interlockedbittestandset(long *a, long b)) //__MACHINEI(unsigned char _interlockedbittestandreset(long *a, long b)) 주석 처리한다.. 그냥 앞으로 무슨일이 일어날지 모르겠지만.. 우선 ..
-
_endthread와 _endthreadex (explicitly) 호출할까 말까?helpful post 2008. 5. 22. 16:25
_endthread와 _endthreadex를 명시적으로(explicitly) 호출할까 말까? _beginthread는 _endthread와, _beginthreadex는 _endthreadex와 각각 짝을 이룹니다. _endthread와 _endthreadex는 스레드가 인자로 쓰인 루틴에서 되돌아올 때 자동으로 호출되나 명시적으로 호출할 수 있습니다. _endthread : Win32 CloseHandle API 처럼 자동으로 스레드 핸들을 닫습니다. 따라서 Win 32 CloseHandle API 불러 명시적으로 스레드 핸들을 닫으면 안됩니다. _endthreadex : Win32 ExitThread API 처럼 스레드 핸들을 닫지 않습니다. 따라서 Win 32 CloseHandle API 호출에 ..