Markezd Example
Markezd Example
Client need mark one line text in a rectangle, which is shown as following, and the
content of text must be achieved from a network server.
lmc1_Initial=(LMC1_INITIAL)GetProcAddress(hEzdDLL,
_T("lmc1_Initial"));
lmc1_Close=(LMC1_CLOSE)GetProcAddress(hEzdDLL,
_T("lmc1_Close"));
lmc1_LoadEzdFile=(LMC1_LOADEZDFILE)GetProcAddress(hEzdDLL,_
T("lmc1_LoadEzdFile"));
lmc1_Mark=(LMC1_MARK)GetProcAddress(hEzdDLL,_T("lmc1_Mark")
);
lmc1_ChangeTextByName=(LMC1_CHANGETEXTBYNAME)GetProcAdd
ress(hEzdDLL,_T("lmc1_ChangeTextByName"));
c) Third step: Call the function
1) Initialization lmc1 board: lmc1_Initial()
2) Open test.ezd: lmc1_LoadEzdFile(_T(“test.ezd”)).
3) Get the text content from network server. User must write this segment
program oneself.
4) Change the content of the named text object.
lmc1_ChangeTextByName (_T(“name”), szTextAchievedFromNetwork);
5) Call lmc1_Mark() for machining
6) If go on, return to 3).
7) Close lmc1 board: lmc1_Close().