Developing your Dynamic Link Library (DLL)
In your DLL, the following functions are needed:
| Function | Format |
| Initilizaing the model | CDocument* initilizing-name(). The default name is "mosInit". |
| Extracting Functions | CString Get-Function-List(CDocument *pDoc) The default name is "mosFun". pDoc - The document pointer of this model |
| Generating C++ Codes | BOOL Coding(CDocument *pDoc,FILE *hfile,FILE *cppfile,CString id) The default initilizing name is "mosCode". pDoc - The document pointer of this model |
| Generating C++ Codes | CView * Init-View(CView
*pView,CDocument *pDoc) The default initilizing name is "mosView". pView - The current CViewl |
| Running the model | CMatrix & mosCalll(CString para,CDocument *pDoc) para - Parameters |
| Set Data | BOOL mosSet(CString task,CMatrix &s,CDocument
*pDoc) task - Tasks for
setting data |
| Get Data | double mosGet(CString task,CDocument *pDoc) task - Tasks for setting data |