shortcuts

This is a discussion on shortcuts within the Windows Programming forums, part of the Platform Specific Boards category; Does anyone know the format for a .lnk file?...

  1. #1
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685

    shortcuts

    Does anyone know the format for a .lnk file?

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,786

  3. #3
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 19
    Last Post: 09-17-2005, 09:49 AM
  2. Change multimedia keyboard shortcuts
    By bennyandthejets in forum Tech Board
    Replies: 1
    Last Post: 03-22-2004, 12:33 PM
  3. What would you like in a interface?
    By commanderrulz in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 07-29-2002, 05:29 AM
  4. Stupid Shortcuts
    By mike_k in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 05-16-2002, 12:26 AM
  5. shortcuts
    By anthonye in forum C Programming
    Replies: 1
    Last Post: 02-11-2002, 04:27 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21