Be Brave to Get Work Done - I was woken up this morning from a call from work. Not a good sign. Apparently the customer found a potential problem in our delivery. I got on a conferen...
Now I found all the information I needed to pass across DLLs. These natrually became paramters to the interface function. This is a C language interface. So I made sure the types were known to C. All good right? Well I looked around and found the other DLL entry points wrapped all the paramters up into a structure.
I guess this is some kind of object oriented C. But what is the benefit? You pass a pointer to a structure. Then the code that gets called needs to dig into that structure to extract the paramters. I don't think we are gaining much here. Sometimes you have to ask yourself why?