Re: COM object support
Posted: Sat Jun 24, 2023 5:21 pm
ComObject is object-oriented programming and therefore the rules must be strictly adhered to.
With VB6 it was all very easy. Or with VB-Script. With VB.Net it became more complex to use com objects (I didn't want to deal with .net and used com objects with PB).
With COMate its late binding. But early binding is also possible. Here too, many interfaces are already declared in Purebasic. See Structure Viewer.
With this, however, one must certainly also deal with the variables Type Variant and B-Str. But everything works.
I haven't used early binding for a long time. (Most recently with the ActiveScript module)
With VB6 it was all very easy. Or with VB-Script. With VB.Net it became more complex to use com objects (I didn't want to deal with .net and used com objects with PB).
With COMate its late binding. But early binding is also possible. Here too, many interfaces are already declared in Purebasic. See Structure Viewer.
With this, however, one must certainly also deal with the variables Type Variant and B-Str. But everything works.
I haven't used early binding for a long time. (Most recently with the ActiveScript module)