hmsheng
Full Member level 4
dlportio
Can anyone tell me how to use dlportio.dll in vc++ progrem?
I use it in this way:
----------------------------------------------
#include "stdafx.h"
#include "Parallel.h"
#include "ParallelDlg.h"
#include "dlportio.h"
...
void CParallelDlg::OnSend()
{
DlPortWritePortUchar(0x768, 0x00);
}
------------------------------------------------
But error occurs when linking:
------------------------------------------------
Linking...
ParallelDlg.obj : error LNK2001: unresolved external symbol _DlPortWritePortUchar@8
Debug/Parallel.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
----------------------------------------------------------
Who can tell me why? and how to use dlportio.dll?
Thanks.
Can anyone tell me how to use dlportio.dll in vc++ progrem?
I use it in this way:
----------------------------------------------
#include "stdafx.h"
#include "Parallel.h"
#include "ParallelDlg.h"
#include "dlportio.h"
...
void CParallelDlg::OnSend()
{
DlPortWritePortUchar(0x768, 0x00);
}
------------------------------------------------
But error occurs when linking:
------------------------------------------------
Linking...
ParallelDlg.obj : error LNK2001: unresolved external symbol _DlPortWritePortUchar@8
Debug/Parallel.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
----------------------------------------------------------
Who can tell me why? and how to use dlportio.dll?
Thanks.