kb8tl:
You can find out if resman has already been run by calling "GetDevInfoLong" with the LA argument of 0x0 and the field value of 0x8110. If resman has already been run, then it will return 0x0. If resman has NOT run, then it will return 0x80000800.
Trey Hamilton
Applications Engineer
National Instruments
http://www.ni.com/support