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
hile - Head File
cppfile- Source Code FIle
id-  the problem identification

Generating C++ Codes CView * Init-View(CView *pView,CDocument *pDoc)
The default initilizing name is "mosView".

pView - The current CViewl
pDoc - The document pointer of this model

Running the model CMatrix & mosCalll(CString para,CDocument *pDoc)

para - Parameters
pDoc - The document pointer of this model

Set Data BOOL mosSet(CString task,CMatrix &s,CDocument *pDoc)

task - Tasks for setting data
s - Input data
pDoc - The document pointer of this model

Get Data double mosGet(CString task,CDocument *pDoc)

task - Tasks for setting data
pDoc - The document pointer of this model