How to define the middle level in C#?

  • Thread starter Thread starter Stan Huang at Taiwan
  • Start date Start date
S

Stan Huang at Taiwan

Guest
We've been developing some applications about vision. We have several 3rd parties who provide their vision agents or libraries to be called by our applications. It's not good if the applications call 3rd parties' libraries directly. The drawback of such approach is that if we'd like to develop M applications based on N 3rd-parties, then we must develop (M x N) programs. That's too troublesome. Instead, we'd like to define a middle layer containing standard function templates. Then, for each 3rd-party's library, we'd develop one implementation of that middle layer.

In C, I know how to do it well: defining a header file including specification of all functions, implementing a C file for each 3rd-party library and then build each application by linking different object file (according to C file) for different 3rd-party.


How can I do it in VC#?

Continue reading...
 
Back
Top