본문 바로가기

Borland47

액세스바이올레이션 발생시 뜨는 주소값으로 에러난 라인 찾기 [600] [펌] 액세스바이올레이션 발생시 뜨는 주소값으로 에러난 라인 찾기김태선 [jsdkts] 1710 읽음 2006-04-29 23:12델마당 팁인데, 빌더도 거진 동일한 사항이라 펌합니다. 기사 작성자: 양병규 [팁] 액세스바이올뢔이션 발생시 뜨는 주소값으로 에러난 라인 찾기.... 내려받기 : 액세스바이올뢔이션.zip (209768 바이트) -> 파일은 원문 주소를 클릭해서 보세용. 어떻게 보면 기본인것같은데.. 의외로 많은 분들이 잘 모르시는 것같아서... 이야기해봅니다. 액세스바이올뢔이션 에러가 발생하면 에러난 위치의 주소값을 16진수로 보여줍니다. 그 화면을 본 사용자는 큰일 난줄알고 바로 연락하는 경우가 많은데... 그 화면의 내용을 줄줄줄 다 읽어주기도하고.... 보통은 캡쳐해서 보내주.. 2009. 3. 5.
SetBkMode - TextOut 할 때 글자 쓴 곳의 배경을 투명하게 하는 함수 The SetBkMode function sets the background mix mode of the specified device context. The background mix mode is used with text, hatched brushes, and pen styles that are not solid lines. int SetBkMode( HDC hdc,// handle of device context int iBkMode // flag specifying background mode ); Parametershdc: Identifies the device context. iBkMode :Specifies the background mode. This parameter can be eit.. 2009. 2. 12.
VK_ 가상키 VK_CANCLE : 컨트롤 + Break VK_UP : 위쪽 커서 키 VK_LEFT : 왼쪽 커서 키 VK_RIGHT : 오른쪽 커서 키 VK_DOWN : 아래쪽 커서 키 VK_BACK : 백스페이스 키 VK_RETURN : 엔터 키 VK_TAB : 탭 키 VK_SHIFT : 쉬프트 키 VK_INSERT : Insert 키 VK_CONTROL : 컨트롤 키 VK_DELETE : Delete 키 VK_MENU : 알트 키 VK_HOME : Home 키 VK_CAPITAL : Caps Lock 키 VK_END : End 키 VK_ESCAPE : ESC 키 VK_SPACE : 스페이스 키 VK_PRIOR : Page Up 키 VK_NEXT : Page Down 키 VK_SCROLL : Scroll Lock .. 2009. 1. 29.
ZipBuilder에서 ExtractFileToStream()함수 사용법 With the ExtractFileToStream method you can extract a specified file from a Zip archive into a stream.Function:ExtractFileToStream( Filename: String ): TZipStream;Description: Extracts if specified file 'Filename' or else the first file specified in the FSpecArgs property from the archive specified by the ZipFileName propertyAfter this method returns the stream position is at the begin of the st.. 2008. 12. 11.
Information about Special Windows Folders SHGetSpecialFolderLocation FunctionRetrieves a pointer to the ITEMIDLIST structure of a special folder.SyntaxHRESULTSHGetSpecialFolderLocation( HWNDhwndOwner,intnFolder,PIDLIST_ABSOLUTE*ppidl);ParametershwndOwner [in]Reserved. nFolder [in]A CSIDL value that identifies the folder of interest. ppidl [out]A pointer to an item identifier list (PIDL) specifying the folder's location relative to the r.. 2008. 12. 10.
여러 시스템 환경에서 할당가능한 메모리 여러 시스템 환경에서 할당가능한 메모리From. http://kldp.org/node/68576할당가능한 메모리량에 대해 질문이 있습니다. 일단 초단순 코드를 만들어봤습니다.#include #include #define ARRAY_SIZE 50000000int main(void) { double dSizeKB = 0; double dSizeMB = 0; double dSizeGB = 0; double dFactorKB = 1./(1024.); double dFactorMB = dFactorKB/1024.; double dFactorGB = dFactorMB/1024.;for(int i = 1 ; i < 10000; ++i) { int* p = new int[ARRAY_SIZE]; dSizeKB = (do.. 2008. 8. 23.
Subversion Dump/Load 참고Site: http://www.pyrasis.com/main/Subversion-HOWTO① dump : - cmd 모드 실행 - subversion/bin/ 폴더로 이동 svnadmin dump repository-location > dump.file: C:\Program Files\Subversion\bin>svnadmin dump f:\test > test.dump ----------------------------- ------- ----------- svnadmin이 있는 directory 저장소 위치dump파일명 - (windows에서)위와 같은 방법으로 하면 dump파일이 생성된다. ② load : load 하기 전에 svnadmin 명령어를 이용해서 load 폴더를 create해야 한다.. 2008. 7. 18.
bat(배치)파일 문법 출처: http://blog.naver.com/mokomoji bat(배치)파일 문법bat(배치)파일 문법 일괄처리(Batch) 파일 #1 1.배치파일(Batch File, 일괄처리용 화일) 1.1. 배치파일? Batch(배치)는 '한 묶음','한벌'의 의미하며, 배치파일은 여러 가지 명령어를 한 파일에 모아 작업하는 파일, 즉 하나의 일을 처리하기 위해 여러번 내리는 명령어를 한 번만에 처리할 수 있도록 만들어 놓은 실행파일이다. ① 확장자 이름은 반드시 'BAT'이어야 한다. ② 파일명은 도스의 내부명령어 이름을 피하라. ③ COM, EXE 파일의 이름을 피하라. ④ 명령어 이름이 서로 같아 충돌할 때, DOS는 도스키-->내부명령-->외부명령( *.COM-->*.EXE)-->*.BAT) 순으로 실행.. 2008. 7. 18.
XP, 2000에서 로그온된 사용자 이름 불러오기 51015 / Re:XP, 2000에서 로그온된 사용자 이름 불러오기작성자 : 장성호 (nasilso) 읽음 : 84 2007-10-24 오전 9:39:561. 로그온된 사용자의 이름 GetUserNameA 를 이용해서 ... void __fastcall TForm1::Button1Click(TObject *Sender) { char buf[128]; int size=128; GetUserNameA(buf,(unsigned long *)&size); ShowMessage(buf); } 쿠키폴더도 이렇게 찾을순 있겠죠? 2. 쿠키폴더 찾기 SHGetSpecialFolderLocation 이라는 특수폴더 경로 찾는 함수가 있습니다. #include #define FVSHOWINFO xxFVSHOWINFOxx.. 2008. 3. 4.
LIST