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
Printable View
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
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. :)
thanks , but I was looking for a list or other method without having to depend on the trial and error stuff
D. King
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.
u use the trial and error methode once, then u have u'r list... :)Quote:
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
Wouldn't all DLLs used for VB need to be registered?
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
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.
Thanks JoshT I'll do that. I knew there had to be an easier way.
D. King