Questions tagged [dll]

49 questions
38
votes
6 answers

Advantages of using .dll files over linking .cs files to projects (for my own generic helper classes / extension methods)

I have a helper project which I use in all the applications that I create. It contains some extension methods and a bunch of generic helper classes, controls etc. I update/extend the helper project from time to time. These are usually small and…
Bartosz
  • 597
  • 1
  • 5
  • 11
15
votes
10 answers

C++ : Lack of Standardization at the Binary Level

Why ISO/ANSI didn't standardize C++ at the binary level? There are many portability issues with C++, which is only because of lack of it's standardization at the binary level. Don Box writes, (quoting from his book Essential COM, chapter COM As A…
Nawaz
  • 1,515
  • 1
  • 12
  • 22
15
votes
2 answers

C++ Library API Design

I'm looking for a good resource for learning about good API design for C++ libraries, looking at shared objects/dlls etc. There are many resources on writing nice APIs, nice classes, templates and so on at source level, but barely anything about…
johannes
  • 3,601
  • 2
  • 26
  • 32
10
votes
5 answers

Is it possible for two DLLs to conflict , preventing solution to build

Though I have a specific case, but I was wondering about the general situation. Can two DLLs, when added as Reference to a Visual C# project collide with each other to prevent the solution from building? If this is the case, what are the possible…
Shamim Hafiz - MSFT
  • 4,123
  • 7
  • 38
  • 46
8
votes
9 answers

Would we need Docker if applications were better behaved?

A well-written program will be configurable. It will have a configuration file or database which specifies where to look for files, which network ports to open etc. An Operating System lets many programs run together at the same time. It can…
8
votes
1 answer

Why are strong names optional?

Why the c# allows project not to be strongly signed when they are build? They may be signed by some automatic name file if programmer do not choose his(hers) own sign file. Where is the advantage of not signed .dll file? What the strong names are? I…
boucekv
  • 401
  • 1
  • 5
  • 11
7
votes
2 answers

Implementing new project to communicate with old ones. The correct way

I'm not sure if this is the right place to post this (I'm fairly new, but Stackoverflow and Superuser suggested this site for my question), but here goes. I currently have the following: A frontend - made with WPF A Dll An IO-server -…
6
votes
2 answers

C# inherit from a class in a different DLL

I need to make an application that needs to be highly modular and that can easily be expanded with new functionality. I've thought up a design where I have a main window and a list of actions that are implemented using a strategy pattern. I'd like…
Onno
  • 1,523
  • 1
  • 12
  • 18
6
votes
2 answers

LGPL, .lib, .dll, and linking

I am trying to build a project which uses an unmodified copy of libconfig (http://www.hyperrealm.com/libconfig/). libconfig is LGPL, but I don't want to open source any of my code. By my understanding, LGPL means I need to provide the source for the…
user2093082
  • 171
  • 3
5
votes
2 answers

Managing DLL files, deployment, and ease of use for the end user

I've been thinking recently about being an end-user who wishes to download one of my own projects and use it on a perfectly average machine. Having an equal background in Unix as well as Windows, I know that package management on Unix makes it FAR…
cemulate
  • 215
  • 1
  • 6
5
votes
1 answer

DLL Hierarchy issues

I want to preface this by saying "I love my job and I want to stay here" But I've got a serious problem, Circularly linked DLL's (DLL's linked back to the EXE) Special builds with conditional defines to get rid of the links when the EXE doesn't…
Peter Turner
  • 6,897
  • 1
  • 33
  • 57
5
votes
2 answers

Should a solution containing projects exposed as nuget reference them as package?

Scaling down for the sake of the example, my project is structured like this: solution X project A project B Project A is exposed as nuget packages externally, project B need the functionality provided by project A. Those projects are…
5
votes
4 answers

What is the proper aproach of Subversion when using DLL

Background: Our team develops a solution and it includes a number of projects. Most of the projects are built as DLLs and those DLLs are used by the rest of the projects. Currently we uses Subversion for our code management and I ask others to…
Nayana Adassuriya
  • 463
  • 2
  • 4
  • 10
4
votes
1 answer

Choosing between Web API and DLL reference

I am confused between choosing Web API or DLL reference for a project I am working on and want to understand recommendations for both the approach. We are having a Web API which exposes an interface for the business logic(BL). We are using HTTP…
nak
  • 153
  • 1
  • 7
4
votes
6 answers

Sharing database interface functionality among multiple applications

I am currently refactoring some old code and I am facing some architectural problems. Currently 3 applications are working with the same Database (as follows): Content inserted by user Content moderated by a team Content listed by a website Each…
Coder
  • 93
  • 6
1
2 3 4