Right Gents, I need some help.
We provide a Windows program that runs as a service and exchanges messages between local clients and a central system.
We provide a .h, .lib and a .dll to developers so they can get their programs to exchange messages with our service.
Usually this isn't a problem for our clients because calling our functions from C, C++ or Visual Basic is easy.
Unfortnately, we now have a client who is using a third party product that appears to insist on external code being OLE compliant.
My experience of OLE is limited to its precursor DDE so I'm currently looking for the odd external spark of inspiration.
At the moment I'm not interested in how we might provide something - I want to keep our work to a minimum - so its there a way of jacketing traditional dll based functions so they are OLE compliant.
Also, could someone provide me with a code snippet to show how to call a dll hosted C function from C#. We have a pre-C# version of Visual Studio so I can't check it myself.
Any pointers (not references ) would be useful.
Thanks in anticipation.
We provide a Windows program that runs as a service and exchanges messages between local clients and a central system.
We provide a .h, .lib and a .dll to developers so they can get their programs to exchange messages with our service.
Usually this isn't a problem for our clients because calling our functions from C, C++ or Visual Basic is easy.
Unfortnately, we now have a client who is using a third party product that appears to insist on external code being OLE compliant.
My experience of OLE is limited to its precursor DDE so I'm currently looking for the odd external spark of inspiration.
At the moment I'm not interested in how we might provide something - I want to keep our work to a minimum - so its there a way of jacketing traditional dll based functions so they are OLE compliant.
Also, could someone provide me with a code snippet to show how to call a dll hosted C function from C#. We have a pre-C# version of Visual Studio so I can't check it myself.
Any pointers (not references ) would be useful.
Thanks in anticipation.
Comment