Thanks Fordy, but I usually (not always) search the boards for my question before asking and found the same thread. My problem is mainly that I never really delved into com objects before and really haven't used ole too much. When I compiled the program and ran it I got an error--"Could not get save to disk"
This is obviously because
Code:
hRes = Ipf->Save(lpwstrLinkPath, TRUE);
returned an error. So since you brought up the other thread (and I wasn't going to add to an old post) do you know what is going wrong.
WAIT. I see the problem. The other dude assumed that my windows 98 directory is windows, instead of using GetWindowsDirectory(). Oh well I got it to work.