Using COM Objects from Max

BlitzMax Forums/BlitzMax Programming/Using COM Objects from Max

You have to 'comunicate' with the COM objetc in the same way you would do with a DLL, but you have to follow an specific protocol, you have to interact with the IDispatch of the Object and 'emulate' a container. You have to pass function pointer to let the COM object throw events (or event). and then interpret the info received by the COM. In fact, once the COM is registered in the container app. You have to deal basically only with one function, that uses only two parameters, the first one is the name of the 'logical' function to call, and the second one is an array with all the paramenters to pass to the 'logical' function.
What I mean is that a COM object has is just and interface and this interface can be managed from a Blitz Max application.