COM object support

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
mk-soft
Always Here
Always Here
Posts: 6209
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: COM object support

Post by mk-soft »

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)
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Post Reply