Relative Content

Tag Archive for dependency-management

How to avoid binary dependency on size change

class A { public: int i; }; // A.h and defined in project libA.vcxproj (libA.dll) I’m using class A in multiple places at various projects as below. Apporoximately 100 projects. include “A.h” class UseA { public: A *a; UseA(){ a = new A(); } ~UseA() {delete a;} } My problem is whenever I add a […]

How to avoid binary dependency on size change

class A { public: int i; }; // A.h and defined in project libA.vcxproj (libA.dll) I’m using class A in multiple places at various projects as below. Apporoximately 100 projects. include “A.h” class UseA { public: A *a; UseA(){ a = new A(); } ~UseA() {delete a;} } My problem is whenever I add a […]

How to avoid binary dependency on size change

class A { public: int i; }; // A.h and defined in project libA.vcxproj (libA.dll) I’m using class A in multiple places at various projects as below. Apporoximately 100 projects. include “A.h” class UseA { public: A *a; UseA(){ a = new A(); } ~UseA() {delete a;} } My problem is whenever I add a […]

C# dynamically linking different libraries and/or external classes

tl;dr Is it possible to include an external library (and create instances of objects represented within that library) based on some condition? This must be done at compile-time, so separate builds? Background information Warning: Wall of text. If I have some code that requires a link to an external class: using myExternalLibrary; namespace myNamespace { […]

C# dynamically linking different libraries and/or external classes

tl;dr Is it possible to include an external library (and create instances of objects represented within that library) based on some condition? This must be done at compile-time, so separate builds? Background information Warning: Wall of text. If I have some code that requires a link to an external class: using myExternalLibrary; namespace myNamespace { […]

C# dynamically linking different libraries and/or external classes

tl;dr Is it possible to include an external library (and create instances of objects represented within that library) based on some condition? This must be done at compile-time, so separate builds? Background information Warning: Wall of text. If I have some code that requires a link to an external class: using myExternalLibrary; namespace myNamespace { […]

C# dynamically linking different libraries and/or external classes

tl;dr Is it possible to include an external library (and create instances of objects represented within that library) based on some condition? This must be done at compile-time, so separate builds? Background information Warning: Wall of text. If I have some code that requires a link to an external class: using myExternalLibrary; namespace myNamespace { […]

C# dynamically linking different libraries and/or external classes

tl;dr Is it possible to include an external library (and create instances of objects represented within that library) based on some condition? This must be done at compile-time, so separate builds? Background information Warning: Wall of text. If I have some code that requires a link to an external class: using myExternalLibrary; namespace myNamespace { […]

Reducing Coupling in a Series of Tasks

I am working on some code right now that involves processing user requests. Each request requires going through an approval. When a request is made, one or more records are created on the database recording what the request entails. Then a ticket is created and placed on the approver’s work queue.