ࡱ>   I"#$%&'()*,-./012346789:;<=>@ABCDEFGHKLMNOPQRSTUWXYZ[\]^_Root EntryWorkspace State  Browser Editorsample12O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1.dsp:no /pdb:"Release/sample1.pdb" /machine:I386 /out:"Release/sample1.exe" .\Release\DetectDialog.obj .\Release\sample1.obj .\Release\sample1Dlg.obj .\Release\StdAfx.obj .\Release\sample1.res .\VCAIOUSB.lib " VisualC\StdAfx.cpp" ] p" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1.cpp" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1Dlg.cpp" ] Call Stack6r}dd Disassemblyr6dd,,,8 Workspace6 sdxdGMenu bar?t/dStandard/t/XMd_8`Build&tyd Full Screent!3dd Build MiniBar/u/]MdX8VXATL.uddResource.uddDialogumduControlsuG"yBddGraphicsu0dzJVdVColorsu0VwSdS Text Toolud(ddEdit.uddDebug7vdM8VMBrowse>vddQuerywddDatabase DiagramwddTablewddDatabase>wddVieww) in your sourceddSource ControlwddRecord`w)`[~dd F

Build Log

--------------------Configuration: sample1 - Win32 Release--------------------

Command Lines

Creating command line "rc.exe /l 0x409 /fo"Release/sample1.res" /d "NDEBUG" /d "_AFXDLL" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1.rc"" Creating temporary file "C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP35.tmp" with contents [ /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"Release/sample1.pch" /Yu"stdafx.h" /Fo"Release/" /Fd"Release/" /FD /c "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\DetectDialog.cpp" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1.cpp" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1Dlg.cpp" ] Creating command line "cl.exe @C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP35.tmp" Creating temporary file "C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP36.tmp" with contents [ /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"Release/sample1.pch" /Yc"stdafx.h" /Fo"Release/" /Fd"Release/" /FD /c "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\StdAfx.cpp" ] Creating command line "cl.exe @C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP36.tmp" Creating command line "link.exe /nologo /subsystem:windows /incremental:no /pdb:"Release/sample1.pdb" /machine:I386 /out:"Release/sample1.exe" .\Release\DetectDialog.obj .\Release\sample1.obj .\Release\sample1Dlg.obj .\Release\StdAfx.obj .\Release\sample1.res .\VCAIOUSB.lib "

Output Window

Compiling resources... Compiling... StdAfx.cpp Compiling... DetectDialog.cpp sample1.cpp sample1Dlg.cpp Generating Code... Linking...

Results

sample1.exe - 0 error(s), 0 warning(s)
ected } OnReadAllButtonClick(); return TRUE; // return TRUE unless you set the focus to a control}// If you add a minimize button to your dialog, you will need the code below// to draw the icon. For MFC applications using the document/view model,// this is automatically done for you by the framework.void CSample1Dlg::OnPaint() { if (oiSP_R CPaintDC dc(this); // device context for painting SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0); // Center icon in client rectangle int cxIcon = GetSystemMetrics(SM_CXICON); int cyIcon = GetSystemMetrics(SM_CYICON); CRect rect; GetClientRect(&rect); int x = (rect.Width() - cxIcon + 1) / 2; int y = (rect.Height() - cyIcon + 1) / 2; // Draw the icon dc.DrawIcon(x, y, m_hIcon); } else { CDialog::OnPaint(); }}// The system calls this to obtain the cursor to display while the user drags// the minimized window.HCURSOR CSample1Dlg::OnQueryDragIcon(){ return (HCURSOR) m_hIcon;}void CSample1Dlg::chkClicked(int index){ if (checkArray[index]->GetCheck() == BST_CHECKED) { outMask |= 1 << index; btnArray[index]->SetWindowText("Write"); } else { outMask &= ~(1 << index); btnArray[index]->SetWindowText("Read"); } DIO_Configure(deviceIndex, false, &outMask, data);}void CSample1Dlg::OnCheckPort0a() { chkClicked( 0); }void CSample1Dlg::12O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1.dsp:no /pdb:"Release/sample1.pdb" /machine:I386 /out:"Release/sample1.exe" .\Release\DetectDialog.obj .\Release\sample1.obj .\Release\sample1Dlg.obj .\Release\StdAfx.obj .\Release\sample1.res .\VCAIOUSB.lib " VisualC\StdAfx.cpp" ] p" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1.cpp" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1Dlg.cpp" ] Call Stack6r}dd Disassemblyr6dd,,,8 Workspace6 sdxdGMenu bar?t/dStandard/t/XMd_8`Build&tyd Full Screent!3dd Build MiniBar/u/]MdX8VXATL.uddResource.uddDialogumduControlsuG"yBddGraphicsu0dzJVdVColorsu0VwSdS Text Toolud(ddEdit.uddDebug7vdM8VMBrowse>vddQuerywddDatabase DiagramwddTablewddDatabase>wddVieww) in your sourceddSource ControlwddRecord`w)`[~dd F

Build Log

--------------------Configuration: sample1 - Win32 Release--------------------

Command Lines

Creating command line "rc.exe /l 0x409 /fo"Release/sample1.res" /d "NDEBUG" /d "_AFXDLL" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1.rc"" Creating temporary file "C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP35.tmp" with contents [ /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"Release/sample1.pch" /Yu"stdafx.h" /Fo"Release/" /Fd"Release/" /FD /c "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\DetectDialog.cpp" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1.cpp" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1Dlg.cpp" ] Creating command line "cl.exe @C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP35.tmp" Creating temporary file "C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP36.tmp" with contents [ /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"Release/sample1.pch" /Yc"stdafx.h" /Fo"Release/" /Fd"Release/" /FD /c "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\StdAfx.cpp" ] Creating command line "cl.exe @C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP36.tmp" Creating command line "link.exe /nologo /subsystem:windows /incremental:no /pdb:"Release/sample1.pdb" /machine:I386 /out:"Release/sample1.exe" .\Release\DetectDialog.obj .\Release\sample1.obj .\Release\sample1Dlg.obj .\Release\StdAfx.obj .\Release\sample1.res .\VCAIOUSB.lib "

Output Window

Compiling resources... Compiling... StdAfx.cpp Compiling... DetectDialog.cpp sample1.cpp sample1Dlg.cpp Generating Code... Linking...

Results

sample1.exe - 0 error(s), 0 warning(s)
ected } OnReadAllButtonClick(); return TRUE; // return TRUE unless you set the focus to a control}// If you add a minimize button to your dialog, you will need the code below// to draw the icon. For MFC applications using the document/view model,// this is automatically done for you by the framework.void CSample1Dlg::OnPaint() { if (oiSP_R CPaintDC dc(this); // device context for painting SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0); // Center icon in client rectangle int cxIcon = GetSystemMetrics(SM_CXICON); int cyIcon = GetSystemMetrics(SM_CYICON); CRect rect; GetClientRect(&rect); int x = (rect.Width() - cxIcon + 1) / 2; int y = (rect.Height() - cyIcon + 1) / 2; // Draw the icon dc.DrawIcon(x, y, m_hIcon); } else { CDialog::OnPaint(); }}// The system calls this to obtain the cursor to display while the user drags// the minimized window.HCURSOR CSample1Dlg::OnQueryDragIcon(){ return (HCURSOR) m_hIcon;}void CSample1Dlg::chkClicked(int index){ if (checkArray[index]->GetCheck() == BST_CHECKED) { outMask |= 1 << index; btnArray[index]->SetWindowText("Write"); } else { outMask &= ~(1 << index); btnArray[index]->SetWindowText("Read"); } DIO_Configure(deviceIndex, false, &outMask, data);}void CSample1Dlg::OnCheckPort0a() { chkClicked( 0); }void CSample1Dlg::MLJL12O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1.dsp:no /pdb:"Release/sample1.pdb" /machine:I386 /out:"Release/sample1.exe" .\Release\DetectDialog.obj .\Release\sample1.obj .\Release\sample1Dlg.obj .\Release\StdAfx.obj .\Release\sample1.res .\VCAIOUSB.lib " VisualC\StdAfx.cpp" ] p" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1.cpp" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1Dlg.cpp" ] Call Stack6r}dd Disassemblyr6dd,,,8 Workspace6 sdxdGMenu bar?t/dStandard/t/XMd_8`Build&tyd Full Screent!3dd Build MiniBar/u/]MdX8VXATL.uddResource.uddDialogumduControlsuG"yBddGraphicsu0dzJVdVColorsu0VwSdS Text Toolud(ddEdit.uddDebug7vdM8VMBrowse>vddQuerywddDatabase DiagramwddTablewddDatabase>wddVieww) in your sourceddSource ControlwddRecord`w)`[~dd F

Build Log

--------------------Configuration: sample1 - Win32 Release--------------------

Command Lines

Creating command line "rc.exe /l 0x409 /fo"Release/sample1.res" /d "NDEBUG" /d "_AFXDLL" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1.rc"" Creating temporary file "C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP35.tmp" with contents [ /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"Release/sample1.pch" /Yu"stdafx.h" /Fo"Release/" /Fd"Release/" /FD /c "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\DetectDialog.cpp" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1.cpp" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1Dlg.cpp" ] Creating command line "cl.exe @C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP35.tmp" Creating temporary file "C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP36.tmp" with contents [ /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"Release/sample1.pch" /Yc"stdafx.h" /Fo"Release/" /Fd"Release/" /FD /c "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\StdAfx.cpp" ] Creating command line "cl.exe @C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP36.tmp" Creating command line "link.exe /nologo /subsystem:windows /incremental:no /pdb:"Release/sample1.pdb" /machine:I386 /out:"Release/sample1.exe" .\Release\DetectDialog.obj .\Release\sample1.obj .\Release\sample1Dlg.obj .\Release\StdAfx.obj .\Release\sample1.res .\VCAIOUSB.lib "

Output Window

Compiling resources... Compiling... StdAfx.cpp Compiling... DetectDialog.cpp sample1.cpp sample1Dlg.cpp Generating Code... Linking...

Results

sample1.exe - 0 error(s), 0 warning(s)
ected } OnReadAllButtonClick(); return TRUE; // return TRUE unless you set the focus to a control}// If you add a minimize button to your dialog, you will need the code below// to draw the icon. For MFC applications using the document/view model,// this is automatically done for you by the framework.void CSample1Dlg::OnPaint() { if (oiSP_R CPaintDC dc(this); // device context for painting SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0); // Center icon in client rectangle int cxIcon = GetSystemMetrics(SM_CXICON); int cyIcon = GetSystemMetrics(SM_CYICON); CRect rect; GetClientRect(&rect); int x = (rect.Width() - cxIcon + 1) / 2; int y = (rect.Height() - cyIcon + 1) / 2; // Draw the icon dc.DrawIcon(x, y, m_hIcon); } else { CDialog::OnPaint(); }}// The system calls this to obtain the cursor to display while the user drags// the minimized window.HCURSOR CSample1Dlg::OnQueryDragIcon(){ return (HCURSOR) m_hIcon;}void CSample1Dlg::chkClicked(int index){ if (checkArray[index]->GetCheck() == BST_CHECKED) { outMask |= 1 << index; btnArray[index]->SetWindowText("Write"); } else { outMask &= ~(1 << index); btnArray[index]->SetWindowText("Read"); } DIO_Configure(deviceIndex, false, &outMask, data);}void CSample1Dlg::OnCheckPort0a() { chkClicked( 0); }void CSample1Dlg::Workspace Window"!IPI_sample1+IPI_ 5ClassView Window"?sample1 ClassViewsample1 classessample1 classessample1 classes ResourceViewsample1 resourcessample1 resourcesFileView!Workspace 'sample1': 1 project(s) sample1 files Source Files Header Files sample1 files!Workspace 'sample1': 1 project(s)FileView\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1Dlg.cpp" ] Call Stack6r}dd Disassemblyr6dd,,,8 Workspace6 sdxdGMenu bar?t/dStandard/t/XMd_8`Build&tyd Full Screent!3dd Build MiniBar/u/]MdX8VXATL.uddResource.uddDialogumduControlsuG"yBddGraphicsu0dzJVdVColorsu0VwSdS Text Toolud(ddEdit.uddDebug7vdM8VMBrowse>vddQuerywddDatabase DiagramwddTablewddDatabase>wddVieww) in your sourceddSource ControlwddRecord`w)`[~dd F

Build Log

--------------------Configuration: sample1 - Win32 Release--------------------

Command Lines

Creating command line "rc.exe /l 0x409 /fo"Release/sample1.res" /d "NDEBUG" /d "_AFXDLL" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1.rc"" Creating temporary file "C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP35.tmp" with contents [ /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"Release/sample1.pch" /Yu"stdafx.h" /Fo"Release/" /Fd"Release/" /FD /c "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\DetectDialog.cpp" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1.cpp" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1Dlg.cpp" ] Creating command line "cl.exe @C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP35.tmp" Creating temporary file "C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP36.tmp" with contents [ /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"Release/sample1.pch" /Yc"stdafx.h" /Fo"Release/" /Fd"Release/" /FD /c "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\StdAfx.cpp" ] Creating command line "cl.exe @C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP36.tmp" Creating command line "link.exe /nologo /subsystem:windows /incremental:no /pdb:"Release/sample1.pdb" /machine:I386 /out:"Release/sample1.exe" .\Release\DetectDialog.obj .\Release\sample1.obj .\Release\sample1Dlg.obj .\Release\StdAfx.obj .\Release\sample1.res .\VCAIOUSB.lib "

Output Window

Compiling resources... Compiling... StdAfx.cpp Compiling... DetectDialog.cpp sample1.cpp sample1Dlg.cpp Generating Code... Linking...

Results

sample1.exe - 0 error(s), 0 warning(s)
ected } OnReadAllButtonClick(); return TRUE; // return TRUE unless you set the focus to a control}// If you add a minimize button to your dialog, you will need the code below// to draw the icon. For MFC applications using the document/view model,// this is automatically done for you by the framework.void CSample1Dlg::OnPaint() { if (oiSP_R CPaintDC dc(this); // device context for painting SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0); // Center icon in client rectangle int cxIcon = GetSystemMetrics(SM_CXICON); int cyIcon = GetSystemMetrics(SM_CYICON); CRect rect; GetClientRect(&rect); int x = (rect.Width() - cxIcon + 1) / 2; int y = (rect.Height() - cyIcon + 1) / 2; // Draw the icon dc.DrawIcon(x, y, m_hIcon); } else { CDialog::OnPaint(); }}// The system calls this to obtain the cursor to display while the user drags// the minimized window.HCURSOR CSample1Dlg::OnQueryDragIcon(){ return (HCURSOR) m_hIcon;}void CSample1Dlg::chkClicked(int index){ if (checkArray[index]->GetCheck() == BST_CHECKED) { outMask |= 1 << index; btnArray[index]->SetWindowText("Write"); } else { outMask &= ~(1 << index); btnArray[index]->SetWindowText("Read"); } DIO_Configure(deviceIndex, false, &outMask, data);}void CSample1Dlg::OnCheckPort0a() { chkClicked( 0); }void CSample1Dlg::`SAMPLE1 - WIN32 RELEASE sample1.dspCProjectSAMPLE1 - WIN32 RELEASEsample1 - Win32 Releasesample1 - Win32 DebugSSBR CTargetItemsample1 - Win32 Releasesample1 - Win32 DebugSSBR Source Files CProjGroupSSBRDJW Header Files CProjGroupSSBRDJWResource Files CProjGroupSSBRDJWdepCDependencyContainerSSBR basetsd.hCDependencyFileSSBRDJWdepCDependencyContainerSSBR basetsd.hCDependencyFileSSBRDJWDJWDJW6 sdxdGMenu bar?t/dStandard/t/XMd_8`Build&tyd Full Screent!3dd Build MiniBar/u/]MdX8VXATL.uddResource.uddDialogumduControlsuG"yBddGraphicsu0dzJVdVColorsu0VwSdS Text Toolud(ddEdit.uddDebug7vdM8VMBrowse>vddQuerywddDatabase DiagramwddTablewddDatabase>wddVieww) in your sourceddSource ControlwddRecord`w)`[~dd F

Build Log

--------------------Configuration: sample1 - Win32 Release--------------------

Command Lines

Creating command line "rc.exe /l 0x409 /fo"Release/sample1.res" /d "NDEBUG" /d "_AFXDLL" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1.rc"" Creating temporary file "C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP35.tmp" with contents [ /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"Release/sample1.pch" /Yu"stdafx.h" /Fo"Release/" /Fd"Release/" /FD /c "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\DetectDialog.cpp" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1.cpp" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1Dlg.cpp" ] Creating command line "cl.exe @C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP35.tmp" Creating temporary file "C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP36.tmp" with contents [ /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"Release/sample1.pch" /Yc"stdafx.h" /Fo"Release/" /Fd"Release/" /FD /c "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\StdAfx.cpp" ] Creating command line "cl.exe @C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP36.tmp" Creating command line "link.exe /nologo /subsystem:windows /incremental:no /pdb:"Release/sample1.pdb" /machine:I386 /out:"Release/sample1.exe" .\Release\DetectDialog.obj .\Release\sample1.obj .\Release\sample1Dlg.obj .\Release\StdAfx.obj .\Release\sample1.res .\VCAIOUSB.lib "

Output Window

Compiling resources... Compiling... StdAfx.cpp Compiling... DetectDialog.cpp sample1.cpp sample1Dlg.cpp Generating Code... Linking...

Results

sample1.exe - 0 error(s), 0 warning(s)
ected } OnReadAllButtonClick(); return TRUE; // return TRUE unless you set the focus to a control}// If you add a minimize button to your dialog, you will need the code below// to draw the icon. For MFC applications using the document/view model,// this is automatically done for you by the framework.void CSample1Dlg::OnPaint() { if (oiSP_R CPaintDC dc(this); // device context for painting SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0); // Center icon in client rectangle int cxIcon = GetSystemMetrics(SM_CXICON); int cyIcon = GetSystemMetrics(SM_CYICON); CRect rect; GetClientRect(&rect); int x = (rect.Width() - cxIcon + 1) / 2; int y = (rect.Height() - cyIcon + 1) / 2; // Draw the icon dc.DrawIcon(x, y, m_hIcon); } else { CDialog::OnPaint(); }}// The system calls this to obtain the cursor to display while the user drags// the minimized window.HCURSOR CSample1Dlg::OnQueryDragIcon(){ return (HCURSOR) m_hIcon;}void CSample1Dlg::chkClicked(int index){ if (checkArray[index]->GetCheck() == BST_CHECKED) { outMask |= 1 << index; btnArray[index]->SetWindowText("Write"); } else { outMask &= ~(1 << index); btnArray[index]->SetWindowText("Read"); } DIO_Configure(deviceIndex, false, &outMask, data);}void CSample1Dlg::OnCheckPort0a() { chkClicked( 0); }void CSample1Dlg::`sample1 - Win32 Releasesample1 - Win32 Debugsample1 - Win32 Releasesample1 - Win32 DebugSSBR CTargetItemsample1 - Win32 Releasesample1 - Win32 DebugSSBR Source Files CProjGroupSSBRDJW Header Files CProjGroupSSBRDJWResource Files CProjGroupSSBRDJWdepCDependencyContainerSSBR basetsd.hCDependencyFileSSBRDJWdepCDependencyContainerSSBR basetsd.hCDependencyFileSSBRDJWDJWDJW6 sdxdGMenu bar?t/dStandard/t/XMd_8`Build&tyd Full Screent!3dd Build MiniBar/u/]MdX8VXATL.uddResource.uddDialogumduControlsuG"yBddGraphicsu0dzJVdVColorsu0VwSdS Text Toolud(ddEdit.uddDebug7vdM8VMBrowse>vddQuerywddDatabase DiagramwddTablewddDatabase>wddVieww) in your sourceddSource ControlwddRecord`w)`[~dd F

Build Log

--------------------Configuration: sample1 - Win32 Release--------------------

Command Lines

Creating command line "rc.exe /l 0x409 /fo"Release/sample1.res" /d "NDEBUG" /d "_AFXDLL" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1.rc"" Creating temporary file "C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP35.tmp" with contents [ /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"Release/sample1.pch" /Yu"stdafx.h" /Fo"Release/" /Fd"Release/" /FD /c "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\DetectDialog.cpp" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1.cpp" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1Dlg.cpp" ] Creating command line "cl.exe @C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP35.tmp" Creating temporary file "C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP36.tmp" with contents [ /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"Release/sample1.pch" /Yc"stdafx.h" /Fo"Release/" /Fd"Release/" /FD /c "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\StdAfx.cpp" ] Creating command line "cl.exe @C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP36.tmp" Creating command line "link.exe /nologo /subsystem:windows /incremental:no /pdb:"Release/sample1.pdb" /machine:I386 /out:"Release/sample1.exe" .\Release\DetectDialog.obj .\Release\sample1.obj .\Release\sample1Dlg.obj .\Release\StdAfx.obj .\Release\sample1.res .\VCAIOUSB.lib "

Output Window

Compiling resources... Compiling... StdAfx.cpp Compiling... DetectDialog.cpp sample1.cpp sample1Dlg.cpp Generating Code... Linking...

Results

sample1.exe - 0 error(s), 0 warning(s)
ected } OnReadAllButtonClick(); return TRUE; // return TRUE unless you set the focus to a control}// If you add a minimize button to your dialog, you will need the code below// to draw the icon. For MFC applications using the document/view model,// this is automatically done for you by the framework.void CSample1Dlg::OnPaint() { if (oiSP_R CPaintDC dc(this); // device context for painting SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0); // Center icon in client rectangle int cxIcon = GetSystemMetrics(SM_CXICON); int cyIcon = GetSystemMetrics(SM_CYICON); CRect rect; GetClientRect(&rect); int x = (rect.Width() - cxIcon + 1) / 2; int y = (rect.Height() - cyIcon + 1) / 2; // Draw the icon dc.DrawIcon(x, y, m_hIcon); } else { CDialog::OnPaint(); }}// The system calls this to obtain the cursor to display while the user drags// the minimized window.HCURSOR CSample1Dlg::OnQueryDragIcon(){ return (HCURSOR) m_hIcon;}void CSample1Dlg::chkClicked(int index){ if (checkArray[index]->GetCheck() == BST_CHECKED) { outMask |= 1 << index; btnArray[index]->SetWindowText("Write"); } else { outMask &= ~(1 << index); btnArray[index]->SetWindowText("Read"); } DIO_Configure(deviceIndex, false, &outMask, data);}void CSample1Dlg::OnCheckPort0a() { chkClicked( 0); }void CSample1Dlg:: CClsFldSlobsample12 Releasesample1 - Win32 Debugsample1 - Win32 Releasesample1 - Win32 DebugSSBR CTargetItemsample1 - Win32 Releasesample1 - Win32 DebugSSBR Source Files CProjGroupSSBRDJW Header Files CProjGroupSSBRDJWResource Files CProjGroupSSBRDJWdepCDependencyContainerSSBR basetsd.hCDependencyFileSSBRDJWdepCDependencyContainerSSBR basetsd.hCDependencyFileSSBRDJWDJWDJW6 sdxdGMenu bar?t/dStandard/t/XMd_8`Build&tyd Full Screent!3dd Build MiniBar/u/]MdX8VXATL.uddResource.uddDialogumduControlsuG"yBddGraphicsu0dzJVdVColorsu0VwSdS Text Toolud(ddEdit.uddDebug7vdM8VMBrowse>vddQuerywddDatabase DiagramwddTablewddDatabase>wddVieww) in your sourceddSource ControlwddRecord`w)`[~dd F

Build Log

--------------------Configuration: sample1 - Win32 Release--------------------

Command Lines

Creating command line "rc.exe /l 0x409 /fo"Release/sample1.res" /d "NDEBUG" /d "_AFXDLL" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1.rc"" Creating temporary file "C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP35.tmp" with contents [ /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"Release/sample1.pch" /Yu"stdafx.h" /Fo"Release/" /Fd"Release/" /FD /c "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\DetectDialog.cpp" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1.cpp" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1Dlg.cpp" ] Creating command line "cl.exe @C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP35.tmp" Creating temporary file "C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP36.tmp" with contents [ /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"Release/sample1.pch" /Yc"stdafx.h" /Fo"Release/" /Fd"Release/" /FD /c "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\StdAfx.cpp" ] Creating command line "cl.exe @C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP36.tmp" Creating command line "link.exe /nologo /subsystem:windows /incremental:no /pdb:"Release/sample1.pdb" /machine:I386 /out:"Release/sample1.exe" .\Release\DetectDialog.obj .\Release\sample1.obj .\Release\sample1Dlg.obj .\Release\StdAfx.obj .\Release\sample1.res .\VCAIOUSB.lib "

Output Window

Compiling resources... Compiling... StdAfx.cpp Compiling... DetectDialog.cpp sample1.cpp sample1Dlg.cpp Generating Code... Linking...

Results

sample1.exe - 0 error(s), 0 warning(s)
ected } OnReadAllButtonClick(); return TRUE; // return TRUE unless you set the focus to a control}// If you add a minimize button to your dialog, you will need the code below// to draw the icon. For MFC applications using the document/view model,// this is automatically done for you by the framework.void CSample1Dlg::OnPaint() { if (oiSP_R CPaintDC dc(this); // device context for painting SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0); // Center icon in client rectangle int cxIcon = GetSystemMetrics(SM_CXICON); int cyIcon = GetSystemMetrics(SM_CYICON); CRect rect; GetClientRect(&rect); int x = (rect.Width() - cxIcon + 1) / 2; int y = (rect.Height() - cyIcon + 1) / 2; // Draw the icon dc.DrawIcon(x, y, m_hIcon); } else { CDialog::OnPaint(); }}// The system calls this to obtain the cursor to display while the user drags// the minimized window.HCURSOR CSample1Dlg::OnQueryDragIcon(){ return (HCURSOR) m_hIcon;}void CSample1Dlg::chkClicked(int index){ if (checkArray[index]->GetCheck() == BST_CHECKED) { outMask |= 1 << index; btnArray[index]->SetWindowText("Write"); } else { outMask &= ~(1 << index); btnArray[index]->SetWindowText("Read"); } DIO_Configure(deviceIndex, false, &outMask, data);}void CSample1Dlg::OnCheckPort0a() { chkClicked( 0); }void CSample1Dlg::DebuggerJDocumentsV >{,O:\CD\CDA\disks\USBDIO32\Win32\VisualC\sample1Dlg.cpp,} .248>{,O:\CD\CDA\disks\USBDIO32\Win32\VisualC\sample1Dlg.cpp,} .256sample1 - Win32 Debug@ Control-C@ Control-BreakDatatype MisalignmentAccess Violation In Page ErrorIllegal InstructionArray Bounds ExceededFloat Denormal OperandFloat Divide by ZeroFloat Inexact ResultFloat Invalid OperationFloat OverflowFloat Stack CheckFloat Underflow No Memory%Noncontinuable Exception&Invalid DispositionInteger Divide by ZeroInteger OverflowPrivileged InstructionStack Overflow5 DLL Not FoundBDLL Initialization Failed~mModule Not FoundmProcedure Not FoundInvalid HandlecsmMicrosoft C++ ExceptionbtnArraydataWatch1Watch2Watch3Watch4 !uddDialogumduControlsuG"yBddGraphicsu0dzJVdVColorsu0VwSdS Text Toolud(ddEdit.uddDebug7vdM8VMBrowse>vddQuerywddDatabase DiagramwddTablewddDatabase>wddVieww) in your sourceddSource ControlwddRecord`w)`[~dd F

Build Log

--------------------Configuration: sample1 - Win32 Release--------------------

Command Lines

Creating command line "rc.exe /l 0x409 /fo"Release/sample1.res" /d "NDEBUG" /d "_AFXDLL" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1.rc"" Creating temporary file "C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP35.tmp" with contents [ /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"Release/sample1.pch" /Yu"stdafx.h" /Fo"Release/" /Fd"Release/" /FD /c "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\DetectDialog.cpp" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1.cpp" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1Dlg.cpp" ] Creating command line "cl.exe @C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP35.tmp" Creating temporary file "C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP36.tmp" with contents [ /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"Release/sample1.pch" /Yc"stdafx.h" /Fo"Release/" /Fd"Release/" /FD /c "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\StdAfx.cpp" ] Creating command line "cl.exe @C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP36.tmp" Creating command line "link.exe /nologo /subsystem:windows /incremental:no /pdb:"Release/sample1.pdb" /machine:I386 /out:"Release/sample1.exe" .\Release\DetectDialog.obj .\Release\sample1.obj .\Release\sample1Dlg.obj .\Release\StdAfx.obj .\Release\sample1.res .\VCAIOUSB.lib "

Output Window

Compiling resources... Compiling... StdAfx.cpp Compiling... DetectDialog.cpp sample1.cpp sample1Dlg.cpp Generating Code... Linking...

Results

sample1.exe - 0 error(s), 0 warning(s)
ected } OnReadAllButtonClick(); return TRUE; // return TRUE unless you set the focus to a control}// If you add a minimize button to your dialog, you will need the code below// to draw the icon. For MFC applications using the document/view model,// this is automatically done for you by the framework.void CSample1Dlg::OnPaint() { if (oiSP_R CPaintDC dc(this); // device context for painting SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0); // Center icon in client rectangle int cxIcon = GetSystemMetrics(SM_CXICON); int cyIcon = GetSystemMetrics(SM_CYICON); CRect rect; GetClientRect(&rect); int x = (rect.Width() - cxIcon + 1) / 2; int y = (rect.Height() - cyIcon + 1) / 2; // Draw the icon dc.DrawIcon(x, y, m_hIcon); } else { CDialog::OnPaint(); }}// The system calls this to obtain the cursor to display while the user drags// the minimized window.HCURSOR CSample1Dlg::OnQueryDragIcon(){ return (HCURSOR) m_hIcon;}void CSample1Dlg::chkClicked(int index){ if (checkArray[index]->GetCheck() == BST_CHECKED) { outMask |= 1 << index; btnArray[index]->SetWindowText("Write"); } else { outMask &= ~(1 << index); btnArray[index]->SetWindowText("Read"); } DIO_Configure(deviceIndex, false, &outMask, data);}void CSample1Dlg::OnCheckPort0a() { chkClicked( 0); }void CSample1Dlg::ekP_Rx{ chkClicked( 1); }void CSample1Dlg::OnCheckPort0c() { chkClicked( 2); }void CSample1Dlg::OnCheckPort1a() { chkClicked( 3); }void CSample1Dlg::OnCheckPort1b() { chkClicked( 4); }void CSample1Dlg::OnCheckPort1c() { chkClicked( 5); }void CSample1Dlg::grabData(){ char buf[3]; unsigned long iBuf = 0; UpdateData(true); for (int count = 0; count <= 5; count++) { editArray[count]->GetWindowText(buf, 3); sscanf(buf, "%x", &iBuf); data[count] = (unsigned char)(iBuf); }}void CSample1Dlg::buttonClicked(int index){ CString received; int status; if (checkArray[index]->GetCheck() == BST_CHECKED) { //we are outputting so get the data from the form grabData(); DIO_Write8(deviceIndex, index, data[index]); } else { //we are recieving so put information on the form status = DIO_Read8(deviceIndex, index, &(data[index])); received.Format("%02X", data[index]); editArray[index]->SetWindowText(received); }}void CSample1Dlg::OnButtonPort0a() { buttonClicked( 8C/C++eDCCPCM M XH-CpH!CP|CbD`cD(dDdD Sx S@ SSSS`S' to 'unsignedBC:\Program Files\Microsoft Visual Studio\VC98\MFC\SRC\APPMODUL.CPP&{2AE27A3C-17F5-11D0-AF1B-00A0C90F9DE6},BB*C/C++eDCCPCM M XH-CpH!CP|CbD`cD(dDdD Sx S@ SSSS`S' to 'unsigned.\sample1Dlg.cpp&{2AE27A3C-17F5-11D0-AF1B-00A0C90F9DE6},,:rflowFloat Stack CheckFloat Underflow No Memory%Noncontinuable Exception&Invalid DispositionInteger Divide by ZeroInteger OverflowPrivileged InstructionStack Overflow5 DLL Not FoundBDLL Initialization Failed~mModule Not FoundmProcedure Not FoundInvalid HandlecsmMicrosoft C++ ExceptionbtnArraydataWatch1Watch2Watch3Watch4 !uddDialogumduControlsuG"yBddGraphicsu0dzJVdVColorsu0VwSdS Text Toolud(ddEdit.uddDebug7vdM8VMBrowse>vddQuerywddDatabase DiagramwddTablewddDatabase>wddVieww) in your sourceddSource ControlwddRecord`w)`[~dd F

Build Log

--------------------Configuration: sample1 - Win32 Release--------------------

Command Lines

Creating command line "rc.exe /l 0x409 /fo"Release/sample1.res" /d "NDEBUG" /d "_AFXDLL" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1.rc"" Creating temporary file "C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP35.tmp" with contents [ /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"Release/sample1.pch" /Yu"stdafx.h" /Fo"Release/" /Fd"Release/" /FD /c "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\DetectDialog.cpp" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1.cpp" "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\sample1Dlg.cpp" ] Creating command line "cl.exe @C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP35.tmp" Creating temporary file "C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP36.tmp" with contents [ /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"Release/sample1.pch" /Yc"stdafx.h" /Fo"Release/" /Fd"Release/" /FD /c "O:\CD\CDA\Disks\USBDIO48\Win32\VisualC\StdAfx.cpp" ] Creating command line "cl.exe @C:\DOCUME~1\dwinters\LOCALS~1\Temp\RSP36.tmp" Creating command line "link.exe /nologo /subsystem:windows /incremental:no /pdb:"Release/sample1.pdb" /machine:I386 /out:"Release/sample1.exe" .\Release\DetectDialog.obj .\Release\sample1.obj .\Release\sample1Dlg.obj .\Release\StdAfx.obj .\Release\sample1.res .\VCAIOUSB.lib "

Output Window

Compiling resources... Compiling... StdAfx.cpp Compiling... DetectDialog.cpp sample1.cpp sample1Dlg.cpp Generating Code... Linking...

Results

sample1.exe - 0 error(s), 0 warning(s)
ected } OnReadAllButtonClick(); return TRUE; // return TRUE unless you set the focus to a control}// If you add a minimize button to your dialog, you will need the code below// to draw the icon. For MFC applications using the document/view model,// this is automatically done for you by the framework.void CSample1Dlg::OnPaint() { if (oiSP_R CPaintDC dc(this); // device context for painting SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0); // Center icon in client rectangle int cxIcon = GetSystemMetrics(SM_CXICON); int cyIcon = GetSystemMetrics(SM_CYICON); CRect rect; GetClientRect(&rect); int x = (rect.Width() - cxIcon + 1) / 2; int y = (rect.Height() - cyIcon + 1) / 2; // Draw the icon dc.DrawIcon(x, y, m_hIcon); } else { CDialog::OnPaint(); }}// The system calls this to obtain the cursor to display while the user drags// the minimized window.HCURSOR CSample1Dlg::OnQueryDragIcon(){ return (HCURSOR) m_hIcon;}void CSample1Dlg::chkClicked(int index){ if (checkArray[index]->GetCheck() == BST_CHECKED) { outMask |= 1 << index; btnArray[index]->SetWindowText("Write"); } else { outMask &= ~(1 << index); btnArray[index]->SetWindowText("Read"); } DIO_Configure(deviceIndex, false, &outMask, data);}void CSample1Dlg::OnCheckPort0a() { chkClicked( 0); }void CSample1Dlg::