I am using WNetUseConnection to map a network drive. It maps ok when I run
it interactively. However, when I run the program as a windows 2000 service
it fails to map the drive.

Does anyone have an example of mapping drives in a windows nt or 2000 service?