2-) It does not work on other machine (win98). it gives errors with some proper running:
opensmart function gives required value (not -1)
getsmartversion function gives value=true
verparam.bIDEDeviceMap =0 (it is problem)
checksmartenable function gives value=false (it is problem)
3-) It does not work on other machine (WINNT). it gives errors opensmart function gives value = -1 (INVALID_HANDLE_VALUE) (it is problem)
What is missing in other machines ?
How can I solve these problems on both WIN98, WINNT and Win XP machines ?
(Can there be SMART-drive problem or Microsoft Script Runtime or OLE Automation ?)
Or , is there any better way to obtain hdd serial in vb ?