borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (How to import the dll in VC++ using import keyword)Next Topic (vbscript code & ASP) New Topic New Poll Post Reply
AndreaVB Forum : ActiveX : Registering DLL files via setup
Poster Message
Gharakhanlou
Level: Scholar

Registered: 30-04-2005
Posts: 40

icon Registering DLL files via setup

hi for every one especially for goran

first  does every dll files need for register to work with app.

and how dll files regester in installind a package

for example in install shield when we add dll files in system folder duruing installation does them register or we should do other things.
and how application know their after installation where they installed

thanks more


20-05-2005 at 01:20 PM
View Profile Send Email to User Show All Posts | Quote Reply
Goran
Level: Moderator

Registered: 16-05-2002
Posts: 1681
icon Re: Registering DLL files via setup

quote:
first  does every dll files need for register to work with app


No, it doesnt. If you receive an error like 'Failed to register... dll entry point was not found', then it means that dll doesnt need to be registered.

quote:
and how dll files regester in installind a package


depends on the installer... for instance, with Visual Studio Installer (VSI) you can set property Register to vsrSelfRegister, which will during the installation automatically register this file. I beliebe that Install shield also has this feature, so you just need to explore it a little.

quote:
and how application know their after installation where they installed


Application first searches for the dll in its folder, and if it doesnt find it, it then searches in System (win9x) or System32 (Windows NT) directory. If you create your own dll, which will be used only by your application, then you can put it in your application folder without any worries. the good practice when distributing application is to put dll(s) in the same location(s) where you find it (them) on your OS.

____________________________
If you find the answer helpful, please mark this topic as solved.
21-05-2005 at 06:55 PM
View Profile Send Email to User Show All Posts | Quote Reply
ryansanders2002
Level: Big Cheese

Registered: 26-10-2004
Posts: 21
icon Re: Registering DLL files via setup

For easy dll registering.. try INNO Setup COmpiler (http://jrsoftware.org)

For each file you can set regserver flags. This will register a dll,ocx etc.

27-05-2005 at 11:23 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : ActiveX : Registering DLL files via setup
Previous Topic (How to import the dll in VC++ using import keyword)Next Topic (vbscript code & ASP) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder