- Linux MultiMedia Studio Computer Accessories User Manual

Using the Library with Various Languages
MN1278 05.2001
23
14. The code should now compile, but not link. The following files should be added to the project to make it
link.
MintDrive & NextMove BX
base.cpp
baldorserial.cpp
host_def.cpp ( if you have not already added it )
logfile.cpp
mme.cpp
mml.cpp
serial.cpp
synchronisation.cpp
uncompress.cpp
NextMove PC
Base.cpp
Host_def.cpp ( if you have not already added it )
logfile.cpp
mml.cpp
nextmove.cpp
nm_nt.cpp
nm_win32.cpp
nmbase.cpp
nmstd.cpp
synchronisation.cpp
uncompress.cpp
NextMove PCI
Base.cpp
Host_def.cpp ( if you have not already added it )
logfile.cpp
mml.cpp
nm_pci1.cpp
nm_win32.cpp
nmbase.cpp
synchronisation.cpp
uncompress.cpp
15. Add a button to the dialog in the dialog editor. Double-click the button to edit the ‘OnButton1’ routine and
add this code.
void CVCTutorialDlg::OnButton1()
{
BOOL b;
/*------------------------------------------------*/
/* Display a busy cursor. */
/*------------------------------------------------*/
CWaitCursor cur;
/*------------------------------------------------*/
/* Read the state of the axis 0 enable. */
/*------------------------------------------------*/
if ( erSUCCESS != MILError ( m_pController-> getDriveEnable( 0, &b )))
return;