dll

Adding an item to Internet Explorer's right-click context menu

I'm trying to add a new entry into Internet Explorer's right-click context menu. I understand that this can be achieved by creating an HTML file containing JavaScript, and then linking to this from a location in the registry. I have also read that you can also add the HTML to a resource file and compile it into a DLL (see the Microsoft...

How can I embed a SQLite Database in a .NET DLL and then use it from C#?

Hi Girls and Guys! I'm currently working on some evaluation work for a project that I'm planning. I recently looked at solutions for a data storage mechanism for my application and while researching stumbled upon SQLite. I currently use SQLite with the System.Data.SQLite wrapper. I really like the way it works but I have one problem w...

Can I build 2 or more dlls from C# project in Visual Studio 2008?

Because I'm working on Creating RIA Framework with Silverlight & C#. So I need to use rich features of Silverlight such as dynamic loading. But I found that Visual Studio will merge all class library(same namespace or difference namespace) into one dll. Do you have any idea to build 2 or more dlls from C# project? I just create 1 projec...

Disadvantages and Advantages of separated projects/DLLs in .NET? How many of them are too much?

The question involves some other related questions, I'll just throw every single on of them feel free to answer one or many of them. What are the advantages of separating Projects/DLL? What are the disadvantages of separating Projects/DLL? If I create a new solution/DLL for every shareable resource, isn't going to be lots of projects? ...

DLL mess in .NET, how to split one solution to multiple DLLs?

I've got a big VS.NET project with 5-6 projects and one of these projects is the Core DLL. Now to add some plugin support I extracted an interface, however interface was required to use some other classes and the Core.dll needed the interface so I had to separate them. (I can't reference to each other) After this my day ruined because ...

LoadLibrary fails: First chance exception 0xC0000139 (DLL Not Found) - How to debug?

I have a dll "mytest.dll" that when loaded via LoadLibrary(), returns NULL (and 127 as the GetLastError()). If I use DependencyWalker on "mytest.dll", it reports that it should load correctly and that all DLLs are found correctly. Running the profiler option of DependencyWalker on the host exe gives me this relevant section in the log:...

How to idenfiy if the DLL is Debug or Release build (in .NET)

I'm sure this has been asked before, but google and SO search failed me. How can I identify if a DLL is a release build or debug build? ...

Can I separate a big dll into 1 dll per class?

From Can I build 2 or more dlls from C# project in Visual Studio 2008?, I have another idea to create only 1 big project. After that, I separate a project dll(that contains many classes.) into 1 dll per class by using post-build event to call Win app project(for separate a big dll). How to do this? Moreover, I need to manage attached fi...

general purpose util library or multiple specific dlls?

Is it a better idea to dump 'utility' classes that are shared by multiple projects into a single utilities library, or to create many small assemblies each of which has to be loaded by the projects that use them? I don't really like the idea of utility libraries, and you get a total mish-mash of functionality, but on the other hand havi...

How to debug regsvr32 post-compile DLL registration exception?

I'm using Visual Studio 2008 (on Windows 2003 Server / 32 bit) to compile a library and after the DLL is produced the "Custom Build Step" -> "General" executes a command line: regsvr32 /s /c "($TargetPath)" which generates the exception: An unhandled win32 exception occurred in regsvr32.exe [212]. This throws up a debug sessi...

Problem starting program with a dll embedded as a resource

I've done About.com guide to embedding dll's in Delphi EXE's which seems to work, so long as I don't actually use the DLL as an external function. Is there anyway to get the code I linked to to work earlier than an unit referenced in the uses clause. I've tried: Doing exactly what this code says. Placing this code in the initializati...

How to protect dlls?

Hello, How do I protect the dlls of my project in such a way that they cannot be referenced and used by other people? Thanks ...

How to change the loading path of references in .NET?

I want a setup like this: +- /ApplicationFolder -- App.exe -- Core.dll -- AnotherShared.dll +- /PluginsFolder -- plugin1.dll -- plugin2.dll But because plugin1.dll references to Core.dll and Shared.dll when I compile the application it drops a copy of "Copy.dll" and "Shared.dll" to plugins folder as well and if I remov...

How can I set PrivateBinPath in MEF?

How can I set PrivateBinPath in MEF? This is what I'm trying to do : http://stackoverflow.com/questions/806383/how-to-change-the-loading-path-of-references-in-net ...

What breaks a .net binary (dll) interface

Consider two .net dlls. The first, "application.dll" contains the main business logic and data access code. The second, "webservice.dll" consists mostly of WebMethods that link to objects and methods with application.dll for the purpose of providing webservice calls to existing code. What changes (e.g. add new classes, add a new field o...

DCOMCNFG Question...

Hello, I have a COM DLL that I registered via RegSvr32 but it does not show up in DComCnfg. Any help as to why? I think I am missing a few registry keys, but I do not understand why I would, i thought RegSvr32 did that for me. Thanks for any help. ...

DLL References in Visual C++

I am a C# developer who has decided to pursue a C++ project. I have had C++ experience but not MSVC. What I am trying to do is incorporate a .dll from an open source project into my project. The code is available and I have built it. I have the .dll as well as the .lib which as I understand it is required for C++ projects. Now unfortun...

C++ How to compile dll in a .exe

I am creating a c++ program, but I want to be able to offer just a .exe file to the user. However, I am using libraries (curl among others) which have some dll's. Is it possible to compile these dll's into the .exe file? I use Code::Blocks and mingw. ...

1 Dimensional Nesting

Does anybody have an effective Delphi software solution for nesting 1 dimensional lengths into predefined stock lengths? ...

Why does vs2008 express shows me the source code for another dll Project?

Hi guys, i'm totally new to .net especially with c# 3.0 and i'm working on an access database wrapper application because we need to protect the password and content of the database from being directly accessed by a third party developer. I'm currently testing to write a simple client app to trigger the functions in the dll and to my su...