This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

AGDI use WinIo

Directory Structures:
Windows : E:\Windows (Windows system)
KeilBin : E:\Keil\C51\bin
AGDIDebug : E:\...\Debug
Hello : E:\...\Hello (This is a uvision project)

AGDI needs connection code between interface and target hardware. Since PC connects the target through parallel ports, I choose WinIo that enables direct I/O under Windows2000/XP. It's required that WinIo.dll/sys/vxd be in the same directory as the executable program using them. So I put them in the Windows & KeilBin & AGDIDebug & Hello directories.

InitTarget() in AGDI.cpp calls InitializeWinIo() in WinIo. When I press F5 in VC6, uvision2 is opened. Then I press Ctrl+F5 in uvision2. However, InitializeWinIo() failed ( it returns false ) which means WinIo.sys cannot be found.

I'm sure the WinIo.dll has been loaded (::LoadLibrary() returns non-zero). How can uvision2 find WinIo.sys?

Please Help!

0