Questions tagged [dllregistration]
171 questions
9
votes
1 answer
What does RegAsm really do? Where are files copied?
We have a plugin for IE based on spicIE, the purpose is to connect to some external devices.
To connect to those external devices, another company developed their token & DLLs. We need to have some ActiveX's and DLL's to do authentication by…

ahmad molaie
- 1,512
- 2
- 21
- 41
8
votes
5 answers
Access a custom .NET DLL in VBScript
I wrote a DLL in .NET and I want to access it in VBScript. I don't want to add it to the assembly directory.
Is there a way to point too the DLL and create an instance of it?

Donny V.
- 22,248
- 13
- 65
- 79
7
votes
2 answers
How to Register a Type Library without RegAsm.exe
I want to know if it's possible to register a type library without using the RegAsm tool. Here is my situation, which will hopefully explain why I want to do this:
I'm developing an assembly in .NET that will provide some modern functionality for…

Kyle Gagnet
- 2,294
- 2
- 20
- 27
7
votes
2 answers
Register DLL/OCX in InnoSetup
I have a DLL and OCX pack then I've decided to make an installer.
This is what I have:
ArchitecturesInstallIn64BitMode=x64
[Files]
Source: {syswow64}\*; DestDir: {syswow64}; Flags: onlyifdoesntexist
Source: {sys}\*; DestDir: {sys}; Flags:…

ElektroStudios
- 19,105
- 33
- 200
- 417
5
votes
4 answers
MSI register dll - Self-Registration considered harmful
I have a .NET winform application that requires to register a native dll during installation. My question is how can I register a dll (regsvr32 ABC.dll) as part of MSI installion process? Similary how can I un-register a dll as part of…

Silverlight Student
- 3,968
- 10
- 37
- 53
5
votes
4 answers
Unable to register dll using regsvr32
My project generates a dll and when build in Debug mode the dll gets registered automatically by Visual Studio 2005. But when I try to register the same dll in command prompt using "regsvr32" I'm unable to register. I get the following error,
The…

SyncMaster
- 9,754
- 34
- 94
- 137
5
votes
2 answers
Tracking down slow managed DLL loading
I am faced with the following issue and at this point I feel like I'm severely lacking some sort of tool, I just don't know what that tool is, or what exactly it should be doing.
Here is the setup:
I have a 3rd party DLL that has to be registered in…

Alex K
- 10,835
- 8
- 29
- 34
5
votes
1 answer
Implementing the DllRegisterServer method
I'm trying to implement a COM's DllRegisterServer method.
So I read this tutorial:
http://www.codeguru.com/cpp/com-tech/activex/tutorials/article.php/c5567/Step-by-Step-COM-Tutorial.htm
and I followed the steps until the part of…

Idov
- 5,006
- 17
- 69
- 106
4
votes
2 answers
What's the best way to secure dll files
We have a large application build in C++ builder, that at startup looks at a folder and loads all the present dll files. I figured this might not be such a good thing and tried my thoughts by creating a dll that only fired up a web browser and…

inquam
- 12,664
- 15
- 61
- 101
4
votes
2 answers
How do I step through a referenced assembly in Visual Studio?
I have a referenced assembly that keeps failing when I call it. I have the source for this assembly in a large project, Project A. I've compiled it and have been using it in Project B. Unfortunately Project B keeps failing and the stack trace shows…

chum of chance
- 6,200
- 10
- 46
- 74
4
votes
1 answer
Postgres ODBC Drive scripted Install
I am trying to script an install for the Postgres ODBC Driver as part of my application's installer. PG gives a great msi but I don't want it to pop up as part of my install. All they say about using the dll's is "Only use this distribution if you…

Ron H
- 248
- 4
- 15
4
votes
2 answers
How to register a 32-bit .DLL COM+ application on Windows 2008 R2
I have read through all the similar questions but am not finding my exact problem answered. I have tried all the similar recommendations.
I am forced to migrate from a Windows Server 2003 environment to a Windows Server 2008 R2 environment running…

user1507674
- 41
- 1
- 1
- 2
3
votes
3 answers
Unable to register dll using regsvr32:The module "*.dll" failed to load
There is a similar question from stackoverflow. But I didn't find that the answer is helpful. I also used Google searched the websites, I have watched here and here.
I have tried the method they told to solve this problem but not got a satisfied…

viperchaos
- 395
- 1
- 4
- 15
3
votes
3 answers
Not able to register my 64bit dll through nsis script ?
I have a 64bit dll which i'm able to register from command prompt with regsvr32. But the problem is when i try to register my dll through nsis script its not registered. I used RegDLL command in nsis script. Anyone knows what the problem may be?

surendran
- 478
- 1
- 8
- 19
3
votes
2 answers
Unregistering a COM dll using regsvr32
I've registered a COM dll using the regsvr32 command and I forgot the exact location of the assembly from where I did it. Now I'm facing trouble to unregister the dll. How I can unregister it? I tried using the /u switch from other locations of the…

VJAI
- 32,167
- 23
- 102
- 164