본문 바로가기

Programming30

Http File Upload Code (C++) #include "afxinet.h" void CTEST1Dlg::HttpPutFile(LPCTSTR wszServerURL, LPCTSTR wszRemoteFilePath, LPCTSTR wszLocalFilePath, UINT nPort, LPCTSTR wszLoginUserID, LPCTSTR wszLoginPassword ) { /* TCHAR wszServerURL[100] = _T("192.168.0.2"); TCHAR wszServerURL[100] = _T("abc.com"); TCHAR wszLocalFilePath[100] = _T("\\Program Files\\aaa\\abc"); TCHAR wszRemoteFilePath[100] = _T("/aaaa/abc.bmp"); TCHAR.. 2009. 4. 23.
WebDEV 웹데브(WebDAV)는 기존의 웹이 읽기 전용이고 HTTP/1.1에 PUT, DELETE 등의 간단한 쓰기 웹의 확장 프로토클로 기본적인WebDAV프로토클(RFC2518), 검색(DASL), 버전 관리 (RFC3253), 억세스 관리(ACL) 등을 포함하는 프로토클 Suite 입니다. Apache2, IIS등의 웹서버가 WebDAV프로토클을 지원하며 리눅스, 매킨토시, MS윈도우 등이 Driver를 기본제공하며 많은 어플리케이션이 이 프로토클을 지원합니다. 최근 CVS의 단점을 극복하기 위한 버전컨트롤 툴인 Subversion은 WebDAV프로토클을 사용합니다. 보다 자세한 정보는 http://www.webdav.org 에서 보실 수 있습니다. 2009. 4. 23.
오픈소스 라이센스 정리 (GPL, LGPL, BSD, MPL, QPL) (정리가 너무 잘 되어 있어서.. 퍼왔씁니다.) http://blog.naver.com/jinofstar/130026514651 GPL : GNU General Public License 1. GPL을 따르는 소프트웨어 소스 코드 일부를 사용해 만든 소프트웨어는 GPL을 따라야 한다. 2. GPL을 따르는 소프트웨어 소스 코드를 개인적으로 사용할 수 없다. 반드시 소프트웨어를 개발한 원작자나 공동체에 환원해야 한다. 배경 → 1980년대 초 PC의 보급 등으로 소프트웨어의 상업성 강조 - 소프트웨어의 자유로운 사용 통제 - AT&T의 UNIX의 대한 권리 주장 → Richard Stallman이 GNU 프로젝트 시작, FSF(Free Software Foundation) 설립 - 소프트웨어의 자유로운 사.. 2009. 4. 16.
Singleton Pattern (C++) 사용 목적: Single Pattern. 이 패턴 형식의 근본 목적은 정해진 개수의 객체를 사용한다는 부분에 있다. 사용 예를 들면, 클래스 자체나 그 클래스의 상속을 받은 클래스의 객체를 수없이 만들어야 하는 상황에서 객체의 숫자에 따라서 시스템의 성능을 좌우하는 경우가 있다. 무한 생성되지 않도록 막거나, 단 1개의 객체 상태로 유지해야 할 필요가 있는 경우. 이 상황에서 객체의 개수를 상위 클래스 내에서 컨트롤을 한다는 것이다. 보통 1개의 객체만을 공용으로 사용해야 하는 경우 이 패턴 형식을 쓰는 것이 가장 효율적이라고 한다. 클래스 구조: #: protected +: public BaseClass는 ChildClass1과 ChildClass2의 Parent Class이다. BaseClass에서 .. 2009. 3. 16.
Settings in OpenXML Settings in OpenXML Let's compare that with the OpenXML specification where the large majority are fully documented, and only a few are partially documented (none are application defined). Also note that all of these are completely optional for implementation, and even within Microsoft Office we try to move our customers toward turning many of them off (especially the application specific legacy.. 2009. 3. 12.
What’s up with all those “rsids”? What’s up with all those “rsids”? As many folks who worked with the 2003 wordprocessingML format have probably noticed by now, there are is a new set of attributes/elements in the Open XML wordprocessingML format that shows up all over the place. I'm talking about RSIDs. The rsid element is used to allow applications to more effectively merge two documents that have forked. It's best to use an e.. 2009. 3. 12.
반응형