Questions tagged [dll]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
164 views

Porting a 32-bit Win32 DLL driver to 64-bit when a 64-bit DLL is unavailable in C++

I have a legacy 32-bit Win32 DLL driver that interfaces with a test equipment. I possess the API header file for this driver, and I dynamically load the DLL at runtime within my C++ test application ...
Cem Polat's user avatar
  • 127
8 votes
9 answers
809 views

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 ...
Kári Harðarson's user avatar
-3 votes
1 answer
98 views

How do I find out all modifications made by installing software? [closed]

So I want to find out how to get a list of all modifications made by installing a piece of software. For example. If I install Word, I want to see all directories created, classes registered, dlls, ...
lakersfan's user avatar
5 votes
2 answers
2k views

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 ...
Giulio Caccin's user avatar
3 votes
1 answer
245 views

Distributing library which internally using COM library

I would like to create a dll library that will be loading in runtime. The library'll be using internally COM objects with MTA flag. The library will be created in main thread. So I have question: ...
pbieguszewski's user avatar
1 vote
2 answers
2k views

How can I make dll that can be called from several programing languages?

As of right now I am building authentication library for let's say programing site(It needs to be included in the program). The problem is that there several languages are used and I want to make ...
user avatar
0 votes
1 answer
385 views

Multiple DLLs vs Multiple EXE's in a project that needs to be modular (web browsing automation)

First of all, C# solutions are needed. So in my team I am responsible for creating a program that will receive a "task" in json format from an API, from this json it needs to figure out what website ...
Joao Vitor's user avatar
3 votes
1 answer
505 views

Securing cross DLL references within an Application

I am developing a. NET application. One of my DLLs manages all the security (data encryption, license management, etc). I was wondering if someone could somehow substitute this DLL file with one of ...
Ama's user avatar
  • 247
-1 votes
1 answer
197 views

Is it a good idea to make common Electron libraries available globally on Windows? [closed]

I build and run many Electron apps on Windows. I noticed that all of them have the same common api files / libraries to run. They all take about 30mb of space. I'm thinking of installing these files ...
sigmaxf's user avatar
  • 119
7 votes
2 answers
441 views

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 -...
Stephan Fuhlendorff's user avatar
0 votes
1 answer
263 views

What are the dangers/downside of unit tested dynamic library(DLL) being different from released library?

This is similar to: https://stackoverflow.com/questions/1278831/unit-tests-in-production-release-code# but more specific. At the moment the DLL I ship and the DLL I use for unit testing have ...
legokangpalla's user avatar
1 vote
2 answers
2k views

How to hide the dependencies of a dll from the code calling it?

I have a class library that calls dll_A. dll_A has dependencies on WPF. How to I wrap or isolate my class library so that the code calling my library does not need to have a dependency on WPF? (...
DefenestrationDay's user avatar
2 votes
1 answer
160 views

Organizing code to minimize repetition and external references

I am struggling with how to organize external references in a C# program in order to minimize code repetition. I have application "A1" for which I want to use Microsoft's Unity IoC/Dependency ...
Peter M's user avatar
  • 2,029
1 vote
2 answers
224 views

Extracting data from third party program i.e. craft an unofficial API

If got a native application which adds value by for instance analyzing measurement data from measurement programs. Some of them have an API, so I can get their data via IPC. But how can I achieve this ...
Superlokkus's user avatar
4 votes
1 answer
6k views

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 ...
nak's user avatar
  • 153
2 votes
2 answers
4k views

Can I really make python work with VBA

I'm a heavy VBA user that when has the chance to do a little project in python it's like going from hell to haven when it comes to programming itself. Still, I know that my users want reports in excel ...
BuckTurgidson's user avatar
2 votes
1 answer
231 views

Explicitly mark unexported functions in a DLL?

When writing an unmanaged Win32 DLL that exports functions, it's not uncommon to have some functions, variables and/or classes that aren't meant to be exported and are only for internal use within the ...
Govind Parmar's user avatar
1 vote
1 answer
86 views

Encapsulate common application libraries into a single library project

My company is planning to integrate 3 in-house libraries into all of our applications (with possibly more on the way), and I'm wondering what the best way to go about this would be. My initial ...
Rolan's user avatar
  • 273
1 vote
1 answer
84 views

Security error on asp.net system after deployment of bug fix dll [closed]

I (recently inherited) a asp.net web application in production. After fixing a generic bug in the area of making a table selection - we have a problem regarding security policies not allowing access ...
Harriet's user avatar
  • 139
4 votes
6 answers
378 views

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 ...
Coder's user avatar
  • 93
3 votes
2 answers
784 views

Why use dynamic linking for less-popular libraries?

I know the difference between static and dynamic linking. I know why the notion of a library is important. And I even know why you'd want to link something like OpenGL, platform-specific APIs, or ...
JesseTG's user avatar
  • 657
0 votes
1 answer
278 views

Usage of class libraries (dlls) - Reference or copy source

I'm working on a big project for the first time and right now I'm using 15 dll's from different sources. Having all these dll's in my output directory together with my .exe is "polluting" that folder ...
Krowi's user avatar
  • 157
38 votes
6 answers
16k views

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 ...
Bartosz's user avatar
  • 597
2 votes
2 answers
4k views

Integrate C++ DLL with C# GUI asynchronously (design issue)

This is more a design than an implementation question. I am aware of how to integrate a C++ DLL within a C# main app that acts as GUI. Believe me that I've read all other questions on similar topics, ...
karakol's user avatar
  • 55
3 votes
1 answer
1k views

Does Microsoft still have C++ container limitations when passing to DLLs? [duplicate]

Microsoft has had a fair amount of trouble in the past when passing STL containers like string and vector pointers and references to DLLs. See, for example, You may experience an access violation when ...
user avatar
6 votes
2 answers
24k views

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 ...
Onno's user avatar
  • 1,523
0 votes
1 answer
5k views

How to catch DllNotFoundException in C#? [closed]

this question in my opinion straightforward. How can I catch an DllNotFoundException in C# as it is just an attribute to some methods use like this: [DllImport("NativeLib.dll")] private static ...
LaVolpe's user avatar
  • 213
4 votes
3 answers
510 views

Organization of DLL linked functions

This is a code organization question. I got my basic code working but when I expand it, it will be terrible. I have a DLL which I don't have a .lib for. Therefore I have to use the whole LoadLibrary()...
m25's user avatar
  • 153
8 votes
1 answer
5k views

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 ...
boucekv's user avatar
  • 401
3 votes
2 answers
2k views

Worried about memory leak in DLL that creates a dynamic sized array

I have a wrapper DLL that interfaces to another DLL that contains the following function: char * Foobar(void) { // BLAH is the function from the DLL this wrapper interfaces too char *array =...
zacharoni16's user avatar
5 votes
4 answers
2k views

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 ...
Nayana Adassuriya's user avatar
3 votes
3 answers
488 views

Partitioning code into assemblies for the sake of logical seperation

I've started working at this company, and the software is managed in a Visual Studio solution that includes hundreds of projects (C++ and C#). After poking around the solution for couple of weeks, I ...
moranlf's user avatar
  • 205
1 vote
1 answer
340 views

Sharing dlls in a software deployment

We are moving our software project from the practically auto-creating Visual Studio Installer in Visual Studio 2010 to a WiX installer. I'd like to use this change to make sure things are right. The ...
TomDestry's user avatar
  • 133
1 vote
1 answer
284 views

Program modules separated in different DLLs

We have an existing ERP system written in VB 6 that we are converting to .Net incrementally. Now, every module in the system is being separated into DLLs so that the product becomes customizable and ...
whastupduck's user avatar
6 votes
2 answers
2k views

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,...
user2093082's user avatar
2 votes
2 answers
1k views

Restrictions Calling DLLs Across Technologies?

I want to call a DLL in my programming language of 'choice'. The documentation surrounding this clearly states that it must be a 32-bit DLL written in C, C++ or Delphi. But I wanted to call a DLL ...
Tom Tom's user avatar
  • 419
4 votes
2 answers
6k views

should I be putting database connections into a class library?

This might be a stupid question but I've never created a class library before The reason I don't want to be connecting to a database through the class library is error handling.. should I just leave ...
Alex's user avatar
  • 143
3 votes
1 answer
10k views

Communication between a C# application and C++ DLL

I am currently building an audio streamer and I have a CPP .dll that I use functions of inside the WPF C# GUI. The program needs to deal with sorts of events such as Lower/Increase Volume Manipulate ...
user66141's user avatar
-1 votes
2 answers
885 views

GPLv2 - Multiple AI chess engines to bypass GPL

I have gone through a number of GPL-related questions, the most recent being this one: https://stackoverflow.com/questions/3248823/legal-question-about-the-gpl-license-net-dlls/3249001#3249001 I'm ...
Cloud's user avatar
  • 125
3 votes
3 answers
3k views

How to update dependency during runtime in my .NET application?

I have a server-client application. Sometimes the server is updated which requires some DLLs in the client to be updated as well (The DLLs are the dependencies of the main executable). For now, we ...
Louis Rhys's user avatar
  • 6,112
4 votes
2 answers
414 views

Memory concerns while plotting escape from DLL Hell in Delphi [closed]

I work on a program with about 50 DLLs that are loaded from one executable, it's an old organically grown program where the only rationale for creating a new DLL is that one previously didn't exist to ...
Peter Turner's user avatar
  • 6,897
15 votes
2 answers
13k views

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 ...
johannes's user avatar
  • 3,601
4 votes
1 answer
432 views

What should developers know about Windows executable binary file compression?

I'd never heard of this before, so shame on me, but programs like UPX can compress my files by 80% which is totally sweet, but I have no idea what the the disadvantages are in doing this. Or even ...
Peter Turner's user avatar
  • 6,897
4 votes
1 answer
2k views

Build a native dll or .net dll to be used independently in either set-up

Here's a simple question (kind of), but I'm having a hard time taking a decision. First, a history on how I came to have this problem. In my new job, we need to use a third party API to communicate ...
Shuryno's user avatar
  • 143
2 votes
4 answers
5k views

Computation Program Not Running at 100% CPU Utilization

I have a program which has a GUI and performs some very heavy mathematical computations for a couple of minutes and then outputs a result. When I try to directly interface it through its DLL's, it ...
jn1kk's user avatar
  • 155
10 votes
5 answers
41k views

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 ...
Shamim Hafiz - MSFT's user avatar
5 votes
2 answers
2k views

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 ...
cemulate's user avatar
  • 215
2 votes
2 answers
338 views

GPL: terms of license

I'd like to use the VLC's DLL in one of my programs. VLC is under the GPL license. Do I have to redistribute all the sources under GPL or can I redistribute only the modified sources of VLC under ...
user avatar
5 votes
1 answer
358 views

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 ...
Peter Turner's user avatar
  • 6,897
15 votes
10 answers
3k views

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, (...
Sarfaraz Nawaz's user avatar