Page 1 of 1

Web service for C# dll

PostPosted: February 13th, 2009, 9:16 am
by donald_abbot
Does anyone have an example of setting up a web service of a C# dll. I have been through the example of a C dll in the documentation but I do not know how to extrapolate this to C#. For example:

1. What should the namespace be called?
2. How does one identify the class and the method to be called?
3. Are the names used in the dataview important? If so, how?

Thanks in advance

PostPosted: February 13th, 2009, 3:24 pm
by BrianReynolds
Hi Donald,

Our DLL driver uses the LoadLibrary and GetProcAddress methods to load and call the DLL specified. Due to the makeup of C# DLLs, I don't believe these methods are usuable.

Looking around on message boards, I have seen people mention using COM objects as an intermediary to glue these together.

For example : http://social.msdn.microsoft.com/Forums ... 78cf230e3/

But unfortunately I've never tried this, and my COM knowledge is minimal