DllManager.h
上传用户:hyb6888
上传日期:2016-01-24
资源大小:5186k
文件大小:3k
- #if !defined(defDllManager)
- #define defDllManager
- class DllManager
- {
-
- typedef BOOL (*m_pcreatNotest)(char *CodeSource,char *userdefine,char *ExCodeSource,char *Code,long base, long goldeNum, long goldeLen);
- typedef long (*m_pTestLib) (char *Code,long base, long goldeNum, long goldeLen,char *enchar,long showmsg,char **retstr);
- typedef BOOL (*m_pcreat) (char *CodeSource,char *userdefine,char *ExCodeSource,char *Code,long base, long goldeNum, long goldeLen);
- /////////////////////////////////////////////////
- typedef BOOL (*m_pinsertNewWord)(char *En,char *chi);
- typedef BOOL (*m_pDLLstart) (int update);
- typedef BOOL (*m_pSetIMEModle)(int Mode);
- typedef BOOL (*m_pkeyprogress)(int wparam,char*ss,char *SendENbuf, char* SendCH,char *Midtems,char* Control); //int wparam
- typedef BOOL (*m_pgetnextpage)( char *Midtems,int torword);
- typedef BOOL (*m_pClearBuf)();
- typedef BOOL (*m_pChissToCodeC)(char *MainCodeLibName,char *chiss,char *codess);
- /////////////////////////////////////////////////
- public:
- BOOL creatNotest(char *CodeSource,char *userdefine,char *ExCodeSource,char *Code,long base, long goldeNum, long goldeLen);
- long TestLib (char *Code,long base, long goldeNum, long goldeLen,char *enchar,long showmsg,char **retstr);
- long TestLibExt(char *Code,char *enchar,char *retstr);
- BOOL creat (char *CodeSource,char *userdefine,char *ExCodeSource,char *Code,long base, long goldeNum, long goldeLen);
- /////////////////////////////////////////////////
- BOOL insertNewWord(char *En,char *chi);
- BOOL DLLstart (int update);
- BOOL SetIMEModle(int Mode);
- BOOL keyprogress(int wparam,char*ss,char *SendENbuf, char* SendCH,char *Midtems,char* Control); //int wparam
- BOOL getnextpage( char *Midtems,int torword);
- BOOL myclearbuf();
- BOOL ChissToCodeC(char *MainCodeLibName,char *chiss,char *codess);
- //////////////////////////////////////////////
- public:
- HINSTANCE hInstance;
- HINSTANCE hkeyDLL;
- m_pinsertNewWord m_insertNewWord;
- m_pChissToCodeC m_ChissToCodeC;
- m_pcreatNotest m_creatNotest;
- m_pTestLib m_TestLib;
- m_pcreat m_creat;
- m_pDLLstart m_DLLstart;
- m_pSetIMEModle m_SetIMEModle;
- m_pkeyprogress m_keyprogress;
- m_pgetnextpage m_getnextpage;
- m_pClearBuf m_myclearbuf;
- ////////////////////////////////////////////////
- DllManager();
- ~DllManager();
- char SendCH[1000];
- char SendEN[1000];
- char Linputbuf[100];
- char LMidtems[1000];
- char Control[1000];
- int LoadErr;
- };
- #endif // !defined(defDllManager)