CSINPUT.CPP
上传用户:zhang8947
上传日期:2007-01-08
资源大小:1910k
文件大小:1k
- //输入法管理模块
- #include "stdafx.h"
- //HINSTANCE hCsInput ; //标识该DLL
- #ifdef __cplusplus
- extern "C" {
- #endif
- int FAR PASCAL LibMain( HINSTANCE hInst , WORD wDataSeg ,
- WORD wHeapSize , LPSTR lpszCmdLine ) ;
- //int FAR PASCAL WEP(int) ;
- int FAR PASCAL LibMain( HINSTANCE hInst , WORD wDataSeg ,
- WORD wHeapSize , LPSTR lpszCmdLine )
- {
- // hCsInput =hInst ;
- return 1 ;
- }
- /*
- int FAR PASCAL WEP(int)
- {
- return 1;
- }
- */
- #ifdef __cplusplus
- }
- #endif
- /*
- class CPublic: public CWinApp
- {
- public:
- virtual BOOL InitInstance(); // Initialization
- virtual int ExitInstance(); // Termination (WEP-like code)
- // nothing special for the constructor
- CPublic(const char* pszAppName)
- : CWinApp(pszAppName)
- { }
- };
- BOOL CPublic::InitInstance()
- {
- return TRUE;
- }
- int CPublic::ExitInstance()
- {
- // any DLL termination goes here (WEP-like code)
- return CWinApp::ExitInstance();
- }
- CPublic NEAR OPublic("public.dll");
- */