Thanks for the replies!
Darin, I wasn't sure if I filled in the prototype correctly according to the help.
LogMAN, this is the exact example I was working on. It used to work and now it gives me error 2250.
Which brings me to what Rolf said... it is not compatible with Win 64bit. I moved the application from 32bit to 64bit.
Rolf, I have MPR.dll in my Win10 64bit and I need the URI, not the UNC (I thought that code used to give the URI yet the last time it was used was before my time so...)
What do I need to change in the code to make it compatible with 64bit, safe to use and that it will return the URI?
Thanks in advance.