I can not link direct sound and direct input

Hello Sir:

     I using BC 5.02, Direct 5.0,
     But I can not reference IID_IDirectSound and ....... from dxGuide.lib
    Please help me.

    Thank you very much!!

    My working envirement is Win NT 4.0 service pack 3.
    where can not use direct 6.0

my e-mail address is A...@voxel.com.tw