9#pragma warning(disable:4005)
10#pragma warning(disable:4996)
13#ifndef _CRT_SECURE_NO_WARNINGS
14#define _CRT_SECURE_NO_WARNINGS
18#define _WIN32_WINNT _WIN32_WINNT_MAXVER
32#define JBXWL_LOCALE_US "English"
33#define JBXWL_LOCALE_JP "Japanese"
36#define JBXWL_WM_USER WM_USER + 9000
38#define JBXWL_WM_NETWORK_EVENT JBXWL_WM_USER + 100
39#define JBXWL_WM_NETWORK_OPEN JBXWL_WM_USER + 101
40#define JBXWL_WM_NETWORK_CLOSE JBXWL_WM_USER + 102
41#define JBXWL_WM_SPEECH_EVENT JBXWL_WM_USER + 110
52Buffer
tc2Buffer(TCHAR* tchar,
int size=-1);
53Buffer
ts2Buffer(LPCTSTR str,
int size=-1);
60 return (
char*)buf.buf;
74#define get_file_path_t(p) make_file_path_t((p))
75#define del_file_extension_t(p) cut_file_extension_t((p))
114void SendWinMessage(UINT mesg, WPARAM wparam=NULL, LPARAM lparam=NULL);
121int MessageDLG(LPCTSTR ttl, LPCTSTR msg, UINT type, HWND hWnd);
189 EventHandler(BOOL manual, BOOL initial=FALSE, LPCTSTR hname=NULL, LPSECURITY_ATTRIBUTES sec=NULL);
197 HANDLE
create(BOOL manual=TRUE, BOOL initial=FALSE, LPCTSTR hname=NULL, LPSECURITY_ATTRIBUTES sec=NULL);
202 BOOL
wait(DWORD msec=INFINITE);
203 BOOL
wait(HANDLE handle, DWORD msec=INFINITE);
211void WinSystem(
char* command, DWORD flag, BOOL wait);
222 if (!jbxl::isNull(ptr)) {
231 if (!jbxl::isNull(ptr)) {
HANDLE create(BOOL manual=TRUE, BOOL initial=FALSE, LPCTSTR hname=NULL, LPSECURITY_ATTRIBUTES sec=NULL)
virtual ~EventHandler(void)
BOOL wait(DWORD msec=INFINITE)
CString make_file_path_t(LPCTSTR str)
CString GetDefaultUserHomeFolder(void)
Buffer utf8_to_sjis(void *ptr, size_t len)
tList * read_index_tList_file_t(LPCTSTR fn, char cc)
CString get_file_name_t(LPCTSTR str)
void SendKeyActionTap(WORD key)
char * GetProgramFolderA(void)
int cat_ts2Buffer(LPCTSTR str, Buffer *buf)
char * ts2mbs(LPCTSTR str)
void SendKeyActionTapAlt(WORD key)
int copy_ts2Buffer(LPCTSTR str, Buffer *buf)
Buffer sjis_to_utf8_byStr(CString str)
BOOL DoSystemKeyAction(LPCTSTR com, BOOL child=FALSE)
unsigned short GetMsecondsLapTimer(unsigned short pm, unsigned short *nt=NULL)
void SendKeyActionTapShift(WORD key)
CString mbs2ts(char *str)
tList * get_dir_files_rcsv_t(LPCTSTR dirn)
void SendKeyAction(WORD key, SENDKEY_Action action)
void setSystemLocale(LPCTSTR locale=_T(""))
CString MakeWorkingFolderPath(LPCTSTR fnm, BOOL local, LPCTSTR dir=NULL, BOOL make=FALSE)
void WinSystem(char *command, DWORD flag, BOOL wait)
Buffer ts2Buffer(LPCTSTR str, int size=-1)
CString GetCurrentUserHomeFolder(void)
void SaveToClipboard_byStr(CString data)
Buffer utf8_to_sjis_byStr(CString str)
void setResourceLocale(void)
CString get_tstr_param_tList(tList *lt, char *key, LPCTSTR dflt)
int MessageDLG(LPCTSTR ttl, LPCTSTR msg, UINT type, HWND hWnd)
CString GetCurrentFolder(void)
void SendWinMessage(UINT mesg, WPARAM wparam=NULL, LPARAM lparam=NULL)
CString GetProgramFolder(void)
tList * get_dir_files_t(LPCTSTR dirn)
void SendKeyActionTapCtrl(WORD key)
void releaseNull(T *&ptr)
CString getResourceLocale(void)
unsigned short GetMsecondsTimer(void)
void SaveToClipboard(void *ptr, size_t len)
Buffer tc2Buffer(TCHAR *tchar, int size=-1)
locale が正しくないと,日本語の変換は失敗する. ex.) setlocale(LC_CTYPE,"jpn") or setSystemLocale()
Buffer String2Buffer(CString str)
CString numbering_name_t(LPCTSTR fmt, int n)
BOOL file_exist_t(LPCTSTR fn)
CString LoadString_byID(UINT id)
TCHAR * GetMouseCursorType(void)
CString cut_file_extension_t(LPCTSTR str)
unsigned long int file_size_t(LPCTSTR fn)
Buffer sjis_to_utf8(void *ptr, size_t len)