static int otl_initialize 
(const int  threaded_mode=0);
Static (in class) function to initialize the OTL environment. It needs to be called only once at the beginning of the program before making the very first connection to the database. The threaded_mode is a parameter for specifying if the program is running in the multi-threaded mode but it does not automatically guarantee thread safety, because OTL does not set any mutex locks or critical sections. Threaded_mode = 1 means the multi-threaded mode, 0 -- the single threaded mode.

ex) otl_initialize(1);
AND


VC++ 6.0 프로젝트 셋팅 LINK 옵션에 /DELAYLOAD:dwmapi.dll 추가하면 ActiveX 설치시
dwmapi.dll이 없으면 경고 뜨고 통과한다....
AND

a.h
class aaa{

 public:
 
    virtual int xbbb(char *a, char *b);
    
    

};


b.h
class b: public aaa{

int xbbb(char *a, char *b); //cpp에서 구현

}



AND


#include <direct.h>

---- 파일 복사 ----
if(!CopyFile( (LPSTR)(LPCTSTR) CStrSrc, (LPSTR)(LPCTSTR) CStrTargetPath,false))
<- 맨마지막 false인자는 이미 파일 존재시 실패여부  false(무시), true(실패)
{
}

---- 파일 이동 ----
if(!MoveFile( (LPSTR)(LPCTSTR) CStrSrcPath,  (LPSTR)(LPCTSTR) CStrTargetPath))
{
}
AND

#include "direct.h"

char szCurDir[_MAX_PATH] = {0x00, };
char* pCurDir = NULL;
 
CString csCurDir="";
pCurDir = _getcwd(szCurDir, _MAX_PATH);

csCurDir.Format("%s",szCurDir);
csCurDir.Replace("\\","\\\\");

AND