Questions tagged [dllregistration]

169 questions
6
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,164
  • 1
  • 18
  • 25
6
votes
1 answer

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
  • 17,150
  • 31
  • 162
  • 376
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…
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
  • 9,835
  • 7
  • 23
  • 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
  • 4,638
  • 11
  • 60
  • 98
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
  • 5,800
  • 9
  • 38
  • 72
4
votes
3 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
  • 8,624
  • 29
  • 84
  • 124
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
  • 3
  • 14
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
2 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…
3
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
  • 11,960
  • 14
  • 53
  • 95
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
  • 470
  • 1
  • 8
  • 18
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
  • 29,899
  • 20
  • 93
  • 155
3
votes
2 answers

Call function in VB.Net DLL without registering the DLL

Is it possible to call a function in a VB.Net dll without having registered the dll file? I need to call it from ASP Classic on shared hosting web server.
HK1
  • 10,854
  • 12
  • 60
  • 95
3
votes
1 answer

adding a new component and what is Interop.dll file?

I add a component to my project and now in ..\bin\Debug folder this file is added:Interop.t1.dll. i want to make setup file for my project ,because of Interop file that is created in ..\bin\Debug ,i don't need be worry about registering the…
Farna
  • 1,135
  • 6
  • 26
  • 45
1
2
3
11 12