?? request.h
字號:
//
// Define the data structure that will be used to pass
// database requests from the IS2ODBC DLL to DbServer.
// DbServer will fill in the sqlResult field.
//
// Note: It would be much better to use a buffer whose
// size was not hardcoded. This could be done
// by using different amounts of memory for
// commit vs. reserve, but that is beyond the
// scope of this book.
struct DbRequest
{
char sqlFilter[512];
char sqlSort[512];
char sqlResult[4096];
};
//
// Define names for shared kernel objects.
// This allows both the IS2ODBC DLL and
// the DbServer to communicate.
//
const LPCTSTR MUTEX_DB_REQUEST = _T("IS2ODBC Mutex");
const LPCTSTR EVENT_START_PROCESSING = _T("IS2ODBC Event Start Processing");
const LPCTSTR EVENT_DONE_PROCESSING = _T("IS2ODBC Event Done Processing");
const LPCTSTR FILE_DB_REQUEST = _T("IS2ODBC DbRequest Structure");
const LPCTSTR EVENT_SERVER_RUNNING = _T("IS2ODBC Server Running");
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -