I need the file shell32.lib

This is a discussion on I need the file shell32.lib within the C++ Programming forums, part of the General Programming Boards category; Hello. I need the file shell32.lib. I do not have it on my PC, and I have tried searching for ...

  1. #1
    Registered User
    Join Date
    Jun 2002
    Posts
    79

    I need the file shell32.lib

    Hello. I need the file shell32.lib. I do not have it on my PC, and I have tried searching for the file on the internet. If possible, could someone please upload it as an attachment? If the file is too big for that, please tell me where exactly I can find the file available for download, and which directory I should copy the file to.
    Last edited by sundeeptuteja; 08-10-2002 at 11:40 AM.

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    http://www.cprogramming.com/boardfaq.html#header
    Usually, if the library doesn't come with your compiler then it won't work with your compiler.

    -Prelude
    My best code is written with the delete key.

  3. #3
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    You can get this from the Platform SDK download available at Microsoft...

    Not sure if that lib will be compatible with Borland though....

    Is your compiler Borland Builder 5

    If so I imagine it should ship with the lib......

    I know Devc++ does....

  4. #4
    sundeeptuteja
    Guest
    The compiler has the function ShellExecute() defined. However, the import library specified in the help file is shell32.lib, which I do not seem to have. Thus I think the compiler should support it. Unfortunately, I do not use Borland Builder. Should I switch over to a different compiler altogether?

  5. #5
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Originally posted by sundeeptuteja
    The compiler has the function ShellExecute() defined. However, the import library specified in the help file is shell32.lib, which I do not seem to have. Thus I think the compiler should support it. Unfortunately, I do not use Borland Builder. Should I switch over to a different compiler altogether?
    Borland offers a command line version of Builder for free.......that (as far as I know) is a windows compiler and should have what you need

    Also, if you like to have a nice IDE, consider downloading DevC++...thats free and can be got from - here. That definatley has the library you need, but it is called "libshell32.a"....

  6. #6
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    I don't know if that version of borland has 'implib' (bcc5.5 cmd line tools do which are free; there's a link in the FAQ if you want to download them), but if it does you can use that to create the lib from the shell32.dll.

    ms & borland libs are not compatible (i'm sorry I don't recall the exact reasons)

    I'd still consider following Fordy's advice and get the Aug2001 psdk to ensure that you at least have latest headers/help files etc.

    edit: (cmd line) syntax for implib is delightfully simple eg:
    Code:
    implib shell32.lib shell32.dll
    Last edited by Ken Fitlike; 08-10-2002 at 12:34 PM.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  7. #7
    sundeeptuteja
    Guest
    Thanks a lot.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Encryption program
    By zeiffelz in forum C Programming
    Replies: 1
    Last Post: 06-15-2005, 03:39 AM
  2. Unknown Memory Leak in Init() Function
    By CodeHacker in forum Windows Programming
    Replies: 3
    Last Post: 07-09-2004, 09:54 AM
  3. Making a LIB file from a DEF file for a DLL
    By JMPACS in forum C++ Programming
    Replies: 0
    Last Post: 08-02-2003, 08:19 PM
  4. Hmm....help me take a look at this: File Encryptor
    By heljy in forum C Programming
    Replies: 3
    Last Post: 03-23-2002, 09:57 AM
  5. Need a suggestion on a school project..
    By Screwz Luse in forum C Programming
    Replies: 5
    Last Post: 11-27-2001, 01:58 AM

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