Esempio n. 1
0
 private static void LoadInterface()
 {
     CreateEngine      = (CreateEngineType)LoadFunc(atlecont, "CreateEngine", typeof(CreateEngineType));
     DestroyEngine     = (DestroyEngineType)LoadFunc(atlecont, "DestroyEngine", typeof(DestroyEngineType));
     TranslatePair     = (TranslatePairType)LoadFunc(atlecont, "TranslatePair", typeof(TranslatePairType));
     FreeAtlasData     = (FreeAtlasDataType)LoadFunc(atlecont, "FreeAtlasData", typeof(FreeAtlasDataType));
     AtlInitEngineData = (AtlInitEngineDataType)LoadFunc(atlecont, "AtlInitEngineData", typeof(AtlInitEngineDataType));
     //SetTransState = (SetTransStateType)LoadFunc(atlecont, "SetTransState", typeof(SetTransStateType));
     // AwuWordDel = (AwuWordDelType)LoadFunc(awdict, "AwuWordDel", typeof(AwuWordDelType));
 }
Esempio n. 2
0
 private static void LoadInterface()
 {
     CreateEngine = (CreateEngineType)LoadFunc(atlecont, "CreateEngine", typeof(CreateEngineType));
     DestroyEngine = (DestroyEngineType)LoadFunc(atlecont, "DestroyEngine", typeof(DestroyEngineType));
     TranslatePair = (TranslatePairType)LoadFunc(atlecont, "TranslatePair", typeof(TranslatePairType));
     FreeAtlasData = (FreeAtlasDataType)LoadFunc(atlecont, "FreeAtlasData", typeof(FreeAtlasDataType));
     AtlInitEngineData = (AtlInitEngineDataType)LoadFunc(atlecont, "AtlInitEngineData", typeof(AtlInitEngineDataType));
     //SetTransState = (SetTransStateType)LoadFunc(atlecont, "SetTransState", typeof(SetTransStateType));
     // AwuWordDel = (AwuWordDelType)LoadFunc(awdict, "AwuWordDel", typeof(AwuWordDelType));
 }