I have a simple PCI DAQ card. I want to access Base Address to controll this board directly.
Can anybody help me how to get PCI Base Address of this board under WinXP?
I have a dll (pcitst32.dll) what supplyed it, but it works on win98 only.
I found a VB file next to the dll and I found a FindPciDevice(PID, VID, Index, BusNum, DevAndFunc) and a ReadConfigurationDword(BusNum, DevAndFunc, PciCsBaseAddr0, lValue) functions.
The other VB file call this bas file with Index=0.
The ReadConfigurationDword called 5 times. Each time called with different PciCsBaseAddr value.
I look into dll binary code and I found it call HalGetBusData function. I have seen on the MSDN sites and say it function is obsolete. It say use IRP_MN_QUERY_INTERFACE instead HalGetBusData.
Can I (or anybody) make a dll what I can call from any application what it will supply Base Addresses of PCI board what identified VID and PID or help with instruction what must i'm do?
I hope so you understand what I want.