1
vote
2answers
282 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 ...
-1
votes
1answer
147 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 ...
3
votes
1answer
509 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 ...
2
votes
2answers
458 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 ...
2
votes
2answers
1k 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 ...
3
votes
1answer
4k 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 ...
4
votes
5answers
6k 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 ...