Results 1 to 9 of 9

Thread: Do I need to register a .dll file?

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2000
    Location
    U.S.A.
    Posts
    50

    Do I need to register a .dll file?

    I am working on my installation package for my program. How do I know which .dll files I need to register and which ones can I just simply copy to the client computer?

    thanks in advance!

    D. King

  2. #2
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    don't u have an installare app to take care of it?

    I use Wise, and it figure this out on its own. (don't know how it does this )

    u can find out this way :

    on u'r dev. computer, use Regsvr32.exe with the dll in question as a parameter. If it returns an error, the dll is not to be registered, if it say Reg succeded it should be registered.
    -= a peet post =-

  3. #3

    Thread Starter
    Member
    Join Date
    Mar 2000
    Location
    U.S.A.
    Posts
    50
    thanks , but I was looking for a list or other method without having to depend on the trial and error stuff

    D. King

  4. #4
    AIS_DK
    Guest
    If I recall correctly (at least under win2k/XP) DLL's placed in the system32 directory are registrated automatically during start-up.

    You can't really make a list, since it would require that every developer, who has ever createde a DLL contributed to this list.

    In general though, I would just registrate the DLL's since most DLL's is created with the interface required for registration.

    Just my two cents.

  5. #5
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    Originally posted by DKing86
    thanks , but I was looking for a list or other method without having to depend on the trial and error stuff

    D. King
    u use the trial and error methode once, then u have u'r list...
    -= a peet post =-

  6. #6
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Wouldn't all DLLs used for VB need to be registered?

  7. #7
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Brooklyn NY USA
    Posts
    1,258
    If you put it in the app folder or in the system directory it does not have to be registered. if not it does have to be registered. Must dll's can be registered with regsvr32

  8. #8
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Use the Depends utility that comes VC++ - if the DLL exports functions named "DLLRegisterServer", "DLLUnRegisterServer", etc. then its an ActiveX DLL that needs to be registered.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  9. #9

    Thread Starter
    Member
    Join Date
    Mar 2000
    Location
    U.S.A.
    Posts
    50
    Thanks JoshT I'll do that. I knew there had to be an easier way.

    D. King

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width